Description #
TurtleStitch is a visual programming environment that lets users create embroidery designs using Snap!-style blocks. It bridges computer science, art, and mathematics by turning code into stitched patterns for embroidery machines.
History #
TurtleStitch was created by Andrea Mayr-Stalder around 2015 as an educational and artistic extension of Turtle Graphics and Snap!. It has been used in schools, maker spaces, and design labs worldwide to teach creative coding through textiles.
Hello World Code #
In TurtleStitch, a “Hello World” equivalent could be a simple spiral or pattern using:
Repeat 36 [Move 10 steps, Turn 10 degrees]
This block-based logic creates a visible stitch pattern exported as embroidery machine code.
How to Run #
Option 1: Online
https://www.turtlestitch.org/
Option 2: Local
- Web-based, no installation needed
- Compatible with modern browsers
- Can export designs in
.DST
format for use with most embroidery machines
Key Concepts #
- Snap!-based block programming
- Artistic coding through stitches
- Real-time stitch simulation
- Geometry, symmetry, and repetition
- Exports to embroidery machines
- STEAM integration (STEM + Art)
- Open source and community-supported
- Math-art explorations
- Loops, angles, and logic blocks
- Hands-on creative computing
Try It Online #
Fun Facts #
- Used in international workshops combining programming with textile design
- Designs can be stitched using Brother, Janome, or commercial embroidery machines
- Inspired similar tools like TurtleToy and StitchCode
Resources #
Official site
Docs or tutorial
GitHub or interpreter
Community or learning resources