Skip to content

flowingcity777/Mosaic-Threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

117 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧡 Mosaic Threads

Transform personal images into simplified knitting patterns

Mosaic Threads is a web-based tool that converts uploaded images into knittable color grid patterns using curated yarn-inspired palettes.

✨ Features

πŸ–ΌοΈ Image Upload Upload JPG, PNG, or GIF images directly in the browser

🎨 Yarn-Inspired Color Palettes Convert images into limited, harmonious color sets suitable for knitting

πŸ”² Grid-Based Pattern Generation Automatically transforms images into stitch-by-stitch charts

🧢 Pattern Simplification (Smoothing) Reduces noise and creates cleaner, more knit-friendly shapes

πŸ“ Custom Pattern Size Adjust pattern width (stitches) to control detail level

πŸ“‹ Knitting Instructions Stitch count and size estimation
Color usage breakdown
Row-by-row chart instructions

πŸ’Ύ Download as PNG Export your pattern as an image for offline use

πŸš€ How It Works

Upload Image β†’ Choose Palette β†’ Adjust Size β†’ Generate Pattern β†’ Download

🧠 Design Philosophy

Knitting is not pixel-perfect β€” it’s constraint-driven.

This tool prioritizes:

Simplicity over visual accuracy
Limited colors over full-spectrum images
Usability over perfection

A good knitting pattern is one you can actually follow.

Tips for Best Results

HTML5
CSS3
JavaScript (Vanilla)
Canvas API (image processing)

πŸ“Έ Example Workflow

Upload a photo (portrait, object, etc.)
Select a color palette (e.g., Rose, Ocean, Forest)
Choose pattern width (e.g., 40 stitches)
Generate pattern
Download and knit
Experiment without manual charting.

πŸ“Έ Screenshots

Upload & Preview

Upload Preview

Pattern Generation

Generated Pattern

Before vs After (Simplification)

Before After

Downloaded Pattern Output

Download Output

πŸš€ Product Roadmap

Phase 1 β€” Core Pattern Generation (Current)

Goal: Validate the core idea and usability

Image upload and preview
Color palette mapping (yarn-inspired palettes)
Grid-based pattern generation
Smoothing for readability
Row-by-row instructions
PNG export

βœ… Status: Completed (MVP)

🧢 Phase 2 β€” Knitting Utility (Next Focus)

Goal: Help users actually use the pattern in real projects

Motif Placement
Place generated pattern onto:
sweater front panel
blanket layout
Center and alignment controls
Pattern Scaling
Adjust pattern to fit specific dimensions
Maintain proportions based on stitch count
Repeat & Layout Options
Repeat pattern across rows/columns
Create tiled designs

🧩 Phase 3 β€” Advanced Pattern Experience

Goal: Improve flexibility and control

Adjustable smoothing levels
Manual color adjustments
Custom palette creation
Stitch density previews

☁️ Phase 4 β€” Accounts & Storage (Future)

Goal: Turn the tool into a full product ecosystem

User accounts
Save and manage patterns
Cloud storage
Pattern history

🌐 Live Demo

πŸ‘‰ https://flowingcity777.github.io/Mosaic-Threads/

πŸ“Œ Project Status

Active prototype β€” continuously improving functionality and usability.

πŸ’­ Reflection

This project explores how digital tools can translate meaningful images into physical, handmade creations.

It highlights the intersection of:

UX design creative tools real-world crafting constraints

🀝 Contributions

Suggestions and feedback are welcome!

πŸ“„ License

MIT License

Β© [Lydia Li/2025]. All rights reserved.
Unauthorized use, modification, or distribution is prohibited.

About

Mosaic Threads is a web-based tool that converts uploaded images into knittable color grid patterns using curated yarn-inspired palettes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors