Partition
type: "partition" · Generator: makes new geometry (copies, pieces, cuts…). · Editor menu: Deform.
Cuts each filled shape into pieces with straight, slightly tilted cuts, one at a time: every cut splits the largest piece across its longer side, near the middle (Balance: how far from it it may fall), turned up to Tilt degrees. Gap is the space between neighbouring pieces; the outer edge stays where it was. Each piece is an element (for Each, Color, Step, a Clone placed Inside per piece…). Seed varies the cuts; with the scene seed and Seed on load, every visit gets another composition. Drift (with Speed and Time) moves the cuts without reorganising them: the cuts are laid out once and each slides and turns a little with smooth noise, so the pieces breathe and keep their element numbers.
Parameters
Section titled “Parameters”| Param | Type | Default | Range | Notes |
|---|---|---|---|---|
pieces |
number | 9 |
min 2, max 64, step 1 | |
tilt |
angle | 14 |
degrees | |
gap |
number | 16 |
min 0, max 200, step 0.5 | unit: px |
balance |
number | 0.6 |
min 0, max 1, step 0.01 | shown as a percentage in the editor (0.5 is 50 %) |
seed |
seed | 1 |
integer | |
drift |
number | 0 |
min 0, max 1, step 0.01 | shown as a percentage in the editor (0.5 is 50 %); group: Motion |
speed |
number | 0.3 |
min 0, max 3, step 0.01 | group: Motion |
time |
number | 0 |
min 0, step 0.01 | unit: s; left out, it follows scene.time; group: Motion |
Missing parameters take their default. Numbers and angles (and points and colours) can be animated with a track { on: "modifier", modifier: "<id>", param: "<name>" } unless noted.
In a scene
Section titled “In a scene”Inside a node’s stack (effects run top to bottom):
{ "id": "partition-1", "type": "partition", "params": { "pieces": 9, "tilt": 14, "gap": 16, "balance": 0.6, "seed": 1, "drift": 0, "speed": 0.3, "time": { "$expr": "scene.time", "fallback": 0 } }}Generated from the schema of @svertik/engine. See the index.