Server · #26 trending MCP repo

Zigzag

simpsoka/zigzag

Free, open-source embroidery software for Mac and Windows. Turn SVG artwork into machine embroidery, edit stitches visually, and create designs with AI agents via MCP.

Stars
1.2k
This week
—
Forks
102
Open issues
8
Latest release
v0.1.14

Get started

Add it to your agent

claude mcp add --transport http zigzag http://127.0.0.1:7878/mcp

From the project README.

Documentation

README

View on GitHub ↗
ZigZag dark mode app icon

ZigZag

Visit zigzag.diy · Download for Mac, Windows or Linux

ZigZag is a visual embroidery editor built in Rust for performance, with built-in MCP (Model Context Protocol) support so AI agents can create and edit designs alongside you. Turn SVG artwork into stitches, fine-tune it in the editor, and export PES, DST, EXP, JEF, or VP3 for broad compatibility with embroidery machines—or send designs directly to a Brother Skitch (PP1) over Bluetooth, or to a Brother or Baby Lock machine with Wireless LAN over your network.

Draw in Illustrator, draw in ZigZag, or let an agent draw. The Rust engine and zigzag command-line tool power the same workflow outside the editor.

See ZigZag in action

https://github.com/user-attachments/assets/94812f25-82f4-429f-85db-5e20c1d5e723

Stitching on a Brother Skitch (PP1)

Download the video of ZigZag stitching a design on a Brother Skitch PP1

Download the video (MP4, 1080p) · Original post on X.

Download for Mac

Download ZigZag.dmg

For Apple Silicon and Intel Macs, macOS 11 or later. Open the DMG, then drag ZigZag into Applications. The release is signed and notarized by Apple. No Rust installation is needed.

Or with Homebrew:

brew install --cask simpsoka/zigzag/zigzag

To update a Homebrew installation:

brew upgrade --cask --greedy simpsoka/zigzag/zigzag

ZigZag also updates itself: it tells you when there's a newer release and installs it when you say (ZigZag › Check for Updates…).

Download for Windows

Download ZigZag for Windows — the ZigZag-<version>-x86_64-windows-setup.exe asset on the latest release.

For 64-bit Windows 10 (version 1709 or later) and Windows 11. Run the installer: it needs no administrator rights, adds ZigZag to the Start menu and to Open with for SVG and stitch files, and can put zigzag-cli on the PATH. Uninstall it from Settings › Apps. The ZigZag-<version>-x86_64-windows.zip asset holds the same files without an installer: unzip it and double-click ZigZag.exe. Windows SmartScreen may warn the first time a download runs; click More info → Run anyway. No Rust installation is needed.

Download for Linux

Download ZigZag for Linux — the ZigZag-<version>-x86_64-linux.tar.gz asset on the latest release.

For x86-64 Linux desktops with glibc 2.35 or newer (Ubuntu 22.04+, Debian 12+), X11 or Wayland, and OpenGL. Extract the archive and run ./zigzag-studio inside the extracted folder. It also includes the zigzag CLI and zigzag-mcp bridge; no Rust installation is needed. See the included README.txt for runtime dependencies and Bluetooth setup.

Release notes and checksums · Changelog · Publishing a release

Privacy

ZigZag works without an account, sends no usage statistics or crash reports, and keeps your designs on your computer unless you share them. It asks GitHub whether there's a newer release (Settings › General turns that off) and talks to zigzag.diy only when you sign in, sync or share a design. The details are in the privacy policy.

Code signing policy

  • Mac: releases are signed with the maintainer's Apple Developer ID and notarized by Apple.
  • Windows: the installer and the three executables are signed in the maintainer's name, verified by Microsoft (Azure Artifact Signing). Releases up to 0.1.11 were unsigned.

Windows releases are built and signed on GitHub Actions from the tagged source (windows-release.yml), and the run fails if any of those files comes out without a valid signature. Nothing built anywhere else is signed.

Build

cargo build --release                        # CLI + MCP bridge, no system deps
cargo build --release --features gui,ble     # + the studio editor and Skitch upload

Linux needs the usual X11/Wayland and OpenGL dev libraries for gui. libdbus is vendored for ble.

Development

zigzag/
  src/svg.rs              SVG import (usvg): fill and stroke parts, transforms, text
  src/document/           editable document; settings saved back into SVG ids,
                          layout edits as SVG transforms, lettering
  src/params.rs           stitch settings tokens + fabric presets
  src/stitch/fill.rs      tatami fill (scanline sections, staggered rows)
  src/stitch/satin.rs     satin columns: two rails, auto-satin, underlays, short stitches, lean
  src/stitch/cat.rs       letters into satin columns by their chordal axis (strokes, joins, mitres)
  src/stitch/columns.rs   shapes that branch or have holes, cut into satin columns (`cut`)
  src/stitch/stroke.rs    running / triple-run stitch
  src/boolean.rs          polygon booleans and offsets (i_overlay)
  src/design.rs           planner: overlap removal, cap order, routing, trims
  src/route.rs            travel out of sight: a way through fills and under what covers
  src/checks.rs           digitizing checks (sizes, widths, lettering, hoop, travel in sight)
  src/machine/profile.rs  machine profiles: hoops and file format, built in (profiles.json) or your own
  src/formats/            PES (+PEC), DST, EXP, JEF, VP3, Skitch PEN writers;
                          PES/PEC/DST/EXP/JEF/VP3 readers; preview; worksheet;
                          ZigZag's stitch-plan file (plan.rs)
  src/machine/            Skitch Bluetooth protocol (+ btleplug client, `ble` feature),
                          Brother Wireless LAN send (wlan.rs, over the system's curl)
  src/studio/             editor (egui on OpenGL via glow) + MCP server (`gui` feature)
  src/mcp_bridge.rs       stdio ↔ HTTP bridge for MCP clients that launch a command

Run the studio's tests with cargo test --features gui (plain cargo test skips them).

  • Letter census: tools/census/census.sh NAME sets every letter and digit of about 50 popular fonts of every kind of type (tools/census/fonts.txt) as a satin and counts how many come out clean on every measure (no filled parts, stitches off the letter, extra cuts, travel in sight, bare cloth, off-square stitches, seams or satin piled three deep), with trims and letters sewn in one piece. It takes about half a minute; quick sweeps every 8th installed family and full all of them. Each process is stopped past 2 GB. ZIGZAG_FONT_SIZE=11 sets letters about 8 mm tall. tools/census/summary.py compares runs in target/census/. To try a change, tools/census/try.sh [VAR=VALUE …] runs the popular fonts at 8 and 15 mm as sewn and with the settings given, in one go, and shows each against the last try (results for code that hasn't changed are kept). tools/census/letter.sh FAMILY CHAR [8|15] [VAR=VALUE …] plans one letter and says where each trim is and why (ZIGZAG_TRIMS=1 does that for any zigzag convert); tools/census/trims.py sorts a census's trims that way, for a census run with ZIGZAG_TRIMS=1. tools/census/sheet.py OUT.png [8|15] FAMILY=CHARS … draws letters' stitches in a few settings side by side over their outlines, to judge by eye; tools/census/judged.txt is a set judged that way and tools/census/judge.py checks the census's faults against it (the census counts stitches crowded into one place, the narrow end of a fan, and needle points outside the letter, but judges fans poorly). They build with the trial profile: as fast as release, but an edit rebuilds in seconds.

  • App icons: the embroidered icons live in packaging/macos/AppIcon.png (light) and packaging/macos/AppIcon-dark.png (dark). The Mac build regenerates both .icns files; bash packaging/macos/make-icons.sh does it separately. Finder and the unopened app use the light icon; while the studio runs, its Dock icon follows the app's theme.

  • Screenshots and videos: start the studio with ZIGZAG_CAPTURE=<folder> and ⌃⌥⌘S saves the window as a full-resolution PNG; ⌃⌥⌘R starts and stops recording it. packaging/media/encode.sh <folder>/take-001 demo turns a recording into demo.mp4 and demo.gif (needs ffmpeg).

Stitch types

Type What it does Works on
Fill (tatami) Staggered rows, any angle, with underlay (edge walk + rows) and pull compensation Filled shapes
Satin Zigzag column between two rails, with center/contour/zigzag underlay, pull compensation and short stitches on tight curves; plain, S-stitch or zig-zag top stitching; an even zigzag (each step shared between the stitch over and the stitch back; even=0 for one straight across and one stepping); stitches square across or leaning (lean=8); several threads across the column (multicolor satin) Strokes (any width); Ink/Stitch-style two-rail paths with rungs (open rails or closed ones, a ring; the rails are the pair every rung crosses, or the ones rails=1+2 names); filled shapes: rings use inner/outer outline, bars and crescents split at their tips, letters and other shapes that branch or have a counter are read as strokes by their chordal axis (the middle line of the triangulated outline: a P a stem and a bowl, a T a bar and a stem), cut into columns where the branches part, corners squared, one stroke run on and the other ended against it (the default, Corners: Cut; also what a shape that can't be read as strokes is, a square or a dot); or, with cut=0 (Corners: Auto), read as strokes by their chordal axis, each stroke a column with its stitches square across it, corners mitred and a stroke cut off at a slant ended along the cut, unless a corner is too sharp to mitre cleanly (the point of a V) or a join can't be read clearly, when it's cut (mitred, Corners: Mitred, mitres every corner); or border follows the outline
Run Running stitch, single or triple (bean) Strokes and outlines
Contour Rows that follow the outline inward, or one spiral out from the center (Ink/Stitch's circular fill) Filled shapes
Blanket E-stitch: a line with prongs into the shape Edges, appliqué
Appliqué Placement line → stop → tack-down → stop → satin cover Filled shapes
Manual Every path point is a needle point Imported machine files, pen tool
Meander One wandering line through the shape, quilting style: light and soft Filled shapes
Ripple Open running-stitch rows following the outline, or one spiral Filled shapes
Cross-stitch A grid of X's, sewn as rows of half-crosses out and back Filled shapes
Tartan Woven stripes in several threads (a mirrored sett you edit in the panel), each thread its own color block Filled shapes

Satins wider than 7 mm are auto-split (shorter, staggered stitches) and use auto spacing (narrow columns more open, wide ones denser).

Planner features:

  • Remove overlaps: fill hidden under later objects isn't sewn (keeps 0.5 mm of overlap).
  • Cap order: center-out, bottom-up, grouped by color, still respecting layering.
  • Routing: travel stitches stay out of sight: straight across where a straight line stays inside the fill, otherwise round the inside of its outline (Ink/Stitch's underpath), otherwise any way through the fill (round its holes, through its necks), under a satin that's about to be sewn, or under whatever is sewn later on top. An object's last piece is sewn toward the end the next object can be reached from. So satin lettering sewn stroke by stroke needs cuts only between letters when each stroke is followed by one that covers the way to it (a T's stem before its bar; an E's bars before its stem). A fill in separate parts is sewn part by part, each part's underlay and top together. So a fill with cut-outs, or a dither in scattered blocks under another color, is sewn with few or no cuts. Trims only where none of that works (up to 50 mm of travel).
  • Sewing control per object: a start and an end point (where the thread comes in and leaves, so the next object is close), trim after, stop after (to lay foam or trim appliqué). What's left to cut is the document's Connect bar: drag it to sew across gaps up to N mm (between objects, or the parts of one) with running stitches instead of cuts. Those stitches show, so the panel counts the cuts saved as you drag and the canvas lights up what would be sewn.
  • Fabric presets: standard, thin cotton cap, structured cap, knit.
  • Checks: narrow fills, wide/narrow satins, small lettering, tiny gaps, fully covered objects, hoop fit.
  • Group colors: reorder to cut thread changes without breaking layering.

Mac app

On a Mac with Rust and the Xcode command line tools (xcode-select --install):

packaging/macos/make-app.sh --install    # builds ZigZag.app and copies it to /Applications
packaging/macos/make-app.sh --dmg        # also makes dist/ZigZag-<version>.dmg to share
packaging/macos/make-app.sh --universal  # one app for Apple Silicon and Intel Macs
packaging/macos/make-app.sh --release    # the DMG to publish: universal, signed, notarized

--release signs with your Developer ID and has Apple notarize the app and the DMG, so it opens on any Mac without warnings. Once, beforehand: add a Developer ID Application certificate (Xcode › Settings › Accounts › Manage Certificates › +), make an app-specific password at account.apple.com, and save the notarization credentials in your keychain:

xcrun notarytool store-credentials zigzag-notary --apple-id YOUR_APPLE_ID --team-id YOUR_TEAM_ID

The app bundles the studio, the zigzag command-line tool and the MCP bridge. To use the command line from anywhere: ln -s /Applications/ZigZag.app/Contents/MacOS/zigzag /usr/local/bin/zigzag. For Claude Desktop, point the MCP config at /Applications/ZigZag.app/Contents/MacOS/zigzag-mcp.

Without --release the app is signed ad hoc, not notarized. It opens normally on the Mac that built it. On another Mac, macOS blocks it the first time: open System Settings › Privacy & Security and click Open Anyway (on macOS 14 and earlier, right-click the app and choose Open instead). macOS asks for Bluetooth permission the first time you send to the Skitch.

Studio

ZigZag

zigzag-studio [design.svg|logo.png ...] [--new-window] [--mcp-port 7878 | --no-mcp | --mcp-stdio]

Laid out like Illustrator, styled like a Mac app:

  • Tools down the left edge: Select (V), Direct Selection (A), Hand (H), Pen (P): click for corners, drag for curves (Option breaks the handles, Shift keeps 45°, Space moves the point being placed); while drawing, Option lends it the Anchor Point tool (drag a segment to bend it, a handle to move it alone, click a smooth point for a corner) and ⌘ lends Direct Selection (drag a point or handle, then keep drawing), and on a selected path Option-drag bends a segment too. Illustrator's Pen group is behind it: Add Anchor Point (+) clicks a point onto an outline without changing its shape, Delete Anchor Point (-) clicks one out (Option swaps the two while held), and Anchor Point (Shift+C) converts points between smooth and corner and drags one handle alone. Press and hold the Pen (or right-click it) for the group's flyout, Option-click it to step through the group, or tear the group off into a toolbar of its own with the strip at the flyout's edge; the Shape tools work the same way. Brush (B), with VectorCraft's path clean-up tools in its group: Smooth (drag along a path to take the wobble out: fewer points, smoother curves; Smoothness in the bar above), Path Eraser (drag across a path to cut that part away) and Join (scrub between two open ends to join them, or an open path's two ends to close it). Shapes (M rectangle, L ellipse, \ line; hold or right-click for polygon and star), Rotate (Shift+R; R alone is the Run stitch), Fill Angle (G), Measure (I), Text (T). Below them, the selection's thread swatch: click it for the thread color picker.

  • Curves, the Illustrator way: the Pen clicks corners and click-drags curves (Option while dragging breaks the handle for a sharp turn; Shift keeps points and handles at 45°; hold Space to move the point you're placing). Click the last point to make it a corner, or drag from it to start the next curve in a new direction. Click the first point to close a shape; Enter, Esc, ⌘-click or another tool ends a line and keeps it. With a path selected, the Pen continues it from an open end, adds a point on its outline, deletes a point you click, and Option-click turns a point corner ↔ smooth (Option-drag pulls out new handles). While drawing, click another open path's end to join the two into one. The cursor shows what a click will do. Direct Selection drags points and handles of any shape from your SVG (circles and rects become paths); dragging a curve bends it under the pointer (Option-drag bends a straight one; a plain drag moves it); Delete removes points, arrows nudge them.

  • Smart guides while drawing (View › Smart Guides, ⌘U): Pen points, shape corners and dragged points land on other objects' anchors and centers, where two outlines cross, on an outline, on 45° rays from the last point (level and upright handles too), or in line with any of those, with a magenta label saying which ("anchor", "intersect", "path", "align"…). With Shift, a point keeps its 45° angle and slides into line with the nearest target.

  • Round corners: in Direct Selection a small circle sits inside each sharp corner; drag it in to round the corners (the selected points', or all of them), each only as far as its sides allow. Object › Path › Round Corners… does the same with a radius and Round, Inverted or Chamfer, previewed live.

  • Brush (B), after Illustrator's Paintbrush: paint a line freehand and it comes out smooth, sewn as a satin column at the width you set (or as a running stitch). Smoothness takes out the hand's wobble; sharp turns stay sharp; end where you began to close the line. The cursor is a circle as wide as the satin.

  • Curvature (Shift+`, in the Pen's group), after VectorCraft's and Illustrator's: click points and the curve runs smoothly through them, with no handles to pull. Option-click (or double-click a point) for a corner; drag a point and the whole curve follows; click the first point to close a shape, or Enter to end a line.

  • Blob Brush (Shift+B, in the Brush's group): paint a filled shape in the selection's thread. Where the paint overlaps fills in that thread it joins them into one shape. [ and ] size the brush.

  • Lasso (Q, with Direct Selection): draw a loop round points or objects to select them; Shift adds, Option takes away. Part of one object is its points, which Direct Selection then moves.

  • Shape Builder (Shift+M) and Knife (K), in one group: with overlapping shapes selected, drag across their parts to make one shape of them (Option takes parts away; a click makes a part a shape of its own), each shape keeping what's left of itself. The Knife cuts filled shapes along a line drawn right across them (Option: a straight cut), so that each piece can have its own stitch angle.

  • Eyedropper (E, with Measure): click an object to give the selection its thread and stitch settings; Option-click gives the clicked object the selection's; Shift-click takes the thread alone.

  • Shapes, the Illustrator way: Rectangle (M), Ellipse (L), Polygon, Star and Line (\). Drag from a corner; Option draws from the center, Shift makes a square or circle, keeps a polygon or star upright and a line at 45°. While dragging a polygon or star, ↑/↓ add or remove sides or points. Click without dragging to type an exact size. The bar at the top of the canvas switches shapes and sets corner radius, sides, points and the star's inner radius. Closed shapes come in as fills, lines as runs, in the current thread.

  • Path tools: Object › Pathfinder (Unite, Minus Front, Intersect, Exclude; also buttons in the Transform panel when two or more objects are selected) and Object › Path (Offset Path…, Add Outline, Outline Stroke, Simplify…, Round Corners…, Clean Up…). Simplify… is VectorCraft's slider, from fewest points to closest to the original, previewed live, with Auto-Simplify picking the level for the selection's size. Clean Up… removes stray points, objects too small to sew (under 1 mm by default) and extra points (points on top of each other, points in the middle of straight lines), showing how many of each it found first. Results come back as smooth curves with their real corners (least-squares curve fitting), not as many-sided polygons.

  • Logos from images (Image Trace): open, drop or place a PNG, JPEG, WebP, GIF, BMP or TIFF and the Trace Image window traces it into flat-color shapes, previewed on your hat's color. Choose how many colors (or Auto), the width, detail and the smallest speck to keep; remove the white background; snap every color to your Brother, Janome or own palette's threads; and sew thin lines as single lines. Flat logos trace exactly (edges placed to a fraction of a pixel, corners restored, circles and straight lines exact); photos are posterized. The command line traces too: zigzag convert logo.png -o logo.pes.

  • Contextual task bar: under the selection, the next things you'd do: its stitch type, its thread, Edit Points, Round Corners, Simplify, Unite (two or more), Duplicate. Drag the grip at its left end to move it off the art: it keeps that distance as it follows the selection, or stays put with Pin Bar Position in its ••• menu (Reset Bar Position puts it back). View › Contextual Task Bar (or its ••• menu) hides it.

  • Ask an agent: the Agent panel floats over the canvas's lower left (the sparkle at the bottom of the tool strip opens and closes it, and ⌘K or Window › Ask Agent… opens it with the prompt ready). It runs Claude Code, Codex or Antigravity in the background, connected to this studio's MCP server, so you watch it build the design. It can only use the design tools (no shell, no file edits). The transcript shows what it said and each step; on the canvas, the objects it's working on get a moving outline, a shimmer and a label saying what it's doing (Drawing, Placing, Restyling…), for any agent connected over MCP, not just the panel's. Before it finishes it reviews the design as an embroiderer would (underlay, row spacing, fill directions, outlines with nothing inside, a patch's border, lettering size, cost to sew) and fixes what it can; a trade-off that's yours to make comes back as a card of choices you answer with a click. Pin notes on the canvas (the speech-bubble button, or N) to say where you mean; attach images; ask for a few versions and pick one side by side. What you type while it works waits in a queue (send one now from its row, or take it back); Return sends, Shift-Return makes a new line, and / lists commands such as /model. Each design's chats are kept on this computer (the clock in its header). The panel is named for the agent (switch in its header); + starts a new chat, Stop ends a run, and its ≡ menu's Auto-Hide (on unless you turn it off) puts it away when you click the canvas or pick a tool, the sparkle bringing it back with a dot for a reply. Uses the claude, codex or agy command; if it isn't installed or signed in, the panel's Setup page (also in the agent menu in its header) installs it with its maker's installer and signs in through your browser, with no terminal. Like any panel it can dock or join another as a tab.

  • Thread colors and palettes: the picker shows the nearest Brother/Janome thread, a palette to click (Brother, Janome or your own), and a small custom color field. Make palettes from scratch, from the design, or from a thread kit you own (the palette's ≡ menu › New Palette from Thread Kit: Brother's 12, 40 and 22 color sets, or 40 + 22 for all 61; then Match All keeps a design to the threads in your box), add the selection's thread with +, right-click to remove; they're remembered between launches.

  • Threads panel: the design's threads in sewing order (each color block numbered, with its stitches, and "stop" where the same thread comes twice running) or By Color (each thread once, with how many objects use it). Click a row to select what it sews; click a swatch to change that block's thread, or in By Color that thread everywhere. Group Colors and the count of color changes and trims are under the list. The panel's ≡ menu has Match All to the chosen palette, and Show Palette puts a palette to click under the list (off by default, since the thread picker has the same palettes).

  • Simplify Design (Object › Simplify Design…, or Simplify… in the Threads panel): make a design quicker to sew. Merge the threads most alike down to a number (each pair becomes the one that sews more, so they stay real threads), take out details too small to sew well, sew across short gaps instead of trimming, sew each thread together, and (if you choose) unite layers that touch in one thread into one shape, so nothing is sewn under or between them: only the ones sewn the same way (a satin on a fill stays), or all of them. It previews on the canvas as you drag, with threads, thread changes, trims, stitches and sewing time before and after beside the controls; OK is one undo step.

  • Panels, the Illustrator way: Layers, Stitch, Transform, Lettering, Threads and Document are on the right, and the Agent floats over the canvas. The design's issues are in the status bar (bottom right): a warning sign with a count, or a check when all's well; click it (or Window › Issues) for the list, each linked to its object. Drag a panel by its header to reorder it, move it to the other dock, or drop it on the canvas to float it (each panel's ≡ menu also has Dock Left / Dock Right / Float). Drop a panel on another panel's header and they share it as tabs; drag a tab out (or use Separate in the ≡ menu) to part them, drag the header to move the group. » at the top of a dock collapses it to a strip of icons for a bigger canvas: click an icon and the panel flies out beside the strip (drag an icon to move that panel). Click a header to collapse a panel; Window › Reset Panels puts everything back. The layout is remembered.

  • Layers list: what's on top is at the top, as in Illustrator: the last layer sewn is the first row and the background is the last. Drag a row to another place in the stack (a line shows where it will go; the rows selected with it go too, and a group's row takes all its layers), or use the arrows under the list: up is sewn later, down is sewn earlier. The panel's ≡ menu has List in Sewing Order, for the list the other way up (what's sewn first at the top, as the Threads panel and embroidery software list it; dragging and the arrows follow). A document's only group starts open.

  • Rename an object: double-click its name in the Layers list, as in Illustrator; Enter keeps the name, Escape doesn't. A single click only selects.

  • Tabs, one per document (as in VectorCraft and Illustrator): Open, drop or New opens a file in a tab of its own over the canvas (the empty document you start with makes way for the first one); a file that's already open just comes forward. Each tab keeps its own undo history, selection, zoom and stitches. Click a tab to switch, ⌃Tab / ⌃⇧Tab (or Window › Next / Previous Document) to step through them, drag one to reorder, middle-click or its × (or File › Close, ⌘W) to close it; + opens a new document and » lists every tab when they don't all fit. A dot in place of the × marks unsaved changes, and closing such a tab asks whether to save it first. Right-click a tab for Close Other Tabs and Copy Path. Quitting with unsaved changes asks too (Save, or Save All for several; Don't Save; Cancel), as VectorCraft does, though not saving loses nothing: every tab comes back next time, each with its unsaved changes, and the files stay as they were until you save.

  • Lock and hide: every row of the Layers list has an eye and a lock (Illustrator's Layers columns; Option-click for every other object, and Object › Lock ⌘2, Unlock All, Hide ⌘3, Show All). A hidden object isn't shown or sewn; a locked one can't be selected or moved, so a background stays put while you work on what's over it. Drag the Selection tool over empty canvas for a selection box; two-finger scroll, Space-drag or the Hand tool moves the canvas.

  • Share a design (File › Share…): a page for it at zigzag.diy with its picture, a stitch player and its machine files, ready to download in any format. Choose who can see it (anyone, a link that expires, or only you), its license (CC BY 4.0 unless you change it) and whether others get the design itself to edit or only its picture and machine files. No account is needed; a share made without one can be changed only from the computer that made it.

  • Account (Settings › Account): sign in to zigzag.diy with your email and a code, no password. Your shares then belong to the account, and your machines, thread palettes, thread chart and last font follow you to your other computers.

  • Updates itself: ZigZag looks at its latest release on GitHub when it opens, and the toolbar shows an Update button when there's a newer one. On a Mac, Install and Relaunch downloads it, checks it against the release's checksum and Apple's code signature (it has to be signed by the same developer as the copy that's running), swaps it in and reopens with your documents as they were. ZigZag › Check for Updates… looks on demand; Settings › General turns the automatic look off. Windows and Linux are told and taken to the download.

  • Travel stays out of sight: the thread gets from one part of an object to the next under stitches still to come or under what's sewn on top; a fill's sections are sewn in the order that allows it. Where there's no such way the thread is cut, or (Document panel › Travel › Sew over fill) sewn over the fill already there, which saves cuts and shows. The checks say when the planner's own travel crosses stitches already sewn in sight (not the thread you chose to show with Sew over fill or Connect).

  • Menu bar (File, Edit, Object, Type, View, Window, Help) with the usual ⌘ shortcuts. Help › Report an Issue… opens a new issue on GitHub in your browser, started with which ZigZag you have and what it's running on. It's the real macOS menu bar on a Mac, drawn in the window elsewhere.

  • Crash logs: if something inside ZigZag fails badly enough to stop it, a short log of what failed and where is kept in the settings folder (crashes/, the newest ten; Help › Show Crash Logs opens it). The next time ZigZag opens it offers to report it: a GitHub issue started with the gist of the log, and the file shown so it can be attached. Nothing is sent unless you post it, and people's names are taken out of the paths in it. Help also has ZigZag on GitHub, and About ZigZag links there too.

  • Cursors drawn for each tool: the Pen's nib (with what a click will do), crosshairs for the Shape, Rotate, Measure and Fill Angle tools, Direct Selection's hollow arrow, and a curved arrow at rotate corners and while the Rotate tool turns.

  • Right-click menus on the canvas and the Layers list, styled like the tool flyouts: the stitch types with their icons, then the usual commands with their shortcuts.

  • Stays quick on big designs: stitches are planned once per change, reusing every object that didn't change (overlap removal too: moving one object redoes only the objects it overlaps); a design that takes more than 12 ms to plan plans in the background (the status bar says "Updating stitches…" and the last plan stays on screen meanwhile; when you drop a moved object its stitches move with it until the new plan lands). Dragging points or objects, and typing, preview without re-planning until you let go. The stitches live on the GPU: each color block's segments are uploaded once and drawn by a shader (thread shading and needle points included), so panning, zooming, dragging and the stitch player cost nothing per stitch on the CPU, whether the design has a thousand stitches or half a million. The Layers list lays out only the rows in view. An object whose stitches hit an internal error is left out with a warning in Issues rather than taking the plan down. For development: TL_PROFILE=1 prints each frame's sections to stderr, TL_NO_GPU=1 draws the stitches with the painter instead, ZIGZAG_RENDERER=wgpu|opengl overrides the Renderer chosen in Settings › General (wgpu: Metal, DirectX or Vulkan), ZIGZAG_BENCH=pan|player|upload times one against the other in the window (see src/studio/render_bench.rs), and cargo test --release --features gui --bin zigzag-studio perf_bench -- --ignored --nocapture --test-threads=1 times typing and dragging on a traced logo (examples/bench-grid.svg is a 213,000-stitch design for the studio itself).

  • Follows the system's light or dark appearance (ZIGZAG_THEME=light|dark overrides) and uses the San Francisco system font on a Mac.

  • Interface size: Settings › General draws everything in the window larger or smaller (90% to 150%): panels, text, buttons and the handles on the canvas. Your design keeps the size it has on screen, the window never gets smaller than the layout needs, and a size the display has no room for steps down to the largest that fits.

  • Pick a stitch type per object: big buttons, the task bar, right-click, or F/S/R/C/X (Blanket and Manual from the Stitch panel). The preview re-plans live.

  • Layout, the Illustrator way: drag to move (Shift: 45° steps; Option: drag a copy). Handles resize freely (Shift keeps proportions, Option resizes from the center, drag past the far side to flip); just outside a corner rotates (Shift: 45°). Smart guides snap edges and centers to other objects and the hoop (View › Smart Guides, ⌘U). ⌘D is Transform Again: Option-drag a copy, then ⌘D for more at the same spacing. Hold Space to pan with any tool (a tap plays the stitch-out). The Transform panel has Illustrator's reference point: X/Y show the chosen point and W/H resize around it. Also rotate, flip, center in hoop, fit to hoop (artwork bigger than the hoop is scaled down to fit when you open or place it; Undo restores full size), ⌘C/⌘V, arrows nudge 0.5 mm (Shift 5 mm). Edits are saved as SVG transforms.

  • Groups work like Illustrator: a click or drag takes the whole group; double-click goes into it (the rest dims and a breadcrumb shows where you are), double-click again to go deeper; Esc or double-click on empty canvas comes back out. ⌘-click picks one object without going in. Layers (Illustrator's "Layer 1", Inkscape layers, Figma frames) aren't groups. Copy, paste and duplicate keep groups.

  • Rotate

…

Releases

Recent versions

All releases ↗
  1. v0.1.14ZigZag 0.1.14
  2. v0.1.13ZigZag 0.1.13
  3. v0.1.12ZigZag 0.1.12
  4. v0.1.11ZigZag 0.1.11
  5. v0.1.10ZigZag 0.1.10
  6. v0.1.9ZigZag 0.1.9