Appearance
Vocabulary
Generated by npm run vocab:record. Do not edit.
Current version: 28
History
| Version | Summary |
|---|---|
| 1 | first recorded vocabulary: 29 primitives, 24 core and 5 extended |
| 2 | add graph primitive: a directed node/edge network with packet pulses travelling along the signal |
| 3 | add spectrum primitive: a labeled semantic axis with a signal-positioned marker |
| 4 | caption gains case, box, position and maxLines params |
| 5 | add diagram-build primitive: a labeled node-and-edge diagram revealed stepwise |
| 6 | add chapter-card primitive: an editorial title card with a fade/hold rhythm |
| 7 | add type-reveal: sequential word/line text reveal with an accent emphasis span |
| 8 | add quote-card: centered quotation with attribution, rule and an optional word reveal |
| 9 | add rig: layered cut-out character with named-scalar posing and signal-driven mouth |
| 10 | add emitter: seeded closed-form particle emitter with shapes, sources and an energy burst |
| 11 | add figure: schematic human silhouettes in arrangements with stances, highlight and staggered reveal |
| 12 | figure x/y/scale and wave/cheer stances; grid solid; rig wave/present/reach poses; thickness on radial, lissajous, shape, rings and graph, wave thickness up to 32 |
| 13 | grid and checker pattern and breaks (designed grids) |
| 14 | spec 021: dither primitive (ordered Bayer gradient through palette roles); caption margin |
| 15 | spec 022: image primitive (declared, digest-pinned assets; placement, scrolling, colour modes) |
| 16 | spec 023: sprite sheets on image (sheetCols, sheetRows, frames, fps, frameStart) |
| 17 | tone2 on bars and rings: a second tone (fg2) on alternate or peak bars and alternate rings |
| 18 | add versus-bars and hud-score: a data-bound arcade HUD (coords and labels) |
| 19 | add ticker primitive: the frame's labels as a scrolling news band, the centre item emphasised on loud frames |
| 20 | add line-chart primitive: the frame's coords (or the spectrum) as a revealed polyline over light axes, the newest point an accent head |
| 21 | dither matrix 2: a 2x2 Bayer checkerboard for the Genesis colour mix (palette profiles, spec 028) |
| 22 | sprite pose (auto, punch, hit, ko) and variant (main, alt), and the fighter character (spec 029) |
| 23 | add stickman: the default avatar, an articulated stick figure with actions, targets, speech, coords-driven moves, crowds and six styles |
| 24 | stickman: bow and spin actions, and x from -0.5 to 1.5 so figures can stand off-frame and walk in (spec 031) |
| 25 | Place anything (spec 032): grid x, y, width, height, gap and colors; x/y on rings, orbits, particles, shape, spiral and led; rings radius and period; led width and size; emitter colour and source point |
| 26 | data-bars: a labelled bar chart of the caller's coords and labels, growing on a frame schedule (issue #209) |
| 27 | hypercube: the n-cube wireframe turning in one plane, projected with perspective (issue #210) |
| 28 | five contrib primitives: stat-callout, timeline, table-reveal, lower-third, speed-lines (issues #135, #136, #137, #138, #142) |
52 primitives: 25 core, 5 extended, 22 contrib, 0 legacy
Primitives
| Type | Category | Tier | Replaced by | Description |
|---|---|---|---|---|
grid | structure | core | matrix grid of cells lit by the frequency spectrum, or drawn from a pattern of rows split by / (. off, # fg, a accent, ~ spectrum); breaks like '3,2 r15; 5,1 dx0.5' rotate or shift single cells | |
barcode | structure | core | dense scrolling vertical barcode of the signal | |
checker | structure | core | a checkerboard whose squares flip with the spectrum, or follow a pattern of rows split by / tiled across the squares (. off, # fg, a accent, ~ spectrum); breaks like '3,2 r15; 5,1 dx0.5' rotate or shift single squares | |
dither | structure | contrib | an ordered (Bayer) dither gradient through up to six palette roles in a rectangular region — dithered skies, ground, props and UI bars for DOS/VGA-style scenes; exact colours, no blending | |
image | structure | contrib | a declared image asset (spec assets: id + sha256), placed, fitted, cropped, flipped, faded and optionally tiled and scrolled for backgrounds and parallax; in the art's own colours in creative mode, or mapped to the palette; nearest-sampled at whole pixels in pixel mode | |
bars | signal-bars | core | vertical magnitude-spectrum bars; whole pixels in pixel mode | |
hbars | signal-bars | core | horizontal magnitude bars growing from the left edge; whole pixels in pixel mode | |
versus-bars | signal-bars | contrib | two opposed arcade health bars with damage tails, read from the frame's coords (coords[0] left, coords[1] right: x = health, y = damage tail, 0..1); without coords they show the low and high spectrum halves; whole-pixel edges, angled ends as pixel steps | |
line-chart | structure | contrib | a line chart: the frame's coords (each coord's y is a value, 0 bottom to 1 top, in order) or, without coords, the spectrum, as a polyline over two light axes, drawn left to right up to reveal; the newest point is an accent head that grows with the signal | |
radial | signal-bars | core | a circular/polar spectrum radiating from the center | |
wave | signal-line | core | an oscilloscope/seismograph line of the signal | |
lissajous | signal-line | core | a Lissajous curve traced from the waveform | |
particles | geometry | core | a rotating ring of squares sized by the spectrum; whole pixels in pixel mode | |
orbits | geometry | core | concentric counter-rotating rings of points | |
dots | geometry | core | a scattered star-field of points keyed to the spectrum (deterministic) | |
shape | geometry | core | a reactive polygon at center, radius pulsing with amplitude | |
rings | geometry | core | concentric expanding circles that pulse with the beat; whole pixels in pixel mode | |
spiral | geometry | core | a spiral of points winding out from the center | |
scan | motion | core | sweeping scanlines revealed where the signal is high | |
flash | motion | core | a full-frame flash/invert on loud moments (beat) | |
sweep | motion | core | a bright vertical bar sweeping across the frame | |
noise | motion | core | deterministic seeded digital noise gated by energy | |
caption | text | core | a closed-caption box of the active text/label, with optional case, box style and position | |
rain | text | core | Matrix-style digital rain of the active text characters | |
text | text | core | the active label as large centered text | |
crosshair | text | core | a coordinate crosshair + numeric read-out (data-screen) | |
led | text | core | an LED dot-matrix sign: scrolling text or a named pixel icon (car, coffee, heart, home, music, ...), with an animated effect that reacts to the audio (glow/pulse/blink/equalize/sparkle/wipe) | |
stickman | sprite | core | animspec's default avatar: an articulated stick figure that acts (idle, walk, run, jump, punch, kick, hit, fall, ko, wave, dance), points, presents, reaches or looks at a target, speaks the frame's label in a bubble, stands where the frame's coords say, hops on the beat, and draws as one figure or a crowd of up to 12; styles classic, bold, outline, chibi, pixel and joints | |
sprite | sprite | extended | an animated chunky-pixel character (built-in mascot/bot/ghost, or any named pixel icon) that walks/bounces/orbits, faces its direction of travel, switches to an idle/jump pose, and hops on the beat — a composable actor, quantizes with the retro palette; hero is a 16-bit-era character whose parts (outline, hair, hair-light, skin, eyes, gold, cloak, cloak-shade, tunic, boots) take colours from the spec's roles in creative mode | |
rig | sprite | contrib | a layered cut-out character (head, eyes, mouth, torso, arms) in a built-in vector rig — host, bot or cel — posed by named scalars, with the mouth driven by the signal for talking hosts and characters | |
tetris | structure | extended | a Game Boy-style tetromino playfield: a stacked block terrain and falling pieces that speed up with the beat — pairs with the gameboy-dmg profile; whole pixels in pixel mode | |
mesh3d | geometry | core | a rotating 3D wireframe projected to the 2D canvas: a spectrum terrain (waterfall) or a point-cloud globe (uses map coords when present) — driven by the signal | |
plasma | geometry | extended | a flowing demoscene plasma field (grayscale; colorize with a palette such as neon or pico8) | |
gridhorizon | geometry | extended | a Tron/synthwave perspective grid receding to a horizon with a sun — pairs with the neon palette | |
tunnel | geometry | extended | a rotating demoscene tunnel: concentric rings rushing outward with rotating spokes | |
graph | structure | contrib | a directed network of nodes and edges with packet pulses travelling along the signal | |
spectrum | structure | contrib | a labeled semantic axis: two pole labels, an optional title, and a marker the signal positions | |
diagram-build | structure | contrib | a labeled node-and-edge diagram built stepwise on a deterministic frame schedule, from frame coords/labels | |
chapter-card | text | contrib | an editorial title card — kicker, rule, title and optional subtitle — with a deterministic fade/hold rhythm | |
type-reveal | text | contrib | kinetic text reveal: the layer's own words (or lines) appear one by one on a frame schedule and then hold, with an optional accent emphasis span | |
hud-score | text | contrib | arcade HUD read-outs from the frame's labels: shooter = 1UP score, HI-SCORE and CREDIT (labels: score, hi-score, credits); versus = a centre timer and two names (labels: timer, left, right); the emphasised item inverts on loud frames | |
ticker | text | contrib | a scrolling news ticker: the frame's labels joined by separators, scrolling right to left in one band; the item crossing the centre turns accent when the signal is loud (led scrolls dot-matrix text instead) | |
quote-card | text | contrib | a centered quotation with an attribution line beneath it and an optional thin rule — the quote revealing word by word, the attribution appearing once it completes | |
emitter | geometry | contrib | a seeded particle emitter: petals, sparks, dust, snow or embers spawn from an edge or the centre and fall, drift or burst on the signal — a stateless closed form, so any frame renders alone; opaque whole-pixel squares in pixel mode | |
figure | structure | contrib | minimal schematic human silhouettes in a row, cluster or split arrangement — stand, walk, sit, point, fallen or grouped — with a highlightable figure and staggered reveal, for thought-experiment staging | |
data-bars | structure | contrib | a labelled bar chart of the caller's numbers: one bar per frame coord (its y is the value, 0..1, already scaled), named by the frame's labels in order; bars grow in on a frame schedule, staggered, then hold; one highlight bar in accent, a thin baseline, optional value ticks; without coords the bars show the spectrum | |
hypercube | geometry | contrib | the wireframe of an n-dimensional cube (dims 3-6: 2^n vertices, n·2^(n-1) edges) turning in one axis plane by frame time, projected with perspective one dimension at a time down to 2D; edges along the highest dimension can be drawn in accent to show how the shape is built | |
stat-callout | text | contrib | one big number counting up from 0 to the active label's number (the text around it, such as % or a currency sign, drawn as its unit in accent), with a small caption line from the frame's second label; the shown value steps at most 4 times a second (2 with reducedFlicker) so the large digits never strobe, then holds (text shows a label without counting) | |
timeline | structure | contrib | a horizontal timeline: an axis with event ticks named by the frame's labels (event i at coords[i].x along the axis when given, else evenly spaced) and a playhead that advances with frame time; the elapsed part of the axis is thick, and the event the playhead passed last is drawn in accent | |
table-reveal | text | contrib | a small table of text: row i is the frame's labels[i] split on ` | |
lower-third | text | contrib | a broadcast lower-third from the active label `Name | |
speed-lines | motion | contrib | manga speed lines: tapered lines running in from beyond the frame edge toward a focus point, leaving a clear centre (radial), or tapered parallel streaks at an angle with a clear band through the focus (parallel); the signal level sets how many lines show and how far they reach, and their length jitters every frame (held still with reducedFlicker) |
Params
Every param is optional: a missing or out-of-range value takes the default or is clamped by validateAnimSpec.
grid
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
cols | number | 2 – 200 | 32 | |
rows | number | 2 – 200 | 18 | |
threshold | number | 0 – 1 | 0.15 | |
gridlines | boolean | true / false | false | |
solid | boolean | true / false | false | lit cells at full opacity on whole pixels, for print and other hard-alpha targets |
pattern | string | up to 4159 characters | (empty) | one letter per cell, rows split by /: . off, # fg, a accent, b second tone (roles.fg2 in creative mode, else mid grey), ~ spectrum; sets the grid size, at most 64 x 64 cells (64 x 36 fills a 16:9 frame with square cells, 36 x 64 a 9:16 one; with colors, 1-9 and A-F are palette colours; spaces count toward the length) |
breaks | string | up to 512 characters | (empty) | cells to turn or shift, e.g. '3,2 r15; 5,1 dx0.5 dy-0.25' (col,row from 0; r degrees -45..45; dx/dy cells -1..1) |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
width | number | 0.01 – 2 | 1 | width of the grid as a fraction of the frame width; for square cells, height = width x (frame width / frame height) x rows / cols |
height | number | 0.01 – 2 | 1 | height of the grid as a fraction of the frame height |
colors | string | up to 400 characters | (empty) | comma-separated role names (bg, fg, accent or a roles name), up to 15: the pattern digits 1-9 and A-F draw them in order, for 16-bit style shaded art; bg is a solid background cell; digits read as off when empty |
gap | number | 0 – 16 | 1 | empty pixels left on each side of every cell; 0 makes solid, seamless pixel art |
barcode
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
colW | number | 1 – 20 | 3 | |
threshold | number | 0 – 1 | 0.5 | |
scroll | number | 0 – 10 | 0 |
checker
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
size | number | 8 – 120 | 40 | |
threshold | number | 0 – 1 | 0.4 | |
pattern | string | up to 4159 characters | (empty) | one letter per square, at most 64 x 64, rows split by /, tiled from the top-left: . off, # fg, a accent, b second tone (roles.fg2 in creative mode, else mid grey), ~ spectrum (spaces count toward the length) |
breaks | string | up to 512 characters | (empty) | squares to turn or shift, e.g. '3,2 r15; 5,1 dx0.5 dy-0.25' (col,row from 0; r degrees -45..45; dx/dy cells -1..1) |
dither
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
colors | string | up to 120 characters | bg,fg | comma-separated role names (bg, fg, accent or a roles name), 1–6 stops |
x0 | number | 0 – 1 | 0 | region left, 0..1 |
y0 | number | 0 – 1 | 0 | region top, 0..1 |
x1 | number | 0 – 1 | 1 | region right, 0..1 |
y1 | number | 0 – 1 | 1 | region bottom, 0..1 |
matrix | enum | 8, 4, 2 | 8 | Bayer matrix size (2: a checkerboard at the half level, the Genesis colour mix) |
direction | enum | vertical, horizontal | vertical | gradient axis |
chunk | number | 1 – 8 | 1 | dither cell size in pixels |
drive | enum | level, none | level | level: stop boundaries shimmer with the signal (up to a quarter stop); none: static scenery |
image
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
asset | string | up to 16 characters | main | the id of an asset declared in the spec's assets |
x | number | 0 – 1 | 0.5 | anchor position X, 0..1 |
y | number | 0 – 1 | 0.5 | anchor position Y, 0..1 |
anchor | enum | center, top-left, top, top-right, left, right, bottom-left, bottom, bottom-right | center | which point of the image sits at x, y |
fit | enum | contain, cover, stretch, none | contain | contain inside the frame, cover it, stretch to it, or keep the asset's size |
scale | number | 0.05 – 8 | 1 | size multiplier after the fit |
srcX | number | 0 – 1 | 0 | source rect left, fraction of the asset |
srcY | number | 0 – 1 | 0 | source rect top, fraction of the asset |
srcW | number | 0 – 1 | 1 | source rect width, fraction of the asset |
srcH | number | 0 – 1 | 1 | source rect height, fraction of the asset |
sheetCols | number | 1 – 64 | 1 | sprite sheet columns |
sheetRows | number | 1 – 64 | 1 | sprite sheet rows |
frames | number | 0 – 4096 | 0 | frames used, in reading order; 0 = every cell |
fps | number | 0 – 60 | 8 | sheet playback rate; 0 holds frameStart |
frameStart | number | 0 – 4095 | 0 | first frame of the cycle |
flip | enum | none, x, y, xy | none | mirror the image |
opacity | number | 0 – 1 | 1 | image opacity |
smoothing | enum | nearest, smooth | nearest | nearest keeps pixel art crisp; smooth filters when scaling |
colour | enum | asset, palette | asset | asset: the art's own colours (creative mode only); palette: each pixel mapped to the nearest palette colour |
wrap | enum | none, x, xy | none | tile the image across the frame |
scrollX | number | -4 – 4 | 0 | scroll speed, frame widths per second |
scrollY | number | -4 – 4 | 0 | scroll speed, frame heights per second |
drive | enum | level, none | level | level: a small size pulse with the signal; none: static |
bars
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
baseline | enum | bottom, middle | bottom | |
heightFrac | number | 0.05 – 1 | 0.7 | |
tone2 | enum | none, alternate, peak | none | second tone (roles.fg2 in creative mode, else mid grey): alternate = odd bars, peak = the loudest bar instead of the accent |
hbars
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
heightFrac | number | 0.2 – 1 | 0.9 |
versus-bars
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
y | number | 0 – 0.9 | 0.06 | top of the bars, fraction of height |
height | number | 0.01 – 0.2 | 0.045 | bar thickness, fraction of height |
gap | number | 0 – 0.5 | 0.12 | centre gap between the bars (room for a timer), fraction of width |
angle | number | 0 – 45 | 8 | slant of the outer ends in degrees, drawn as whole-pixel steps (0 = square) |
tail | boolean | true / false | true | draw the damage tail (from health up to the tail value) |
drive | enum | level, none | level | level: the damage tail flashes to the foreground on loud frames (a hit); none: static |
line-chart
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
points | number | 2 – 64 | 16 | points sampled from the coords or the spectrum |
reveal | number | 0 – 1 | 1 | fraction of the line drawn, left to right (bind it to animate the reveal) |
axes | boolean | true / false | true | draw the two light axes (faint foreground) |
fill | boolean | true / false | false | fill the area under the drawn line (faint foreground) |
thickness | number | 1 – 8 | 2 | line width in pixels |
radial
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
inner | number | 0.05 – 0.4 | 0.12 | |
len | number | 0.1 – 0.5 | 0.3 | |
thickness | number | 1 – 32 | 2 | line width in pixels |
wave
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
amp | number | 0.05 – 1 | 0.6 | |
thickness | number | 1 – 32 | 2 | |
fill | boolean | true / false | false |
lissajous
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
scale | number | 0.2 – 0.9 | 0.7 | |
thickness | number | 1 – 32 | 2 | line width in pixels |
particles
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
count | number | 1 – 500 | 96 | |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
orbits
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
rings | number | 1 – 12 | 5 | |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
dots
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
count | number | 10 – 800 | 240 |
shape
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
sides | number | 3 – 12 | 6 | |
size | number | 0.1 – 0.5 | 0.3 | |
thickness | number | 1 – 32 | 3 | line width in pixels |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
rings
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
count | number | 1 – 12 | 5 | |
thickness | number | 1 – 32 | 2 | line width in pixels |
tone2 | enum | none, alternate | none | second tone (roles.fg2 in creative mode, else mid grey) on even rings, counted from 1 |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
radius | number | 0.02 – 1 | 0.45 | largest ring radius, as a fraction of the shorter frame side |
period | number | 0.5 – 60 | 10 | seconds for a ring to grow from the centre to the edge and repeat; a clip of this length loops cleanly |
spiral
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
points | number | 20 – 600 | 200 | |
turns | number | 1 – 12 | 5 | |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
scan
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
axis | enum | h, v | h | |
speed | number | 0 – 10 | 2 | |
threshold | number | 0 – 1 | 0.6 |
flash
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
threshold | number | 0.1 – 1 | 0.6 |
sweep
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
speed | number | 0.2 – 6 | 1.5 | |
width | number | 1 – 30 | 4 |
noise
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
density | number | 0 – 1 | 0.4 |
caption
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
case | enum | upper, asis | upper | letter case of the caption text |
box | enum | solid, none, outline | solid | treatment of the box behind the text |
position | enum | bottom, top, center | bottom | where the caption block sits |
maxLines | number | 1 – 3 | 3 | most lines to show |
margin | number | 0 – 4 | 1 | distance of the text from the top or bottom edge, in font-heights (no effect at center) |
rain
No params.
text
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
pos | enum | center, top, bottom | center |
crosshair
No params.
led
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
text | string | up to 40 characters | (empty) | message to scroll; uses the active caption if empty |
icon | string | up to 24 characters | (empty) | a pixel-icon name (pixelarticons), e.g. car, coffee, heart, home, music |
scroll | boolean | true / false | true | scroll the text horizontally |
effect | enum | glow, pulse, blink, equalize, sparkle, wipe, static | glow | animation: glow=breathe with level, pulse=whole-sign pulse, blink=beat blink, equalize=spectrum VU bars, sparkle=twinkle, wipe=reveal sweep, static=off |
reactive | boolean | true / false | true | modulate brightness by the audio (off = constant) |
sensitivity | number | 0 – 1 | 0.6 | how hard the effect reacts to level |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre, as a fraction of the frame; below 0 or above 1 is off-frame |
y | number | -0.5 – 1.5 | 0.5 | vertical centre, as a fraction of the frame; below 0 or above 1 is off-frame |
width | number | 0.02 – 1 | 1 | width of the sign as a fraction of the frame width |
size | number | 0 – 1 | 0 | height of the sign (11 dot rows) as a fraction of the frame height; 0 = automatic, about 65% of the height |
stickman
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
action | enum | idle, walk, run, jump, punch, kick, hit, fall, ko, wave, dance, point, present, reach, look, bow, spin | idle | what the figure does; point, present, reach and look aim at targetX/targetY; fall tips over once and stays down; bow bows from the hips; spin turns once round in place (direction from facing) |
style | enum | classic, bold, outline, chibi, pixel, joints | classic | classic thin limbs; bold heavy limbs; outline a hollow head; chibi a large head; pixel whole-pixel limbs (also every style under pixelMode); joints accent head, hands and feet with joint dots |
colour | enum | fg, accent, fg2 | fg | the figure's palette role (fg2: roles.fg2 in creative mode, else mid grey) |
x | number | -0.5 – 1.5 | 0.5 | horizontal centre of the figure (or crowd); 0 and 1 are the frame edges, so values near them show half the figure; below 0 or above 1 stands off-frame, e.g. bind x from -0.2 to 0.5 for a walk-in |
y | number | 0 – 1 | 0.86 | ground line the feet stand on, 0..1 |
scale | number | 0.05 – 1 | 0.5 | figure height as a fraction of the frame height |
facing | enum | auto, right, left | auto | auto faces the target (target actions), the travel direction, or right |
speed | number | 0 – 4 | 1 | tempo multiplier for the action |
travel | number | -1 – 1 | 0 | move across the frame in frame widths per second, wrapping at the edges (0 = stay) |
thickness | number | 1 – 16 | 3 | limb thickness in pixels at a 120 px tall figure, scaling with size (bold doubles it) |
headScale | number | 0.5 – 2.5 | 1 | head size multiplier (chibi multiplies it by 1.6) |
targetX | number | 0 – 1 | 0.8 | target x for point, present, reach and look, 0..1 |
targetY | number | 0 – 1 | 0.35 | target y for point, present, reach and look, 0..1 |
speech | boolean | true / false | false | speak the frame's label in a bubble (cut to 40 characters; one speaker per layer) |
from | enum | params, coords | params | coords: figure i stands at coords[index + i] (x centre, -0.5..1.5 so a host can move it off-frame; y ground), else at its params |
index | number | 0 – 63 | 0 | the first coords entry read when from is coords |
drive | enum | level, beat, none | level | level: a bob that grows with the signal; beat: plus a hop on loud frames; none: static |
count | number | 1 – 12 | 1 | figures in this layer (a crowd shares the action, each with its own seeded phase and size) |
arrangement | enum | row, cluster, split | row | crowd placement: row evenly spaced, cluster seeded depth-sorted jitter, split two groups facing each other |
highlight | number | 0 – 12 | 0 | 1-based figure drawn in the accent (and the speaker when speech is on); 0 = none |
sprite
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
character | string | up to 24 characters | mascot | built-in multi-pose character: mascot, bot, ghost, hero, fighter, ship (v2, coloured by roles in creative mode; fighter has punch, hit and ko poses). Falls back to icon, then mascot |
icon | string | up to 24 characters | (empty) | a pixel-icon name (pixelarticons) used as a single-frame sprite when no character matches |
scale | number | 2 – 48 | 12 | pixels per sprite cell (chunky block size) |
motion | enum | walk, static, bounce, orbit | walk | walk=cross the frame, static=fixed at x/y (idle pose), bounce=side-to-side, orbit=circle the center |
speed | number | 0 – 5 | 1 | motion speed |
x | number | 0 – 1 | 0.5 | anchor X for static/bounce center, 0..1 |
y | number | 0 – 1 | 0.72 | ground line / anchor Y, 0..1 |
animFps | number | 0 – 24 | 6 | walk/idle cycle rate in frames per second (0 = hold frame 0) |
jump | boolean | true / false | true | hop upward (and switch to the jump pose) on loud beats |
reactive | boolean | true / false | true | react to the audio (bob + jump); off = a steady march |
faceLeft | boolean | true / false | false | initial facing when not moving; travel direction overrides it |
pose | enum | auto, punch, hit, ko | auto | auto: walk, idle or jump by motion and beat; punch, hit, ko: hold that fighting pose (characters that have it, e.g. fighter; else auto). Switch poses over time with sequence clips |
variant | enum | main, alt | main | alt: each part takes roles['<role>-alt'] when the spec gives one (a player-two palette swap), else its usual colour |
rig
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
rig | enum | host, bot, cel | host | built-in vector rig (external rigs are a host plugin, not this primitive) |
mouthOpen | number | 0 – 1 | 0 | mouth opening; with drive=amplitude the frame's amplitude is added on top |
eyeOpen | number | 0 – 1 | 1 | eye openness (a seeded blink closes them briefly every ~2 s) |
headAngle | number | -45 – 45 | 0 | head tilt in degrees, positive clockwise |
pose | enum | idle, talk, point, shrug, cheer, wave, present, reach | idle | arm configuration (wave = right arm raised, present = both arms open forward, reach = right arm reaching out and up) |
x | number | 0 – 1 | 0.5 | horizontal centre, 0..1 |
y | number | 0 – 1 | 0.6 | ground line, 0..1 |
scale | number | 0.1 – 1 | 0.5 | figure height as a fraction of frame height |
drive | enum | none, amplitude | amplitude | fold the frame's amplitude into the mouth opening |
tetris
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
cols | number | 6 – 16 | 10 | |
speed | number | 0.2 – 4 | 1 | |
pieces | number | 0 – 6 | 3 |
mesh3d
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
mode | enum | waterfall, globe | waterfall | |
rotate | number | 0 – 3 | 0.5 | |
density | number | 16 – 96 | 48 |
plasma
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
scale | number | 4 – 24 | 11 | |
speed | number | 0.2 – 4 | 1.2 |
gridhorizon
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
speed | number | 0 – 4 | 1 |
tunnel
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
rings | number | 6 – 40 | 20 | |
speed | number | 0.2 – 4 | 1 |
graph
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
nodes | number | 3 – 64 | 12 | |
topology | enum | mesh, tree, ring, random | mesh | |
packetSpeed | number | 0.1 – 5 | 1 | |
directed | boolean | true / false | true | |
thickness | number | 1 – 32 | 1 | edge width in pixels |
spectrum
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
minLabel | string | up to 40 characters | quiet | label at the left pole |
maxLabel | string | up to 40 characters | loud | label at the right pole |
title | string | up to 80 characters | (empty) | heading drawn above the axis |
followSignal | boolean | true / false | true | marker follows the signal amplitude |
value | number | 0 – 1 | 0.5 | marker position when followSignal is false |
markerLabel | string | up to 40 characters | (empty) | label drawn at the marker |
x | number | 0 – 1 | 0.5 | axis centre, 0-1 of frame width |
y | number | 0 – 1 | 0.5 | axis centre, 0-1 of frame height |
width | number | 0 – 1 | 0.7 | axis length, 0-1 of frame width |
labelSize | number | 10 – 64 | 26 | label and title size in px |
diagram-build
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
topology | enum | chain, ring, mesh, star | chain | how the nodes connect |
startFrame | number | 0 – 1000000 | 0 | frame the build starts on |
framesPerStep | number | 1 – 600 | 18 | frames between reveal steps |
order | enum | nodesThenEdges, interleaved | nodesThenEdges | reveal order |
nodeShape | enum | box, circle | box | node shape |
labelSize | number | 10 – 64 | 28 | label size in px |
chapter-card
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
kicker | string | up to 80 characters | (empty) | small overline above the title (accent) |
title | string | up to 120 characters | (empty) | the chapter title; the active label when empty |
subtitle | string | up to 160 characters | (empty) | optional line under the title |
fadeFrames | number | 0 – 120 | 30 | frames to fade in and out |
holdFrames | number | 0 – 600 | 90 | frames to hold at full opacity (0 = hold forever) |
kickerSize | number | 10 – 160 | 28 | kicker font size in px |
titleSize | number | 10 – 160 | 72 | title font size in px |
subtitleSize | number | 10 – 160 | 32 | subtitle font size in px |
type-reveal
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
text | string | up to 500 characters | (empty) | the text to reveal — the spec carries its own words; the active label when empty |
mode | enum | word, line | word | reveal one word or one line per step |
startFrame | number | 0 – 1000000 | 0 | frame the first unit appears |
framesPerUnit | number | 1 – 600 | 12 | frames between units |
fontSize | number | 12 – 160 | 48 | base font size in px |
emphasisStart | number | -1 – 10000 | -1 | first emphasised unit index (-1 = no emphasis) |
emphasisEnd | number | -1 – 10000 | -1 | last emphasised unit index (-1 = no emphasis) |
x | number | 0 – 1 | 0.5 | block anchor x, normalised (centre of the wrap box, whatever the align) |
y | number | 0 – 1 | 0.45 | block anchor y, normalised (centre of the visible block) |
align | enum | left, center, right | center | row alignment inside the wrap box, which is centred on x: left starts rows at x − maxWidth/2, not at x; keep the box inside the frame for edge labels |
maxWidth | number | 0 – 1 | 0.8 | wrap-box width, normalised |
hud-score
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
layout | enum | shooter, versus | shooter | shooter: labels are score, hi-score, credits; versus: labels are timer, left name, right name |
size | number | 0.02 – 0.12 | 0.05 | text height, fraction of frame height (at least 10 px) |
captions | boolean | true / false | true | draw the fixed captions 1UP, HI-SCORE and CREDIT |
drive | enum | level, none | level | level: on loud frames 1UP (or the timer) draws inverted; none: static |
ticker
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
speed | number | 0 – 10 | 2 | scroll speed in tenths of the frame width per second (0 = still) |
band | boolean | true / false | true | draw the band: a background strip between two foreground rules |
position | enum | bottom, top | bottom | where the band sits |
separator | enum | dot, bar, diamond | dot | the mark between items |
quote-card
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
quote | string | up to 400 characters | (empty) | the quotation — the spec carries its own words; the active label when empty |
attribution | string | up to 120 characters | (empty) | the provenance line under the rule; omitted when empty |
reveal | boolean | true / false | true | reveal the quote word by word (false = always show the full card) |
framesPerUnit | number | 1 – 600 | 14 | frames between words of the quote |
quoteSize | number | 10 – 120 | 40 | quote font size in px |
attrSize | number | 10 – 120 | 26 | attribution font size in px |
rule | boolean | true / false | true | thin rule between quote and attribution |
maxWidth | number | 0 – 1 | 0.75 | wrap-box width, normalised |
emitter
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
shape | enum | petal, spark, dust, snow, ember | dust | particle look |
source | enum | top, bottom, center, left, right, point | top | where particles spawn; point = at x, y, falling in a cone of spread |
rate | number | 0 – 200 | 30 | particles per second |
life | number | 0.2 – 20 | 4 | particle lifetime in seconds |
speed | number | 0 – 1 | 0.1 | emission speed in frame heights per second |
spread | number | 0 – 180 | 30 | emission cone width in degrees |
gravity | number | -1 – 1 | 0.1 | downward pull in frame heights per second squared (negative rises) |
burst | number | 0 – 1 | 0 | energy threshold that doubles the density and flashes the source (0 = off) |
size | number | 1 – 64 | 6 | particle size in px at 1080p |
x | number | -0.5 – 1.5 | 0.5 | horizontal spawn point for source point, as a fraction of the frame |
y | number | -0.5 – 1.5 | 0.5 | vertical spawn point for source point, as a fraction of the frame |
colour | enum | fg, accent, fg2 | fg | the particles' palette role (fg2: roles.fg2 in creative mode, else mid grey) |
figure
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
count | number | 1 – 12 | 1 | number of figures |
stance | enum | stand, walk, sit, point, fallen, group, wave, cheer | stand | the stance every figure takes (group = a tight huddle; wave = one arm raised; cheer = both arms raised) |
arrangement | enum | row, cluster, split | row | row = evenly spaced, cluster = seeded jitter around centre, split = two groups left and right |
highlight | number | 0 – 12 | 0 | 1-based figure index drawn in the accent colour (0 = none) |
style | enum | solid, outline | solid | solid silhouettes or outlines |
labels | boolean | true / false | true | draw the frame's labels beneath the figures (names from the signal) |
reveal | number | 0 – 10 | 0 | seconds between figures appearing (0 = all shown immediately) |
x | number | 0 – 1 | 0.5 | horizontal centre of the arrangement, as a fraction of the width |
y | number | 0 – 1 | 0.78 | ground line the figures stand on, as a fraction of the height |
scale | number | 0.1 – 1 | 0.42 | figure height as a fraction of the frame height |
data-bars
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
orientation | enum | vertical, horizontal | vertical | vertical: bars rise from a bottom baseline, labels below; horizontal: bars run right from a left baseline, labels beside |
count | number | 1 – 32 | 8 | bars read from coords[0..count-1] (fewer when the frame has fewer coords) |
startFrame | number | 0 – 100000 | 0 | frame on which the first bar starts to grow |
framesPerBar | number | 1 – 120 | 8 | frames between one bar starting and the next |
growFrames | number | 1 – 240 | 18 | frames one bar takes to grow to its value |
highlight | number | -1 – 31 | -1 | index of the bar drawn in accent (from 0); -1 for none |
gap | number | 0 – 0.8 | 0.25 | gap between bars, as a fraction of each bar's slot |
labels | boolean | true / false | true | draw labels[i] under (or beside) bar i, in the spec's font |
values | boolean | true / false | false | draw a small tick and the bar's percentage of full scale at its end |
x | number | 0 – 1 | 0.5 | horizontal centre of the chart's box, as a fraction of the frame width |
y | number | 0 – 1 | 0.5 | vertical centre of the chart's box, as a fraction of the frame height |
w | number | 0 – 1 | 0.8 | width of the chart's box, as a fraction of the frame width |
h | number | 0 – 1 | 0.7 | height of the chart's box, as a fraction of the frame height |
hypercube
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
dims | number | 3 – 6 | 4 | the cube's dimension (whole number): 3 cube, 4 tesseract, up to 6 |
plane | enum | xw, yw, zw, xy, xz, yz, wv | xw | the axis plane it turns in (axes x y z w v); an axis beyond dims falls back to the highest axis, and a plane that then collapses turns in the two highest axes |
speed | number | 0 – 2 | 0.25 | turns per second in that plane, by frame time |
tilt | number | -1 – 1 | 0.35 | a fixed tilt of the 3D shadow before the last projection, so it is never seen edge-on (0 = none) |
distance | number | 1.5 – 8 | 3 | camera distance for the perspective at each projection step (lower = stronger perspective) |
size | number | 0.05 – 1 | 0.5 | the shape's size, as a fraction of the frame height |
accentNew | boolean | true / false | true | draw the edges along the highest dimension in accent |
vertices | boolean | true / false | true | draw a dot at each vertex |
thickness | number | 0.5 – 8 | 2 | line width in pixels |
x | number | 0 – 1 | 0.5 | horizontal centre, as a fraction of the frame width |
y | number | 0 – 1 | 0.5 | vertical centre, as a fraction of the frame height |
drive | enum | none, level | level | level: the signal's amplitude adds up to a quarter turn to the rotation, for music; none: frame time only |
stat-callout
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
duration | number | 0.2 – 5 | 1.5 | seconds the count takes, from frame time 0; it then holds the label's value |
size | number | 0.1 – 0.6 | 0.3 | height of the number, as a fraction of the frame height (smaller when the label would not fit the width) |
position | enum | center, left, right | center | horizontal placement of the number and its caption |
decimals | number | 0 – 3 | 0 | digits shown after the decimal point (whole number) |
drive | enum | level, none | level | level: a short accent meter under the number follows the signal level; none: no meter |
timeline
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
events | number | 1 – 12 | 5 | how many events to place (whole number); event i is named by labels[i] |
progress | number | 0 – 1 | 0 | added to the clock-driven playhead, as a fraction of the axis; bind it to move the playhead by a signal |
period | number | 0 – 600 | 10 | seconds for the playhead to cross the axis, then it starts again; 0 = no clock, the playhead sits at progress |
y | number | 0 – 1 | 0.6 | height of the axis, as a fraction of the frame height |
labels | boolean | true / false | true | draw labels[i] at event i, alternating below and above the axis |
drive | enum | level, none | level | level: the playhead marker grows with the signal level; none: a fixed size |
table-reveal
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
cols | number | 1 – 6 | 3 | columns (whole number); a row's cells past this are dropped |
rows | number | 1 – 8 | 4 | most rows (whole number), read from labels[0..rows-1] |
interval | number | 0.1 – 3 | 0.6 | seconds between one row appearing and the next, from frame time 0 |
rules | boolean | true / false | true | hairlines under the revealed rows |
drive | enum | level, none | level | level: the current row's marker lengthens with the signal level; none: a fixed marker |
lower-third
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
hold | number | 1 – 10 | 4 | seconds held on screen between the 0.4 s slide in and the 0.4 s slide out |
side | enum | left, right | left | which side it sits on and slides in from |
bar | enum | solid, line, none | line | solid: the name on an accent panel, in the background colour, with the rule under it; line: an accent rule under the name; none: text only |
y | number | 0.5 – 0.95 | 0.82 | vertical centre of the block, as a fraction of the frame height |
drive | enum | level, none | level | level: the rule lengthens with the signal level; none: a full-length rule |
speed-lines
| Param | Type | Range / values | Default | Description |
|---|---|---|---|---|
mode | enum | radial, parallel | radial | radial: lines converge on the focus; parallel: streaks along angle |
count | number | 8 – 200 | 60 | lines (whole number); the signal level shows 35% to 100% of them |
x | number | 0 – 1 | 0.5 | focus x, as a fraction of the frame width |
y | number | 0 – 1 | 0.5 | focus y, as a fraction of the frame height |
inner | number | 0 – 0.8 | 0.35 | clear radius around the focus (radial) or half-width of the clear band (parallel), as a fraction of half the shorter frame side |
angle | number | 0 – 360 | 0 | direction of the parallel streaks in degrees (0 = horizontal); radial ignores it |