Create JFA Voronoi
create_jfa_voronoiCreate a Voronoi cell pattern with Jump-Flooding algorithm, exposing live controls for palette, seeds, speed, jitter, edges, and colors.
Instructions
Instantiate a self-contained Jump-Flooding-Algorithm Voronoi generator (stained-glass / cell pattern) as GLSL TOPs — seeds → jfa_init → K halving passes → color_pass → null. Exposes live PaletteMode / SeedCount / Speed / Jitter / EdgeThickness / EdgeColor / ColorA / ColorB controls and previews the output TOP. Pass count auto-derives from resolution (log2(max(w,h))); override with step_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed_count | No | Number of Voronoi seeds (4..512). Drives the seed TOP width (next pow-2). | |
| speed | No | Animation speed multiplier driving uTime drift of seeds. Live 'Speed' control. | |
| palette_mode | No | random = HSV per seed; duotone = mix(ColorA, ColorB); from_image = sample image. | random |
| palette_image | No | Op path to a TOP sampled at seed UVs when palette_mode='from_image'. | |
| edge_thickness | No | Cell border width in UV units (0..0.05). Live 'EdgeThickness' control. | |
| edge_color | No | Border colour as hex (e.g. '#000000'). Live 'EdgeColor' RGB swatch. | #000000 |
| jitter | No | Per-seed drift amplitude (0 = static lattice). Live 'Jitter' control. | |
| color_a | No | Duotone primary hex. Live 'ColorA' swatch. | #ff3366 |
| color_b | No | Duotone secondary hex. Live 'ColorB' swatch. | #33ccff |
| resolution | No | Output resolution [width, height]; JFA pass count auto-derived from max axis. | |
| step_count | No | Manual JFA pass count (0 = auto = ceil(log2(max(w,h)))). | |
| expose_controls | No | Expose live PaletteMode/SeedCount/Speed/Jitter/EdgeThickness/EdgeColor/ColorA/ColorB. | |
| parent_path | No | Parent COMP path; container 'jfa_voronoi' is created inside. | /project1 |