Skip to content

Instantly share code, notes, and snippets.

@micuat
Created February 28, 2021 07:26
Show Gist options
  • Save micuat/450b0b6877d7cff07ec37731629964c9 to your computer and use it in GitHub Desktop.
Save micuat/450b0b6877d7cff07ec37731629964c9 to your computer and use it in GitHub Desktop.
/*
https://hydra.ojack.xyz/?sketch_id=AlV4FPHWLJISaFVf
*/
osc(4,0,2).modulate(solid(7))
.modulate(solid().layer(src(o1).color(.2,.2,.2))
.layer(src(o2).color(.5,.5,.5))
.layer(o3).sub(gradient()),1)
.out()
src(o1).modulate(osc(30,0).mult(osc(30,0).rotate(1)).thresh().color(0,1),0.01)
.color(1,1,1,0.95).layer(
gradient().g().mask(solid(1,1,1)).thresh(.3,0)
.modulate(voronoi(4,.1,0).contrast(3),.3).r()).out(o1)
src(o2).modulate(osc(60,0).mult(osc(30,0).rotate(1)).thresh().color(0,1),0.01)
.color(1,1,1,0.95).layer(
gradient().g().mask(solid(1,1,1)).thresh(.5,0)
.modulate(voronoi(6,.1,0).contrast(3),.3).r()).out(o2)
src(o3).modulate(osc(120,0).mult(osc(30,0).rotate(1)).thresh().color(0,1),0.01)
.color(1,1,1,0.95).layer(
gradient().g().mask(solid(1,1,1)).thresh(.8,0)
.modulate(voronoi(8,.1,0).contrast(3),.3).r()).out(o3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment