Skip to content

Endless orbit

Use a time expression to keep a radial arrangement moving beyond the timeline.

Preview of endless orbit

Static preview at 1.5 seconds. Open the scene in the editor and press Play to see the motion.

Animation · Ellipse → Clone → Color + time expression

Download scene JSON · Open SVG preview

Download the JSON file and open it in svertik with Open or by dragging it onto the editor. The scene is complete and editable.

  1. Create a filled Ellipse with Width 38 and Height 72.
  2. Add Clone in Radial mode: Count 12, Radius 1.6, Align enabled.
  3. On Clone’s Start angle, enter the expression scene.time * 30 with a fallback of 0.
  4. Add Color in Gradient mode, from turquoise to pink, targeting Fill.
  5. Set the document duration to 12 seconds and enable Infinite time. Play the scene: the clock keeps advancing instead of restarting.

Run this from the main svertik checkout, replacing the input path with the downloaded file:

Terminal window
pnpm svertik render endless-orbit.json -o endless-orbit.svg

Infinite time keeps the live player running. Frame and video exports still use the scene’s configured 12-second duration.

{
"version": 1,
"notes": "An endless rotating ring. Infinite time keeps scene.time advancing; exports still use the 12-second duration.",
"document": {
"width": 640,
"height": 480
},
"objects": [
{
"kind": "shape",
"id": "orbit",
"name": "Orbit",
"shape": "ellipse",
"params": {
"width": 38,
"height": 72,
"fill": true,
"fillColor": "#09fdd1",
"stroke": false
},
"stack": [
{
"id": "orbit-clone",
"type": "clone",
"params": {
"mode": "radial",
"count": 12,
"radius": 1.6,
"align": true,
"startAngle": {
"$expr": "scene.time * 30",
"fallback": 0
}
}
},
{
"id": "orbit-color",
"type": "color",
"params": {
"mode": "gradient",
"from": "#09fdd1",
"to": "#fe7b96",
"target": "fill"
}
}
]
}
],
"animation": {
"duration": 12,
"infinite": true,
"loop": false,
"fps": 30,
"tracks": []
}
}

Clone · Color

Back to all recipes