Stoatworks Labs

Filings

Iron filings that the kick taps into field lines, for Resolume

Betav0.1.0Plugin & ModuleC++ / GLSL
Filings — Iron filings that the kick taps into field lines, for Resolume
No screenshot. This one's configuration inside another application.

What it does

An FFGL effect for Resolume Arena and Avenue: SW Filings. Iron filings lie on a sheet of acetate over your clip, magnets sit under it, and the music taps the sheet. Nothing is animated. Each filing is a tiny soft-iron needle: the magnets magnetise it along its length, so it would turn into their field, slide up towards the poles and stick end to end with its neighbours, but friction pins it to the sheet. Only a tap frees it, and a tap is a kick in the music.

So the picture plays the physics lesson. Each kick turns the filings part way, and the field lines come up over a few kicks, strongest near the poles. Move a magnet and nothing happens until the next kick, which starts turning them towards the new field, so for a few kicks the old pattern and the new overlap. A quiet passage freezes everything mid-turn, and far from the magnets the field never beats friction and the filings stay where they fell. Opposite poles join in loops; like poles leave a bare seam between them.

The clip is the light coming up through the sheet, as on an overhead projector: the filings are opaque needles in it, the clip is untouched between them, and over a transparent part of a clip they stand on their own over the layer below. Tap on onsets in Resolume's audio, on the beat or the bar, or by hand, and throw a fresh sheet with Scatter. The physics runs in double precision on the CPU, only on the frames a tap lands in.

  • Up to four magnetic poles, each placed by X and Y and set N or S, at a strength and depth you choose
  • Taps on kicks in Resolume's audio, on the beat, half beat, two beats or bar, or by hand
  • Soft-iron needles that turn into the field, slide towards the poles and chain end to end against friction
  • Nothing moves between taps, so a moved magnet waits for the next kick
  • The clip as the light through the sheet, with the filings' grey from silhouette to lit
  • Up to 60,000 filings, with Density and Size as the cost controls
  • Universal macOS bundle and a Windows x64 DLL

Where it stands

v0.1.0, and early days. It's measured by an offline harness driving the plugin's own code on an Apple Silicon Mac, at two rasters and on Apple's software renderer: the magnets' field matches the closed form of point poles to 1e-15; a filing's turn under a tap matches a step-by-step integration of its torque against friction to 1e-13 rad; a whole tap of the sheet, chains and all, matches a second, independent coding of the same law; and over 600 frames of music with no kick in it, while every magnet moves, not one bit of the sheet changes. It catches eighteen models that are wrong on purpose and twenty-one one-character sabotages of its own code, and all 25 controls change the picture. In Resolume Arena 7.29.0 on a Mac it loaded with every control at its default, held the sheet still with tapping off while two magnets moved, and brought the field lines up on Arena's beat; on Windows, in Arena 7.27.1 with no GPU, it loaded with every control as declared and 23 of them changed the picture. It hasn't yet heard real music in Resolume, so Onset is untested there. How hard a tap shakes the sheet, and the friction, are chosen, not measured, and the filings lie flat, so they never stand up over a pole. The macOS build is Developer ID-signed and notarised. There's a user guide and a browser demo, but no presets. Try it in your own rig before you trust it in a show.

Watch it running

Filings video thumbnail

Nothing loads from YouTube until you press play.Watch it there instead