Getting started
Run the editor
Section titled “Run the editor”The editor currently lives in the main svertik repository. Install Node.js 24 or newer and pnpm, then run:
git clone https://github.com/scorcoles/svertik.gitcd svertikpnpm installpnpm editorOpen the local URL printed in your terminal. Use a desktop browser for the editor.
Build your first scene
Section titled “Build your first scene”- Add a primitive shape or text, or import an SVG.
- Add an effect to its stack and adjust its parameters.
- Combine effects to generate copies, deform paths, and change their colors.
- Animate parameters with keyframes or numeric expressions.
- Save the project as JSON, export SVG or PNG, or use the generated code for the web.
Effects run in stack order. Changing the order changes the result. The original shape is preserved, so you can return to it at any time.
Render without the editor
Section titled “Render without the editor”Save this as scene.json in the main svertik checkout:
{ "version": 1, "document": { "width": 800, "height": 600 }, "objects": [{ "kind": "shape", "id": "star", "name": "Star", "shape": "star", "params": { "radius": 120, "innerRadius": 60, "points": 5, "fill": true, "fillColor": "#09fdd1" }, "stack": [] }]}pnpm svertik render scene.json -o scene.svgpnpm svertik render scene.json -o scene.png --scale 2For programmatic scenes, validate with validateScene before rendering. Every object and effect needs a unique ID in its scene.
Go further
Section titled “Go further”Read the engine guide for animation, scene coordinates, expressions, and the player. Explore scene recipes for complete examples.