BFlat e4347f0d6f Look: production's breathing room across VectorCraft (type size, menus, dialogs, Home, panels) and main's lib test fixes (#9292)
* Theme: type at the size production draws it. Production set Inter at 92% of its nominal size, so its 13-point body, 12.5-point labels and 11.5-point captions read at 12, 11.5 and 10.5 points; SIZES took the nominal sizes, which drew every text about 8% larger than production on the same rows. Body and strong body 12, labels 11.5, captions 10.5, line heights kept. Dialog buttons at least 72 points wide, as production's.

* Theme: menus and dialogs as production spaces them. 29-point menu rows (production's 24-point rows 5 points apart), dialogs 22 points inside their edge (production's dialog margin) and 28-point dialog buttons. Needs a craft-libs rev with size.row.menu, size.dialog.button_height and space.pad.dialog (fix/vc-look9-metrics): on an older rev SIZES does not parse. Land it after that rev move.

* Home: production's rhythm through the framework's page sizes: 9 from title to subtitle, 27 to New and Open, which stand 28 high with 16 points beside their labels and 14 apart, 33 between sections, 15 under a heading, the community links in 24-point rows 5 apart and in the link colour alone (LinkLook::Plain on Home only); Learn's skills a heading gap apart, each title muted over its tutorials, which stand as tall as New and Open, as production's secondary buttons did

* Swatches: thumbnails at production's sizes and the footer split as production

The thumbnail views give the browser zooms of 1/4, 1/3 and 2/3 on the large
thumbnail: 12, 16 and 32 point tiles, production's 11, 15.5 and 30. The
library panels' saved view follows the new zooms. Swatch Libraries, Show
Swatch Kinds and the edit action stand at the footer's start edge; New Color
Group, New Swatch and Delete at its end edge.

* Color Guide: the footer split as production

Limit to Library stands at the start edge; Edit or Apply Colors, Save
selected colors and Save color group at the end edge, in that order.

* Graphic Styles: 40-point tiles in Thumbnail View

Thumbnail View sets its own zoom, as the list views do, so its tiles are
production's 40 points and no longer keep a list view's zoom.

* Align panel: the reference app's groups and rules: the align and distribute buttons in groups a section gap apart, a rule between Align Objects and Distribute Objects, and Distribute Spacing and Align To on one line with a rule between them

* Transform panel: a rule over the shape properties and over the options, as the reference app had

* Info panel: the two columns of numbers are equal halves of the panel, as the reference app had them

* Layers panel: the footer's layer count is a text unit of the footer row in the text ink, as the reference app showed it

* Libraries panel: the no-library notice shows the library icon over its title, as the reference app did

* craft-libs: next 5442cfb97, with the page rhythm tokens, LinkLook, the menu row height and the dialog padding and button height the look commits set

* Docking test: the report names the panel that has the keys after a click in its search field. A press on a dock tab now leaves the keys where they were (craft-libs TabStrip::keeps_focus), so the tab click alone no longer focuses the panel; the search lookup is a harness helper both tests use

* craft-libs: next 6fcf61c81, a document window raised as Presentation Mode ends comes to the front

* Canvas drops: a canvas takes no drop where a floating panel's OS window lies over it

The canvas's drop catcher accepted art carried off its own canvas wherever
the pointer was over the canvas, including where a floating panel's OS window
lies over it. The main window's pass runs first, so the canvas took the drop
and resumed the move, and the panel under the pointer got nothing. Every
target of the catcher now refuses a point that panel_docking::os_window_at
reports covered, the same rule the Selection tools' carry uses.

It used to work by accident: the carry's covered test flickered every other
frame, the move dispatched a drag in those frames, and the changed revision
made the canvas refuse the carried art until the release.

* Safe Mode: the choice about a stopped plug-in opens on the host at once

The choice was put on the host's startup queue, which the host drains
only at the start of its next pass. On main the first frame happened to
run a second pass (layout memory asked for a rerun), so the choice was
open by the end of the launch frame; the framework now settles that
frame in one pass, and the choice stayed queued until the frame after,
where an agent's ui.dialog.* found no hosted dialog open. The choice is
only asked for on an empty host, so opening it directly is what the
queue would do one pass later.

* Image Trace sampler test: a step runs until the press lifecycle reported its events

run_ui stopped stepping once egui had seen every pointer event of the
step. The press lifecycle reports one phase a pass, so a pass that
brings a release and the next press (two clicks in one frame) reports
the press's Down one pass later and holds its release for the pass after
that, asking for a repaint. The step ended before that pass, and the
second click of review_597048_two_ordinary_clicks_in_one_frame_survive_
sampler_correction never reached the tool, so the group did not isolate.

It passed before by accident: with craft-libs a4b6d3b6ca every other
frame ran a second pass, and the held release landed in it. With
6fcf61c81 each of these frames runs one pass. The step now also counts
the phases owed and runs empty frames until the passes have caught up.

* Shapes add-on: the helper that maps a shape tool to its icon is icon_for_shape, so the icon test no longer reads its tool ids ("polygon", "no-such-tool") as icon ids

* Native panel window test: drop the art on the first graphic style's tile

The test dropped the art 60 x 120 points into the Graphic Styles window. Since
Thumbnail View's tiles are 40 points (df940cff4e) the tile row ends at 116
points, so that point lies in the empty room below the tiles, which takes no
drop, and the panel made no style. The test now finds the first style's tile
by its name in the window's access tree and drops the art there. The test
host keeps each window's named access nodes for that.
2026-11-25 23:23:47 +07:00
2026-10-26 14:13:02 -06:00
2026-11-16 10:34:24 -08:00

ArtCraft

VectorCraft icon: an engraved dragon on a red tile

VectorCraft

Vector illustration; an open-source, modern vector art application, built in pure Rust.

A fast, open-source vector illustration workflow. It runs natively on macOS, Windows, Linux and FreeBSD, and in the browser via WebAssembly. Built by the ArtCraft team.

Status: in active development Written in pure Rust Runs on macOS, Windows, Linux, FreeBSD and the web MCP server for agents License: MIT OR Apache-2.0
Scanned by SonarCloud Reviewed by CodeRabbit

Join the ArtCraft community on Discord

VectorCraft on getartcraft.com · ArtCraft · All Crafting Apps


VectorCraft editing the Neon Drive poster: the title is selected, the Appearance panel shows the settings of its live Outer Glow, and the Properties panel shows its character settings
Neon Drive: a Pathfinder-cut sun, live Outer Glow on the type and grid, and clipping masks · examples/neon-drive.vectorcraft

Note

ArtCraft is a community of artists from all walks of life. Digital, generative, music, games — if you make things, you're one of us. Come say hi on Discord.

A look around · Made in VectorCraft · Why VectorCraft · Quick start · Status · Downloads · The Crafting Apps · License

A look around

Three live blend ribbons clipped to the artboard, one selected with its key paths showing; the Layers panel lists the clip group, the blends and the selected blend's two key paths

Live Blends and Layers: editable key paths, smooth colour, every object a row

Direct Selection tool showing anchor points and Bézier handles on a crescent built with Pathfinder, with the contextual task bar below it

Pen and Direct Selection: real Bézier anchors and handles, plus a contextual task bar

A still life of a vase, a bowl, a sphere and a bottle made with 3D Revolve; the vase is selected and the Revolve dialog shows its rotation, cap and view settings beside the rotation gizmo

3D Revolve: smooth vector shading, caps and a rotation gizmo · examples/still-life.vectorcraft

A bracket drawing in the light theme with linear, angular, diameter and radius dimensions; the Dimension tool is active and the Properties panel shows the selected dimension's units, precision and style

Dimension tool: lengths, angles and radii that follow the art they measure · examples/bracket-drawing.vectorcraft

Two lit building facades drawn on the left and right planes of a two-point perspective grid at sunset, with the Perspective Selection tool and the Plane Switching Widget

Perspective Grid: art attached to its planes stays editable in perspective · examples/perspective-city.vectorcraft

Four artboards in the light UI theme: Pathfinder, Gradient Mesh, radial Repeat and Envelope Distort

Multiple artboards, light theme: Pathfinder · Gradient Mesh · live radial Repeat · Envelope Distort · examples/feature-sheet.vectorcraft

Made in VectorCraft

Every piece below was built entirely through VectorCraft's command API, the same one the MCP server exposes to agents, and exported by VectorCraft's own renderer. The source files are in examples/.

Neon Drive synthwave poster: a striped orange sun setting between purple mountains over a glowing pink grid

Neon Drive: synthwave poster with glowing type and grid

Dusk poster: a gradient sky with stars and birds, a glowing sun behind layered purple mountains and pine trees

Dusk: gradient sky, glowing sun, layered mountains

Live Blends: three wide ribbons blending yellow to pink and teal to purple, crossing over a dark background

Live Blends: 70 steps, smooth colour, editable spines

Still life: a teal vase, a coral bowl, a white sphere and a mustard bottle on a warm table, all made with 3D Revolve

Still Life: four revolved profiles with smooth vector shading

Radial Repeat mandala: teal petals around a coral center, ringed by yellow dots

Radial Repeat: a live mandala

Envelope Distort: rainbow stripes and the word WARP bent into a waving flag

Envelope Distort: striped type warped into a flag

Gradient Mesh: three softly shaded purple, pink and cyan spheres on a dark background

Gradient Mesh: shaded spheres

Pathfinder: a purple gradient crescent moon and three orange stars on a peach background

Pathfinder: a crescent and stars from exact booleans

Why VectorCraft

  • Familiar. A familiar layout, tools, menus, panels and shortcuts: the Pen, Direct Selection, Pathfinder, Smart Guides, Appearance, Swatches, Layers and more. You already know how to use it.
  • Fast. Multithreaded SIMD rendering off the UI thread. 20,000 shapes render in about 27 ms at full retina resolution while the interface stays at 120 fps.
  • Robust. Exact curve booleans (no "cannot perform operation"), unlimited undo via structural sharing, and property-tested file round trips.
  • Open. A documented native format (.vectorcraft, JSON), first-class SVG, PDF (and PDF-compatible .ai) import and export, PNG/JPEG/WebP export, Export for Screens, and SVGZ, templates, GIF, TIFF and BMP on open.
  • Agent-native. Every menu item, tool gesture, panel and dialog can be driven over a JSON control channel and an MCP server, so Claude and other agents can draw, edit and export the way a person does.
  • Everywhere. One codebase for the desktop apps and the same UI in the browser.

Quick start

For posters and sewing patterns, see Print a large poster across multiple pages.

git clone https://github.com/storytold/vectorcraft
cd vectorcraft

cargo run --release -p vectorcraft                          # desktop app
cargo run --release -p vectorcraft -- examples/dusk-poster.vectorcraft
cargo run --release -p vectorcraft -- --control 7979        # + JSON control channel
cargo run --release -p vectorcraft-cli -- mcp               # MCP server (stdio)
cargo run --release -p vectorcraft-cli -- run --in examples/ribbons.vectorcraft --export out.pdf   # headless batch
cargo run --release -p vectorcraft-cli -- bench examples/neon-drive.vectorcraft                   # render timing
cargo xtask bundle                                        # dist/VectorCraft.app (macOS)
cd apps/vectorcraft-web && trunk build --release            # web build → dist/web
cargo xtask ci                                            # fmt, clippy, tests, layering, wasm, vendor names

For text and custom letter shapes, see Typography and Custom Lettering.

Japanese fonts come from storytold/craft-fonts, an optional build input (releases always use it): CRAFT_FONTS_DIR="$PWD/../craft-fonts" cargo run --release -p vectorcraft (an absolute path). Without it, Japanese text uses the installed system fonts. See docs/development.md.

On machines with two graphics processors, VectorCraft renders on the power-saving (integrated) one by default on Windows and macOS, and on the one the desktop runs on under Linux. To choose, use Preferences › Performance › Graphics Processor and restart. If a graphics processor can't show the window, VectorCraft starts again on the next one. To pick one when starting the app, set WGPU_POWER_PREF=high (or low), or WGPU_ADAPTER_NAME to part of its name, such as WGPU_ADAPTER_NAME=nvidia (see docs/development.md).

On native Wayland, winit 0.30 does not deliver dropped files. To open an SVG, use File › Open; to place artwork in the current document, copy and paste the file in a file manager. For file drag-and-drop, set Preferences › Performance › Linux Display Server to X11 (XWayland) and restart, or start the app with WAYLAND_DISPLAY= vectorcraft: the window then opens through XWayland, where drops work (see docs/development.md).

On Linux with Wayland, under KDE Plasma 6.3 or later and under GNOME, VectorCraft can't get a drawing tablet's pen input on native Wayland yet (#491, #2028). When a pen is attached as VectorCraft starts, the window opens through XWayland, where the pen works as a mouse and the app reads its pressure (#4967; VECTORCRAFT_NATIVE_WAYLAND=1 keeps Wayland). For a pen attached later, set the same preference to X11 (XWayland) and restart, or start the app with WAYLAND_DISPLAY= vectorcraft (see docs/development.md).

Use it from Claude Code and other agents

Register the MCP server with Claude Code:

claude mcp add vectorcraft -- /path/to/vectorcraft-cli mcp

To keep an agent to one project's files, give it folders to read and write (the same flags as PhotoCraft):

claude mcp add vectorcraft -- /path/to/vectorcraft-cli mcp --automation-read-root /work/project --automation-write-root /work/project

The details are in docs/mcp.md and docs/control-protocol.md.

Status

VectorCraft is under active development. ROADMAP.md has the stage, the numbers by dimension and what's next; docs/target-app-parity.md the full parity assessment and docs/gaps.md the ranked list of what's missing.

Where we are (2026-10-10): alpha. About 88% of core menu items, tools, effects and formats exist (92.5% of menu items do something), feature depth is ~75%, and we estimate ~65% ready for real work for a mainstream illustrator (~62% across all tracked features): everyday vector illustration is close to usable: drawing and path tools, Pathfinder and Shape Builder, paint, gradients, appearance and transparency, type with styles, threading and Hebrew/Arabic bidirectional layout, and files (SVG, PDF and PDF-compatible .ai with PDF/X, legacy version 7 .ai keeping layers, groups and type, EPS, DXF, EMF/WMF, raster formats, PSD out, PSD/PSB opened with their layers and placed as their merged image, JPEG XL in, Print, Package). Affinity documents (.af from Affinity 3, .afdesign, .afpub and, by their content, .afphoto from Affinity 1 and 2) open and place natively: layers, groups, artboards and pages, curves and shapes, fills, gradients and strokes, clipping and masks, text with each paragraph's indents, spacing and leading, tables (as text frames and lines), master pages, shadows, glows, outlines and overlays, embedded Affinity documents and images, with what didn't come in (adjustments, blurs, bevels, brushes…) listed in the import warning; a file whose native data can't be read opens as its embedded preview, saying why. VectorCraft doesn't write Affinity files. Current .af validation includes 33 pinned files, native save/reload and every-board SVG/PDF/PSD export, with fixes for Affinity 3 artboards, source-backed JPEGs and text runs. Scope and limits; source audit and remaining gaps. The interface speaks English, German, Japanese, Korean, Vietnamese, Traditional and Simplified Chinese, Spanish, French, Hungarian, Italian, Polish, Brazilian Portuguese, Russian, Swedish, Ukrainian, Finnish, Bulgarian, Greek, Czech, Georgian and Catalan; localization-parity.md has the details. The scores are self-assessed from our code against public documentation; target-app-parity.md explains how far to trust them.

All 57 approximated Photoshop-style raster filters are available. The Effect Gallery includes filter thumbnails and an in-dialog preview.

What's missing:

  • reliable exchange of .ai files (layer structure in real files; the editing copy a save writes keeps live effects only on paths, compound paths and groups that qualify (at most a fill and a stroke, a non-zero fill rule when filled, no large canvas) and whose appearance and effects the art-style writer supports (see docs/file-format-parity.md), leaves out other objects' effects other than geometry effects, and writes live objects as their art);
  • an interaction-fidelity pass covering every tool's modifiers and small behaviours;
  • the rest of 3D and Materials (base and Adobe Substance materials, shadows from lights after the first, ray-traced rendering, Turntable; see docs/three-d.md);
  • CJK composition for vertical type (vertical type itself has initial support, with a Japanese interface);
  • scripting, and the rest of Variables (image and graph kinds, dataset import);
  • generative AI features.

Where we're going: next is the interaction-fidelity pass, .ai files from real users and start-up stability, alongside the raster-effects package; then type, recent additions and 3D. The ranked list is in docs/gaps.md.

Workspace: crates/{geom, color, doc, pathops, text, effects, three-d, trace, brush, render, svg, pdf, eps, cad, metafile, format, tools, engine, ui-egui, mcp, testkit} and apps/{vectorcraft, vectorcraft-cli, vectorcraft-web}. The egui frontend is its own crate, so the UI can be swapped without touching the engine.

Agent and contributor rules are the shared rules in AGENTS.md, which also lists the checks for the crates you change; docs/development.md explains how VectorCraft avoids crashing, and docs/releasing.md how releases are built, signed and published. Every bundled asset is listed with its licence in ASSETS.md.

Downloads

New to VectorCraft? Download it from the VectorCraft page on getartcraft.com. That's the easiest way to install it.

Want a specific build or format? On GitHub, the latest release has every build listed below, and all releases has earlier versions and their notes. <ver> in the file names is the version number, and SHA256SUMS.txt lists a checksum for every file.

Windows

Build Installer Portable
x64 (64-bit Intel/AMD) vectorcraft-<ver>-windows-x64.msi vectorcraft-<ver>-windows-x64-portable.zip
arm64 (Snapdragon and other ARM PCs) vectorcraft-<ver>-windows-arm64.msi vectorcraft-<ver>-windows-arm64-portable.zip

For 32-bit Windows, VectorCraft v0.22.0 was the last release with both an x86 MSI and portable ZIP.

Installers and executables are code-signed.

macOS

Build File Notes
App, universal (Apple silicon + Intel) vectorcraft-<ver>-macos-universal.dmg Signed and notarized
Command-line tool, universal vectorcraft-cli-<ver>-macos-universal.zip Signed and notarized

Linux

Format x86_64 aarch64 (ARM64) Notes
AppImage vectorcraft-<ver>-linux-x86_64.AppImage vectorcraft-<ver>-linux-aarch64.AppImage Runs anywhere; updates itself with AppImageUpdate (.zsync files)
Flatpak vectorcraft-<ver>-linux-x86_64.flatpak vectorcraft-<ver>-linux-aarch64.flatpak Sandboxed; flatpak install --user <file>
Debian/Ubuntu vectorcraft-<ver>-linux-x86_64.deb vectorcraft-<ver>-linux-aarch64.deb
Fedora/RHEL/openSUSE vectorcraft-<ver>-linux-x86_64.rpm vectorcraft-<ver>-linux-aarch64.rpm
Arch Linux vectorcraft-<ver>-linux-x86_64.pkg.tar.zst vectorcraft-<ver>-linux-aarch64.pkg.tar.zst
Tarball vectorcraft-<ver>-linux-x86_64.tar.gz vectorcraft-<ver>-linux-aarch64.tar.gz Unpack anywhere

RISC-V (riscv64) packages are vectorcraft-<ver>-linux-riscv64.deb, vectorcraft-<ver>-linux-riscv64.rpm, and vectorcraft-<ver>-linux-riscv64.tar.gz.

FreeBSD

Build File
x86_64 vectorcraft-<ver>-freebsd-x86_64.tar.gz
aarch64 (ARM64) vectorcraft-<ver>-freebsd-aarch64.tar.gz

Web (WebAssembly)

Build File Notes
Static site vectorcraft-web-<ver>.zip Runs in a browser with WebAssembly SIMD (Chrome/Edge 91, Firefox 89, Safari 16.4 or newer), see packaging/web/README.md; host it on any static server

The Crafting Apps

VectorCraft is one of the Crafting Apps: free, open-source creative tools from the ArtCraft team, each written from scratch in Rust and each able to stand on its own.

App What it's for Code Learn more
PhotoCraft Image editing: layers, masks, type and real PSD files GitHub Website
VectorCraft Vector illustration GitHub Website
FilmCraft Video editing, color and sound GitHub Website
LightCraft Photo library and raw development GitHub Website
PdfCraft Reading, organizing and protecting PDFs GitHub Website
EffectCraft Motion graphics and visual effects GitHub Website
DesignCraft Page layout and publishing GitHub Website
FigCraft Interface design and prototyping GitHub Website
WordCraft Word processing and documents GitHub Website
SoundCraft Audio recording and editing GitHub Website
DeckCraft Presentations and slide decks GitHub Website
CADCraft Computer-aided design GitHub Website
GridCraft Spreadsheets and data GitHub Website
TextureCraft 3D texture painting GitHub Website
Craft Anything See how any software works, then build your own GitHub Website
SolidCraft Parametric 3D CAD by Tangency Labs (community app) GitHub

And ArtCraft itself, our AI image and video studio for artists who want real control.


Join the ArtCraft community on Discord

Come make things with us

Our Discord is where artists of every kind hang out: people who paint, shoot, draw, cut film, set type, and people still figuring out what they like to make. Share what you're working on, ask for help, tell us what's broken, or tell us what you wish these tools could do. Whatever your medium and however long you've been at it, you're welcome here.

discord.gg/artcraft · getartcraft.com · The Crafting Apps · VectorCraft

Star history

Star History Chart

License and credits

VectorCraft is dual-licensed under MIT or Apache-2.0, at your option. Copyright (c) 2026 ArtCraft Team and the VectorCraft contributors. Required notices are in NOTICE.

Bundled fonts, icons, images and other assets keep their own open licenses; each one is listed with its author, source and license in ASSETS.md. Release builds also embed the fonts of craft-fonts (Japanese, Simplified Chinese and Arabic faces; SIL Open Font License 1.1).

The app icon (an engraved dragon on VectorCraft red, #e8573f) is the owner's original artwork; its palette and files are in assets/app-icon/.

The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the ArtCraft Team and are not covered by this license. They may be used only unmodified, and only as part of this repository and VectorCraft, under docs/brand/LICENSE-brand.txt. Forks and modified versions must remove them.

ArtCraft
Made by the ArtCraft team and community.

S
Description
VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Readme
527 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 99.6%
Python 0.2%
Shell 0.1%