An experiment created with code in Hydra but inspired by the principle of color by the master Carlos Cruz-Diez who says that: "Color is generated through the movement, perception and displacement of the observer. In this sense, Chromosaturation is no longer a contemplation but a vital experience. Art becomes a life experience, it is not a contemplation or a interpretation. It is an experience from which myths may arise, just as one mythologizes a rainbow, the wind, rain ... It is an elemental fact in which you are immersed and you can imagine".
Interactive piece created with code in Hydra. Move the mouse sideways to interact with the color gamut.
Hydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz)
/* Study Chromatique by @Ferdoropeza 3 Ene 2022 */
solid(0,1,0) .layer(src(o0).layer(src(o1))) .mult(gradient().r()) .diff(src(o1).layer(src(o2).brightness(()=>Math.sin(time0.5)-0.1))) .diff(src(o3).color(1,0.1,-1).colorama(.1).hue(()=>mouse.x/1000)) .out();
shape(4,0.8,0) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,()=>(-(mouse.x/window.innerWidth)+.5)*0.01).scroll(0.15,0).thresh(0.2,0.3)) .add(shape(4,0.6,0) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,()=>(-(mouse.x/window.innerWidth)+.5)*0.01).scroll(0.18,0).thresh(0.1,0.1))) .add(shape(4,0.4,0) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,()=>(-(mouse.x/window.innerWidth)+.5)*0.01).scroll(0.17,0).thresh(0.1,0.11))) .out(o1);
shape(4,0.5,0).rotate(1) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,-0.1).scroll(0.14,0).thresh(0.35,0.35)) .diff(shape(4,0.3,0).rotate(1).thresh(0.15,0.05) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,-0.1).scroll(0.17,0).thresh(0.09,0.13))) .add(shape(4,0.1,0).rotate(1) .scale(1,window.innerHeight/window.innerWidth) .mult(osc(7,-0.1).scroll(0.17,0).thresh(-0.1,0.15))) .out(o2);
shape(4,0.2,0) .scale(1,window.innerHeight/window.innerWidth) .color(1,1,1) .out(o3);
render(o0);