Skip to content

Engine · v5.20.0

Marble Run

A music machine of glass marbles drawn with code and played by your song: the marbles drop in time with the beat and every landing is a note you can see, a rainbow xylophone bar lighting up, a peg, a bumper, a spin round the funnel. Six machines, from the xylophone staircase to the grand machine with its lift.

Marble Run engine preview

6 modes

Launch modes

Rainbow Xylophone mode

Rainbow Xylophone

A zigzag staircase of rainbow bars: a glass marble lands on a bar on every beat and rolls down to the next, each bar lighting up like a note.

Peg Cascade mode

Peg Cascade

A triangle of pegs: the marbles drop on the beat and zigzag down two rows a beat into the bins, which fill up over the phrase.

Spiral Tower mode

Spiral Tower

A helix track round a glowing tower: the marbles spiral down three turns, the tower's rings lighting bar by bar.

The Big Funnel mode

The Big Funnel

One marble a bar circles the funnel faster and faster until it drops through the hole on the downbeat.

Bumper Garden mode

Bumper Garden

A garden of round bumpers: a bounce on every beat from row to row, each bumper ringing as a marble hits it.

The Grand Machine mode

The Grand Machine

The whole machine on one loop: a lift carries the marbles up, they roll over four rainbow bars, round the funnel and back along the return rail.

49 controls

Controls

ControlGroupTypeDefaultAnimationAudio
Primary colorPrimary color used by the engine paletteStylecolor#fff4c2YesNo
Secondary colorSecondary color used by the engine paletteStylecolor#3a2a6bYesNo
BackgroundBackground used by the engine paletteStylecolor#141030YesNo
OpacityVisualizer opacityTransformrange1YesNo
SensitivityBounded overall audio responseAudiorange1YesNo
Spectrum rangeHow much of the 40 Hz to 14 kHz range the visual spans, from the bass up. Lower it to give the bass and mids more of the barsAudiorange1YesNo
Frequency scaleHow the bars are spread across the frequencies. Log spreads them by octave, mel by how pitch is heard, and linear by hertz, which gives most bars to the highsAudioselectlogNoNo
Auto-levelLifts every part of the spectrum to its own recent range, so quiet highs move as much as loud bass. A note held for several seconds settles lower as it adapts. 0 shows the raw spectrumAudiorange0.8YesNo
Primary audio sourcePrimary audio sourceAudioselectbassNoNo
Frequency focusWhich part of the spectrum drives this visual; while no explicit audio source is set, the motion envelope follows this selectionAudioselectfullNoNo
Burst intensityGlow and trail swell on sharp hits; 0 keeps bursts offAudiorange0YesNo
Ambient bedProminence of the standing background layer behind the beat-born elementsEffectsrange1YesNo
Wake lengthHow far motion trails stretch behind beat-born travelers; 0 removes the wakeEffectsrange1YesNo
Audio contributionMaximum contribution from the primary audio routeAudiorange0.55YesNo
Audio dynamicsHow much of the band's movement reaches the visual. 1 = full dynamics; 0 holds it at a steady level for a calmer, more constant lookAudiorange1YesNo
Audio attackEnvelope attack in millisecondsAudiorange45YesNo
Audio releaseEnvelope release in millisecondsAudiorange240YesNo
Geometry scaleGeometry scaleGeometryrange1YesYes
Motion directionRotate the animated visual pass to face this direction; the general background stays fixedMotionselectnoneNoNo
SpeedTime-based motion; default major cycle is 6–12 secondsMotionrange0.1YesYes
Color modeDuo palette, primary→secondary gradient, or full rainbow sweepStyleselectduoNoNo
GlowGlowEffectsrange0.55YesYes
Global glowShared emissive strength across the frameEffectsrange0.35YesYes
Pulse intensityBeat pulse scale for spawn, size, and shakeEffectsrange1YesYes
Beat responseHow hard every engine hits on each detected beatAudiorange1.2YesYes
Beat smoothingHow long each beat hit rings out before it settlesAudiorange0.35YesYes
Beat attackSeconds for a hit to swell to full. 0 snaps instantlyAudiorange0YesYes
Beat releaseSeconds for a hit to fade, overriding Beat smoothing. 0 follows itAudiorange0YesYes
Beat shakeFrame kick strength on each beatEffectsrange0.6YesYes
Motion echoMotion echoEffectsrange0YesYes
BlurBlurEffectsrange0YesYes
Chromatic aberrationChromatic aberrationEffectsrange0YesYes
Beat sync allRoute beat energy into spawn, shake, pulse, speed, and scaleAudiobooleantrueNoNo
Symmetry and tilingReshape the whole picture: mirror it, fold it into a kaleidoscope, or tile it (the plane groups p1, p2, p4m and p6m)Shape and symmetryselectnoneNoNo
Kaleidoscope foldsHow many mirrored copies go round the kaleidoscopeShape and symmetryrange6YesNo
Symmetry angleTurns the mirror line, or the kaleidoscope, in degreesShape and symmetryrange0YesYes
Kaleidoscope spinHow fast the kaleidoscope turns, in turns per bar of the song (0.25 is once a phrase)Shape and symmetryrange0YesYes
Tile sizeEach tile's size as a share of the frameShape and symmetryrange0.5YesNo
Tile gapThe gap between tiles, as a share of a tile; it shows the background colourShape and symmetryrange0YesNo
WarpBend the whole picture: a twist, a bulge, waves or ripples that move once a bar, a polar unroll, or a fisheye lensShape and symmetryselectnoneNoNo
Warp amountHow strong the warp isShape and symmetryrange0.5YesYes
Warp centreWhere the warp is centred in the frameShape and symmetryselectcentreNoNo
MarblesHow many marbles drop: the downbeat always drops one, more beats of the bar join in as it risesMachinerange0.8YesYes
BounceHow high the marbles hop off the bars, pegs and bumpers they land onMachinerange0.8YesYes
SparkleThe glints thrown up where a marble lands. 0 keeps only the glowMachinerange0.6YesYes
Marble coloursRainbow marbles and bars, your palette's colours, or clear glass marblesMachineselectrainbowNoNo
LightHow bright the glow on each landing is. It never flashes the frameAtmosphererange1YesYes
DustDust drifting in the machine's lightAtmosphererange0.4YesYes
Title and artistShow or hide the song title and artist this visualizer draws.TextselectautoNoNo