AI-powered precision algorithms for knitting and crochet enthusiasts. StitchMath leverages intelligent math models and Llama 3-powered AI diagnostics to solve complex garment construction problems, yarn substitutions, and gauge conversions with 100% accuracy.
Access the full suite of tools and the AI Optimizer live at:
👉 https://stitchmath.com/
For a comprehensive breakdown of the mathematics behind garment shaping and our AI-driven optimization logic, visit our documentation on Telegraph:
📘 AI-Driven Knitting & Crochet Toolkit: Precision Math for Pattern Designers
- 🤖 AI-Powered Craft Advisor: Integrated Llama 3 (Meta) model to provide instant answers for complex pattern logic and yarn selection.
- 📐 Intelligent Increase/Decrease Calculator: Uses a "Spread-Evenly" algorithm to distribute stitch changes perfectly across a row.
- 🧶 Smart Yarn Substitution: Calculates yardage and weight differences based on WPI (Wraps Per Inch) data.
- 📏 Precision Gauge Converter: Adjusts pattern measurements instantly based on your unique tension swatch.
- 📱 Responsive AI UI: Fully optimized for mobile use in the middle of a knitting project.
- AI Engine: Meta Llama 3 (8B) hosted via Cloudflare Workers AI.
- Frontend: Vanilla JavaScript (ES6+), HTML5, CSS3.
- Logic: Custom mathematical models for textile geometry.
- Infrastructure: Cloudflare Pages & Workers for global low-latency access.
- index.html: Main AI toolkit dashboard & Llama 3 interface.
- styles/: Optimized CSS for tool interfaces & mobile-first design.
- scripts/: Core mathematical algorithms.
- calculators.js: Logic for increase/decrease/gauge.
- ai-worker.js: Interface for Cloudflare AI Model.
- main.js: UI interactions and state management.
- AI Assistant Integration: Real-time help via LLM (Live Now!).
- AI Pattern Generator: Generate full sweater patterns based on body measurements.
- Computer Vision: Use your phone's camera to count stitches/rows.
Contributions are welcome! If you have an idea for a new knitting algorithm or want to improve the AI logic, feel free to open an issue or submit a pull request.
Distributed under the MIT License. See LICENSE for more information.
Developed with ❤️ for the global crafting community by double2. Proudly featured on There's An AI For That.
