Repository navigation
Releases
v0.1.0
The first release of Filings: iron filings on a sheet over your clip, magnets under it, and the music tapping the sheet, as an FFGL effect for Resolume Arena and Avenue, SW Filings (FG01).
The one idea. Nothing is animated. Each filing is a tiny soft-iron needle the magnets magnetise 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. Each kick turns the filings part way into the field, in closed form against friction, so the field lines come up over a few kicks, not at once. Move a magnet and nothing happens until the next kick; a quiet passage freezes everything mid-turn; 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 in a physics lesson: in linear light, out = clip × T + ink × (1 − T).
Controls: Magnets (Poles 1–4; Strength 2–100 mT straight above a pole; Depth 1–25% of the frame's height; each pole's X, Y and N or S); Tap (Audio; Tap On: Onset, Beat, Half Beat, 2 Beats, Bar or Off; Tap; Sensitivity; Tap Strength 0–2× the reference tap); Filings (Friction μ 0.05–1; Density 5–60% of the sheet; Size 1/200–1/30 of the frame's height; Scatter); Look (Tone, Mix). The defaults are a bar magnet, N left and S right a third of the frame apart, at 40 mT, tapped on every onset; 12,478 filings a seventieth of the frame long, friction 0.2, a dark grey. Density and Size are the cost controls, up to 60,000 filings.
Downloads: a universal macOS build (Apple silicon and Intel) as a .dmg or .zip, and a Windows x64 installer (-setup.exe) or .zip. Every archive carries ATTRIBUTIONS.md. The macOS build is Developer ID-signed and notarised minutes after publication; if macOS refuses a download, it's from before that, so download it again. The Windows build isn't signed, so SmartScreen warns once (More info → Run anyway). The installer offers Documents\Resolume Arena\Extra Effects (or Avenue's on a machine that only has Avenue).
What is measured (offline, by tools/verify.sh on an Apple Silicon Mac under macOS 26, driving the plugin's own class in a headless GL context, at 1280×720 and 320×180 and six checks again on Apple's software renderer):
- The field. Four poles against the closed form of point poles at 400 points, worst 1.4e-15 relative; the field along the sheet peaks at d/√2 at 2/(3√3) of the pole's; the flux through the sheet is 2π d² B0 to 9e-15; an N–S pair far off is the point dipole.
- The tap. A filing's turn under a tap against an RK4 integration of its torque against friction: worst 6.5e-14 rad over 2000 random taps, none past its stop angle, and below the friction threshold bit for bit. One pass of a busy sheet, chains, contact and slide included, against a second, brute-force coding of the same law: 7.4e-14 rad.
- Not at once. Lone filings settle within 0.4° of where the closed form says they stop; the full sheet's mean angle to the field is 30.8° after one kick and 14.0° after 40, and filings pile in round each pole kick by kick.
- Nothing moves without a tap. 600 frames of music with no kick in it while every magnet circles: not one bit of the sheet or the picture changes. With kicks, exactly the tap frames change the sheet.
- The picture. Each needle's ink is its area to 0.09%, centred to 0.03 px, along its angle to 0.02°; the clip shows through as clip × T to 0 codes; alpha is the clip's plus the filings over a clear clip.
- The checks can fail. Eighteen deliberately wrong models each fail their check, and 21 one-character mutants of the shipped C++ and GLSL are all caught. All 25 controls change the picture with music in.
In Resolume. In Arena 7.29.0 on a Mac (Apple M4 Max) it registered as FG01, an effect, with all 31 controls at their declared defaults. Driven over Arena's REST API and read off the composition monitor: with Tap On Off the picture didn't change by one level, not even while two poles moved; with Tap On Beat at 120 BPM the field lines came up over 8 seconds; Bar tapped too; Tap and Scatter pressed over REST each worked; and Onset with the show silent never tapped. In Arena 7.27.1 on Windows (win-lab, no GPU) the fleet's gate passed this release's own zip: 9 passed, 0 failed, 2 skipped; every control as declared, and 23 of them change the picture (the magnet and friction controls with Tap On at Beat, since they change nothing until a tap); Audio and Sensitivity need a sound device the lab hasn't got, and Tap and Scatter are buttons the gate never presses. Onset hasn't heard real music through Resolume, nothing was timed inside it, and Avenue is untested.
What isn't verified, or is a limit. How hard a tap shakes the sheet and the friction are chosen, not measured on a real sheet; so is the filing's shape (a 1 mm needle of aspect 5). Filings lie flat (they never stand up over a pole), never saturate, and the magnets' far poles are left out. Pole X runs across the frame's width, so the pattern changes with the frame's shape. Where Resolume's FFT bins sit hasn't been measured: Onset assumes the kick is in the lowest quarter. A tap's CPU work lands on the kick's frame: 2–3 ms at the defaults, about 8.5 ms at 60,000 filings, and the first tap at 4K once took 25 ms, unexplained.
Cost, on an Apple Silicon Mac at the defaults: 0.27 ms of GPU time a frame at 1080p and 1.29 ms at 4K; a frame with a tap 2.8 ms at 1080p, all on the CPU. Nothing was timed inside Resolume.
Not done. No presets and no OpenFX port.
- User guide: https://stoatworks-labs.com/software/filings/guide/
- Project page: https://stoatworks-labs.com/software/filings/
- Browser demo: https://filings-demo.stoatworks-labs.com/