ZePatch: Embroidery on Android
summary
ZePatch converts Jetpack Compose Composables into stitch-ready files: it renders a Composable to a bitmap, reduces colors to three via a histogram and CIELAB color-distance, scan-lines pixels into stitched strands, connects strands, inserts stitches every 0.4 mm, and adds a convex-hull border to prevent fraying. It embeds a Python runtime to run the piStitch converter and emits PES for Brother machines, writes the result to a USB-C stick, and the open-source repo lists an APK release and three contributors.
AI-written summary · about
chapters (25)
- 0:00Introduction to ZePatch
- 1:05User experience demo
- 3:36From composables to preview
- 3:56Embroidery punching deep dive
- 4:57Annotating composables for embroidery
- 5:40Safe areas for patches
- 6:44Rendering to bitmap
- 7:31Color reduction for embroidery
- 8:13Histograms for color analysis
- 9:17Reconstructing images
- 10:40Color comparison with CIELAB
- 11:47Bitmap to embroidery paths
- 12:35Scan line for stitch paths
- 14:20Optimizing stitch paths
- 15:46Handling disconnected regions
- 16:53Stitch density and stability
- 17:38Protective borders
- 18:21Convex hull for borders
- 19:47Stitches to PES format
- 21:33Python in Kotlin for conversion
- 23:19Integrating Python in Kotlin
- 24:23Python for PES generation
- 26:11Community contributions
- 27:41Call to action
- 28:03Q&A
related talks
36mMultiplatform USB:How to Communicate Seamlessly
13mStitchFlow: Enabling In-Situ Creative Explorations of Crochet Patterns With Stitch Tracking and P...
36mCreative Coding with Compose
17mKnitPicking Textures: Programming and Modifying Complex Knitted Textures for Machine and Hand ...
32mJetpack Compose for Games & Animations
20mI Can See The Pixels: Designing Cross-Stitch Patterns in OCaml
23mThe creative art of algorithmic embroidery
14mQUILT: Supporting Modular Design of Machine-Knitting Programs
