makepad/apps/vj/resources/effects/50_mosaic_pump.splash
Arena Agent d8d5ea8b6a Repair integration manifests and port nigig exports onto upstream widget families
Restore missing required asset/flow packages from the pinned nigig revision; retain upstream script isolation, X11 hover, and widget-core fixes. Validated makepad-widgets data feature with Rust 1.97.1.
2026-10-26 11:23:26 +00:00

21 lines
704 B
Text

// MOSAIC PUMP — pixelation whose BLOCK SIZE snaps on the beat (p2 bound
// to the pulse): the picture crunches to chunky blocks on every kick and
// melts back between them.
{
name: "Mosaic Pump"
engine: "screen"
input0: "test"
// PERFORMANCE DIALS — mid-knob = the stock look, exact.
p0: 0.5 p1: 0.5 p2: 0.5
dials: [
{name: "BLOCK", bind: "p0", default: 0.5},
{name: "SNAP", bind: "p1", default: 0.5},
{name: "GLOW", bind: "p2", default: 0.5}
]
stages: [
{kind: "pixelate", p1: "0.55 * (0.2 + 1.6*p0)", p2: "pulse * (0.2 + 1.6*p1)"},
{kind: "bloom", threshold: 0.55, strength: "1.15 * (0.25 + 1.5*p2)", levels: 2}
]
}