Snowglobe
A snow globe the music shakes, for Resolume

What it does
An FFGL effect for Resolume Arena and Avenue, SW Snowglobe: your clip is the scene standing at the centre of a glass globe filled with water and glycerine, seen through the glass, with white snow falling through the fill. Kicks in the music shake the globe; so can Resolume's beat, or a button.
The fill is a real water-glycerol mixture, 60 % to 80 % glycerol by mass, with its viscosity, density and refractive index from the published tables. The flakes are thin PET discs, the kind of polyester glitter real globes hold, or small PET beads, and each falls at its terminal speed in that fill: a disc as its radius, by the drag of a disc at low Reynolds number, and a bead as its radius squared, by Stokes's law. Each flake has its own tilt, so it glides sideways as it falls and shows edge-on as a sliver. A shake lifts the snow resting on the floor and sets the fill turning in the sphere's slowest viscous mode, a swirl that dies away at the rate the fill's viscosity gives; settling takes tens of seconds at the default fill, as real globes do.
The clip is seen through one refracting surface, the water's against the air, ray-traced per pixel: magnified by the fill's index at the centre, about 1.41 times, and squeezed toward the rim. Outside the globe the frame is transparent, so put a layer behind it.
Kicks come from earshot, the fleet's shared audio front end, listening to Resolume's own FFT by default or to an audio input you choose by name. On Resolume's FFT the lowest band runs from 0 to 375 Hz, so a bass line can shake the globe as well as a kick; v0.1.0 never heard kicks there, and v0.1.1 does.
Photosensitivity: at the defaults it put none of Resolume's 33 demo clips over three flashes a second. With Shake and Count both at full, the snow can cover most of the globe while it's in the air and blank and reveal the clip on every kick or beat: on one dark clip that crossed three flashes a second over a third of the picture. The user guide gives the rates.
- A water-glycerol fill from 60 % to 80 %, with its viscosity, density and index from the published tables
- Flakes falling at their low-Reynolds-number terminal speed: discs as their size, beads as its square
- A shake that lifts the resting snow and sets the fill swirling in the sphere's slowest mode
- The clip ray-traced through the curved water surface, magnified in the middle
- Shakes from kicks in the music, Resolume's beat, or a button
- Up to 3000 flakes, with their size, range and the globe's size as controls
- Snow that lies still once it lands, until the next shake
- Universal macOS bundle and a Windows x64 DLL
Where it stands
v0.1.1, and early days. v0.1.1 fixes Kick, the default trigger, on Resolume's own FFT: in v0.1.0 it never fired, because the plugin read Resolume's 64 bands as spread to 22 kHz and its kick band, 40–160 Hz, fell below the lowest. Measured in Arena 7.29.0 on a Mac, Resolume's bands are 375 Hz wide, from 0 to 24 kHz, and v0.1.1 gives the kick band its share of the lowest: with a demo drum loop playing on the layer below, Kick kept the globe moving in 69 of 69 snapshot pairs, where v0.1.0 moved in none. That lowest band holds everything below 375 Hz, so a bass line shakes the globe too. It has run in Resolume only briefly, over a still: in Arena 7.29.0 on a Mac, where it registers, shows its controls with the declared defaults, renders and holds still at rest, every control that acts on a still globe changes the picture, and Beat, on Arena's clock, and the Shake Now button shake it; and in Arena 7.27.1 on Windows on software rendering, where the fleet's Arena gate passed 9 checks with 2 skipped, on this release's own DLL (that machine has no sound device, so Kick hasn't been seen there). It has never opened a live audio input or been in a show. Everything else is measured offline, by a harness driving the plugin's own code on an Apple Silicon Mac at two rasters and on Apple's software renderer, with audio fed through the same path a device would use and, for Kick, through bins built the way Resolume was measured to build them: single flakes and beads fall at the speed the published glycerine tables give them, to within 2.3 %; the swirl a shake leaves dies away at the rate the sphere's slowest viscous mode gives, to within 2.7 %; the clip seen through the glass lands where an independent ray trace puts it, to a ten-thousandth of a pixel; once the snow has landed, 300 frames of music with no kick are identical to the bit; and the same music at 24, 60 and 144 fps gives the same flurry, bit for bit. It catches 30 models that are wrong on purpose and all 46 one-character sabotages of its own code. How hard a shake is, how high it throws the snow and the globe's size are chosen, not measured, and a shake lifts only snow that has landed. With Shake and Count both at full the snow can blank and reveal a dark clip on every kick, past three flashes a second over a third of the picture on one of Resolume's 33 demo clips; at the defaults none. The macOS build is Developer ID-signed and notarised. Try it in your own rig before you trust it in a show.