Skip to content

Instantly share code, notes, and snippets.

@flordefuego
Last active March 18, 2024 21:24
Show Gist options
  • Select an option

  • Save flordefuego/11a84d6a8767d53c374fb28cc5306f99 to your computer and use it in GitHub Desktop.

Select an option

Save flordefuego/11a84d6a8767d53c374fb28cc5306f99 to your computer and use it in GitHub Desktop.
//Passing Clouds by Flor de Fuego
await loadScript("https://hyper-hydra.glitch.me/hydra-blend.js")
gradient(1)
.rotate(() => Math.PI / 2)
.blend(osc(10, 0, 0.5)
.modulateRotate(osc(3), 2), 0.9)
.glow(solid(0.8, 0.5, 1), 0.4)
//.hue(0.8)
.posterize(30)
.saturate(1.3)
.repeat(4, () => Math.cos(time / 2) * 2 + 2, () => time * -0.5, () => Math.sin(time / 2))
.modulateRotate(osc(3), 0.5)
.modulatePixelate(osc(10)
.pixelate(10, 10), 10, 30)
.colorBurn(o0, () => Math.sin(time) * 0.5)
.modulate(o0, 0.1)
.blend(o0, 0.85)
.glow(src(o0)
.scrollX(0.01)
.scale(1.01)
.mask(noise(2)), 0.1)
.modulateHue(src(o0)
.scale(2)
.rotate(0.001), 6)
.repeat(1, 0.998)
.blend(o0)
.out()
src(o0)
.pixelate(50, [10, 50, 100, 500])
.layer(src(o0)
.luma(0.4, 0.3))
.out(o1)
render(o1)
speed = 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment