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
19 lines
735 B
Text
19 lines
735 B
Text
// TEST SINE RECT — deterministic transport/tween fixture. A hard-edged
|
|
// rectangle follows one sinusoid; the headless harness below mirrors this
|
|
// equation without opening a window or touching a GPU.
|
|
{
|
|
name: "Test Sine Rect"
|
|
engine: "screen"
|
|
speed: 1.0
|
|
shader: draw.DrawVjFxScreen {
|
|
fx_color: fn(uv: vec2, content: vec4, cmix: float) -> vec4 {
|
|
let x = 0.5 + 0.24 * sin(self.time_beat.x)
|
|
let inside_x = step(abs(uv.x - x), 0.12)
|
|
let inside_y = step(abs(uv.y - 0.5), 0.18)
|
|
let rect = inside_x * inside_y
|
|
let bg = vec3(0.035, 0.055, 0.085)
|
|
let fg = vec3(0.92, 0.34, 0.12)
|
|
return vec4(bg.mix(fg, rect), 1.0)
|
|
}
|
|
}
|
|
}
|