Skip to content

Instantly share code, notes, and snippets.

@TheWispy
Created June 23, 2018 23:02
Show Gist options
  • Save TheWispy/7d3bab764ff1e579fc27591f4ac61998 to your computer and use it in GitHub Desktop.
Save TheWispy/7d3bab764ff1e579fc27591f4ac61998 to your computer and use it in GitHub Desktop.
A hydra patch involving masking
noise(5).color(1,1,1).add(noise(10)).add(noise(20),0.5).add(noise(40),0.1).shift(0,0.1,0.1).rotate(0.03).modulateRotate(osc(10)).out(o0)
osc(25,-0.1,1.5).color(1,0.7,0).rotate(1.125).modulate(shape(6).rotate(1,1).scale(2).repeatX(3).repeatY(2)).out(o1)
shape(3).rotate(1,1).scale(1.3).repeatX(8).repeatY(5).scrollY(1,0.2).out(o2)
shape(6).color(1,0,0).rotate(-1,1).add(o2, 0.5).add(shape(6).color(1,0,0).rotate(-1,1).scale(2).kaleid(6),1).add(noise(50,2).pixelate(20,20), 0.8).mult(shape(6).rotate(1,1).scale(2).repeatX(3).repeatY(2).invert(),1).add(shape(0).color(0,0,0).add(o1,1).diff(o0).posterize(2).brightness(0.3).contrast(2).mult(shape(6).rotate(1,1).scale(2).repeatX(3).repeatY(2)), 1).add(noise(5).color(1,0,1).add(noise(10)).add(noise(20),0.5).add(noise(40),0.1).shift(0,0.1,0.1).rotate(0.03).modulateRotate(osc(10)).mult(osc(60,0.2).posterize(4).contrast(4).kaleid(6), 0.5)).out(o3)
render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment