{"name":"Window Still Life Tribute","description":"This piece is a tribute to the incredible work of the artist @jjjjjjjjjjohn A piece made with a lot of respect and admiration. Created with code in Hydra (hydra.ojack.xyz). Move the mouse to interact with the image.\n\nHydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz)\n\n/*\nWindow Still Life Tribute\nby Daniel Oropeza\nTw: @Ferdoropeza\n*/\n\nA = window.innerHeight / window.innerWidth\ns0.initVideo(\"https://media.giphy.com/media/t2uEYBdHWXEkqx9M9n/giphy.mp4\")\ns1.initVideo(\"https://media.giphy.com/media/TrOMR6REnWN1u/giphy.mp4\")\n\nsolid()\n\t.add(shape(4, 0.65, 0).scale(1, A, 1).color(0.5, 1, 0.8))\n\t.diff(\n\t\tshape(2, 0.5, 0)\n\t\t\t.color(-1, 0, -1)\n\t\t\t.r()\n\t\t\t.modulate(\n\t\t\t\tosc(30, 0)\n\t\t\t\t\t.thresh()\n\t\t\t\t\t.mult(gradient().r().repeat(3), 0.8)\n\t\t\t\t\t.add(gradient().r().repeat(4).invert(-1), 0.5)\n\t\t\t)\n\t\t\t.color(1, 1, 0)\n\t\t\t.scrollX(0, ()=>mouse.x/2500000)\n\t)\n\t.diff(\n\t\tshape(4, 1, 0.0)\n\t\t\t.color(0, 0, 0)\n\t\t\t.diff(shape(4, 0.98))\n\t\t\t.thresh()\n\t\t\t.repeat(30, 30 * A)\n\t\t\t.modulateScale(shape(4, 0.7, 0.1).scale(1, A, 1), -0.1, 0.9)\n\t\t\t.invert()\n\t)\n\t.mask(\n\t\tshape(4, 0.7)\n\t\t\t.scale(1, A, 1)\n\t\t\t.mask(\n\t\t\t\tsrc(s1).diff(\n\t\t\t\t\tsrc(s1)\n\t\t\t\t\t\t.scale([2, 1, 3, 1, 2, 1].smooth(1))\n\t\t\t\t\t\t.thresh(0.1, 0.925)\n\t\t\t\t\t\t.layer(\n\t\t\t\t\t\t\tsrc(s0)\n\t\t\t\t\t\t\t\t.scroll(-0.35,-0.44)\n\t\t\t\t\t\t\t\t.scale(0.5, 0.5)\n\t\t\t\t\t\t\t\t.mask(shape(400, 0.3, 0.0).scale(1, 0.5, 1).scroll(-0.1, -0.15))\n\t\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t\t.invert()\n\t)\n\t.add(\n\t\tshape(100, 0.25, 0)\n\t\t\t.color(1, 0, 1)\n\t\t\t.scale(1, A, 1)\n\t\t\t.scroll(0.1, 0.17)\n\t\t\t.color(1, 1, 0)\n\t)\n\t.posterize(8, 6)\n\t.add(o3, 1)\n\t.mult(src(o2).color(-1, 0, 1), 0.1)\n\t.diff(osc(16, 0).modulateScale(gradient().g(4)), 0.7)\n\t.blend(noise(500, 1), 0.1)\n\t.color(2, 0.9, 0.7)\n.diff(shape(100, 0.3, 0.8)\n      .color(1,0,1)\n      .scale([1,0.5].smooth(), 0.6, 1)\n      .scrollX([-0.3,0.1,-0.5].fast(.25).smooth(),0.1))\n\t.out()\n\nshape(4, 0.7, 0.0)\n\t.color()\n\t.scale(1, A, 1)\n\t.repeat(1, 1)\n\t.add(\n\t\tosc(100, 0.01, 2)\n\t\t\t.scale(1, A, 1)\n\t\t\t.posterize(50, 50)\n\t\t\t.rotate(0.0)\n\t\t\t.scrollY(0, 0.01)\n\t\t\t.kaleid([2, 1])\n\t\t\t.pixelate(30, 30)\n\t\t\t.scale(1, 1, 1)\n\t\t\t.hue(0.4)\n\t\t\t.saturate(1)\n\t\t\t.mask(shape(2, 0.4)),\n\t\t0.9\n\t)\n\t.out(o2)\n\nshape(4, 0.66, 0.0).scale(1, A, 1).repeat(1, 1).diff(o2).out(o3);","tags":["generativeart","creativecoding","hydra","tribute","ferdoropeza"],"symbol":"OBJKT","artifactUri":"ipfs://QmXzKFDxQxNAkzbiEk12aFLe9qV6GpKXqtrrRUjA3cNNwp","displayUri":"ipfs://QmctaoaMuvY4iNHH8pMYrWUL9GMKrAnSmo118yquvzX9sF","thumbnailUri":"ipfs://QmNrhZHUaEqxhyLfqoq1mtHSipkWHeT31LNHb1QEbDHgnc","creators":["tz2JyW132finpXHFNCSrHtcBEHRmwp5ffYks"],"formats":[{"uri":"ipfs://QmXzKFDxQxNAkzbiEk12aFLe9qV6GpKXqtrrRUjA3cNNwp","mimeType":"application/x-directory"}],"decimals":0,"isBooleanAmount":false,"shouldPreferSymbol":false}