makepad/apps/vj/resources/effects/222_freeze.splash
Admin cb49b032df vjfx: 104 presets, engine hooks + hold stage, the videomesh engine, the audio picture, livecodable effects, and mp4 thumbnail sheets
Squashed from work; the fine-grained history is under tag archive/work-2026-08-26:
- vjfx: 104 new presets — the transition lane fills out and the screen family goes wide
- vjfx: three lanes land — engine hooks + hold stage, the videomesh engine, and the audio picture
- vj: the thumbnail pipeline becomes one honest machine, and effects go livecodable
- vj: thumbnails become mp4 — hardware-coded sheets at measured-4K cells, and the bake stops racing the GPU
- store: the ceremony dies — batch publish, one transaction, and the engine stops re-reading its own log
- store: the ceremony dies — batch publish, one transaction, and the engine stops re-reading its own log
- vj: the console grows real transports, and the deck stops lying about reverse
- vj: reverse earns a memory, and the effects stop aging
- fab: a 3D creation shell and the viewer built on it
2026-08-26 08:49:48 +02:00

44 lines
1.4 KiB
Text

// FREEZE — the frame stops dead and re-grabs itself every two beats: the
// clip lurches forward in stills instead of running. The oldest VJ trick
// there is, and it still owns a breakdown.
//
// Pattern taught here: the `hold` STAGE. It latches the incoming frame and
// shows it back; WHEN it re-latches is a beat slot (`beats:`) or the rising
// edge of a bound expression (`trigger:`). Both are read off the song
// clock, never off a wall-clock timer, so the stills land on the music at
// any tempo. `mix` fades the held frame against the live one, so the knob
// can dissolve the freeze away instead of switching it off.
//
// GRAB is a gesture, not a level: push the knob past the middle and the
// rising edge steals a fresh frame right there. Ride it for stutters.
{
name: "Freeze"
engine: "screen"
input0: "test"
speed: 1.0
beat_pulse: 0.7
beat_rate: 1.0
bar_beats: 4
// PERFORMANCE DIALS — mid-knob = the stock look, exact.
p0: 0.5 p1: 0.0 p2: 0.5
dials: [
{name: "HOLD", bind: "p0", default: 0.5},
{name: "GRAB", bind: "p1", default: 0.0},
{name: "GLOW", bind: "p2", default: 0.5}
]
color_bg: #x04050a
stages: [
{
kind: "hold"
beats: 2
trigger: "step(0.55, p1)"
mix: "clamp(p0 * 2.0, 0.0, 1.0)"
bands: 1
},
{kind: "bloom", threshold: 0.62, strength: "0.5 + 1.4*p2", levels: 3}
]
}