Getting started
Esta página aún no está disponible en tu idioma.
Open the editor
Section titled “Open the editor”Open the hosted editor in a desktop browser, or play a demo first. The demos can also be opened in the editor to inspect their effect stacks and change their parameters.
Run it locally
Section titled “Run it locally”The editor source lives in the main svertik repository. To run it locally, 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, "inner": 0.5, "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.