Skip to content

Instantly share code, notes, and snippets.

@beryann
Created October 31, 2024 18:12
Show Gist options
  • Save beryann/154bd26d4a566c9d056cbf0017c346d2 to your computer and use it in GitHub Desktop.
Save beryann/154bd26d4a566c9d056cbf0017c346d2 to your computer and use it in GitHub Desktop.
Cadavre exquis in Hydra video synth
speed = 0.01;
shape(6, 1.311, 0.935)
.diff(shape(8.619, 1.431, 0)
.color(1, 1, 1))
.layer(shape(6, 0.761, 0)
.diff(shape(5.761, .87, 0)
.color(() => Math.random(20), 1, 1))
.repeat(7.074, 11.872)
.mask(shape(6, .74, 0)))
.repeat(1, 1, () => Math.sin(time), () => Math.sin(time / 2))
.invert()
.scrollX([0, 0.25, 0.059, 0.75, 1].smooth())
.scrollY([0, 0.25, 0.157, 0.75, 1].smooth())
.saturate(2)
.out();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment