Repository navigation
Releases
Xenon v0.1.0
Photosensitivity warning. Xenon is a strobe: what it puts on screen flashes, and flashing light can trigger seizures in people with photosensitive epilepsy. Broadcast and web guidance draws the line at three flashes a second over a large part of the picture. At 120 BPM, Trigger Beat is two steps a second and Half Beat four, so a big slice or Pattern All on Half Beat or faster is over that line. The user guide has a section on keeping a show within it. Warn your audience, as you would for any strobe.
The first release of Xenon: every slice of your Advanced Output a xenon strobe head, fired by a lighting desk's chase, as an FFGL effect for Resolume Arena and Avenue, SW Xenon (XN01). It was asked for by a viewer, CariTauGan, who wanted a strobe that fires slice by slice.
The one idea. Nothing is animated. Each head has a capacitor bank behind it, charged through a resistor and dumped through its tube when its step comes round. The chase decides which heads fire when; the bank decides how much light there is, a flash carrying (1 − e^(−Δt/RC))² of a full bank's energy, Δt since that head last fired; the tube decides how long it lasts; and each frame shows the light that landed inside it. So it behaves like a real rig without being told to: a fast chase gets dimmer, a Bounce lights its inner heads weak and strong in turn while the end heads come back full, and a Build's first head, fired on every step, is always the weakest.
The slices. FFGL never tells an effect about Advanced Output, so Xenon reads the preset Arena saved (AdvancedOutput.xml names the active one): rotated slices, polygons with straight or curved sides, and input masks, as the shapes they are, with disabled slices skipped and the same region on several screens counted once. A new map is picked up within half a second of Save & Close, and a save that changes nothing doesn't restart the chase. With no map, or Slices set to Grid, the heads are a grid of up to 32 × 32. Preset File points at any other preset.
Controls: Chase (Pattern: Forward, Reverse, Bounce, Build, Random, All; Trigger: Bar, Beat, Half, Quarter and Eighth Beat, Onset, Fire Only; Fire; Audio, Threshold; Seed); Strobe (Recharge 5 ms–5 s, Decay 0.2–500 ms, Intensity, Colour); Look (Fill, Outline or Gate; Width; Room Light); Slices (Map or Grid, Preset File, Order, Rows, Columns). The defaults are Forward on the beat, white, a 2 ms flash (one frame at 60 fps) in full room light.
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 again on Apple's software renderer):
- The slices. Four real Advanced Output presets and an Arena 7.28.1 save with a polygon and two input masks read to the corners Arena wrote (1e-12); a circle mask's curves against an independent evaluation; Arena's panel order; duplicates collapsed.
- The bank and the tube. A flash's peak follows (1 − e^(−Δt/RC))² to 3.5e-6 over Δt/RC from 0.13 to 4; a flash's light summed over every frame it lands in is its energy, whatever its length; successive frames fall by e^(−T/τ).
- The chase. Every head lights on the frame its beat falls in, for 24 beats at 128 BPM, for every pattern and order; onsets step it.
- The shapes. Every pixel of every head, on every map and the grid, Fill and Outline, is inside its slice exactly when an independent winding number in double says so.
- The checks can fail. Sixteen deliberately wrong models each fail their check, and 13 one-character mutants of the shipped code (six in the GLSL) are all caught. All 19 controls the sweep can move change the picture.
In Resolume. On this Mac, Arena 7.29.0 (Apple M4 Max) loaded a local build, read the active preset (five heads) and drew the slices' outlines across the composition. On Windows, the fleet's Arena gate ran the release workflow's own Windows build of the commit before the tag (only docs changed since) in Arena 7.27.1 on win-lab, on software rendering with no GPU: the DLL loads, registers as XN01 (an effect), all 26 controls (Arena's Opacity and the plugin's 25) match their names, order, types, ranges and defaults, it read the gate's preset through Preset File, it renders, and Arena's log stays clean: 10 passed, 0 failed. A screen capture of Arena's Composition Monitor there showed the preset's five heads lit. Arena's clip thumbnail, which the gate measures controls through, never shows Xenon's light (the light is an exposure since the last render, and the thumbnail is a render of its own), so only Opacity and Room Light were measured control by control there, and both changed the picture.
What isn't verified, or is a limit. Onset has never had real music in Resolume (neither Arena had sound reaching it). Nobody has run it on a GPU other than one Mac's, or through a show. Presets saved by Arena versions other than 7.27.1 and 7.28.1 haven't been seen. Screen-level output masks and DMX fixtures are ignored. Avenue is untested. A flash shorter than a frame is drawn as the light that frame caught, not as a brief bright flash.
Cost, GPU time on an Apple Silicon Mac: 0.12 ms a frame at 1080p at the defaults; at 4K, 0.65 ms with four heads and 0.90 ms with 256. Nothing was timed inside Resolume.
Not done. No presets and no OpenFX port.
- User guide: https://stoatworks-labs.com/software/xenon/guide/
- Project page: https://stoatworks-labs.com/software/xenon/
- Browser demo: https://xenon-demo.stoatworks-labs.com/