Made with Hydra (hydra.ojack.xyz). The title of this piece is courtesy of @FKAStreetArt
/*
(In)bound:Out(bound)
by Daniel Oropeza
*/
A = window.innerHeight/window.innerWidth
B =.12; C=-.25; D=.34; E=.19; F=-.41; EASE= 'easeInOutCubic'; FST= .25; G =-.2; H=-.5; I=.14; J=.9; K=-.11; L= 0;
solid()
.layer(shape(2, 1, 0)
.scale(1, innerHeight / innerWidth , 1))
.mask(shape(2, 1, 0)
.scale(1, innerHeight / innerWidth , 1)
.mult(osc(4, 0.03, 0).kaleid(400).scale(1,0.5,1)).blend(src(o0).scrollX(.001),.948)
.modulate(noise(200),.001).saturate(1.057)
.brightness(-.001))
//fondo
.layer(solid(0,0,0)
.diff(shape(4, 0.5, 0)
.scale(1, innerHeight / innerWidth, 1))
.mask(shape(4, 0.5, .03)
.scale(1, innerHeight / innerWidth, 1))
.mult(osc(40, 0.03, 1.02)
.hue(0.5)
.pixelate(70, 1))
)//cuadrado central
.layer(solid(0,0,0)
.diff(shape(4, 0.3, 0)
.scale(1, innerHeight / innerWidth, 1)
.scroll(0.1,0))
.mask(shape(4, 0.3, .03)
.scale(1, innerHeight / innerWidth, 1)
.scroll(0.1,0))
.mult(osc(40, 0.01, 1.01)
.rotate(3)
.hue(-0.6)
.pixelate(1, 40))
)//cuadrado derecha
.layer(solid(0,0,0)
.diff(shape(400, 0.3, 0)
.scale(1, innerHeight / innerWidth, 1)
.scroll(-0.1,0.15))
.mask(shape(400, 0.3, .03)
.scale(1, innerHeight / innerWidth, 1)
.scroll(-0.1,0.15))
.mult(osc(90, 0.03, 1.01)
.hue(0.6)
.pixelate(50,1)
)
)//circulo izq
.layer(solid(0,0,0)
.diff(shape(4, 0.3, 0)
.scale(1, innerHeight / innerWidth /4, 1.9)
.scroll(-0.05,-0.1))
.mask(shape(4, 0.3, .03)
.scale(1, innerHeight / innerWidth /4, 1.9)
.scroll(-0.05,-0.1))
.mult(osc(40, -0.03, 1.01)
.rotate(3)
.hue(-0.8)
.pixelate(1, 40))
)
.layer(osc(250,0.1).thresh().kaleid(200).rotate(()=>(time/50)).scale(1,A,1).mask(shape(300,.3,0).scale(1,A,1))
.scrollX([G,J,D,B].ease(EASE).fast(FST/3))
.scrollY([C,L,D].ease(EASE).fast(FST/3))
)
.layer(osc(250,0.1).thresh().kaleid(200).rotate(()=>(time/50)).scale(1,A,1).mask(shape(300,.3,0).scale(1,A,1))
.scrollX([L,J,C,B].ease(EASE).fast(FST/4))
.scrollY([D,B,J].ease(EASE).fast(FST/4))
)
.add(noise(innerWidth, 0)
.modulateRotate(noise(100, 0)), .15)
.out()