Skip to content

Instantly share code, notes, and snippets.

@TheWispy
Created September 10, 2018 22:05
Show Gist options
  • Save TheWispy/e9efc52881789a364d67bc8363f5d573 to your computer and use it in GitHub Desktop.
Save TheWispy/e9efc52881789a364d67bc8363f5d573 to your computer and use it in GitHub Desktop.
A swirly colourful hydra patch utilising the new voronoi texture.
base = () => voronoi(5,0.6,2)
base().color(1,0.6,0.8)
.add(o0).modulate(noise(3), 0.02)
.shift(-0.1,()=>0.5*(1+Math.sin(0.45*time)),0)
.scale(()=>0.91+(0.1*Math.abs(Math.sin(0.1*time))))
.luma(0.1)
.color(()=>1+Math.sin(time*0.12)+Math.sin(time*0.042), 0.1+Math.sin(time*0.04), 0.5)
.out(o0)
osc(100,0.01).rotate(1,0.2).luma(0.5).kaleid(6).kaleid(2).mult(base()).blend(o0, 1).contrast(1.1).out(o1)
render(o1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment