{"name":"Dystopia","description":"Interactive piece created with code in Hydra (hydra.ojack.xyz). Move the mouse to interact with the image and change the colors of the circle.\n\nHydra is a toolkit for live coding of network visuals created by Olivia Jack (ojack.xyz)\n\n/*\nDystopia\nby Daniel Oropeza\nTw: @Ferdoropeza\n*/\n\nA = window.innerHeight / window.innerWidth\n\nrings()=>osc(500,-0.03).thresh(.1,0.1).kaleid(999).rotate(.2).color(1,0,1).modulateScale(gradient().g(4)).mult(solid(1,0.5,1).hue(0.1))\nco=()=>osc(20,0,2).modulate(noise(3,0),0.2)\n\n\nsolid()\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(20, 20 * 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\t\t.scrollX(0.0005,0.01)\n\t).modulate(noise(3),0.01)\n.diff(osc(100,0.01,4).posterize(50,50).rotate().pixelate(30,30).hue())\n  .layer(\n  rings().mask(\nco().rotate(()=>mouse.x/1500).g().thresh(0.6,0)))\n.modulateScale(osc(2).g())\n.layer(shape(300,.555).scale(1,A,1).luma(.1).color(0,1,0.5).hue(()=>mouse.x/1500).scrollX([-.05,-.85].ease('easeInOutCubic').fast(.5).offset(.5)))\n.add(o3,1)\n.mult(src(o2),0.7)\n\t.out()\n\nshape(4,0.7,0.001).repeat(3,1).out(o2)\n\nshape(4,0.66,0.001).repeat(3,1).diff(o2).out(o3)\n","tags":["generativeart","creativecoding","hydra","javascript","programming","ferdoropeza"],"symbol":"OBJKT","artifactUri":"ipfs://QmeWtKSLt1YgSoM56fXC4v2b8wDfq6rBaUspKDWDJJLPvv","displayUri":"ipfs://QmNaq5X8nWnirCiSDfr7BoYiHSNvt8FkEqHtAfmhPWBC3P","thumbnailUri":"ipfs://QmNrhZHUaEqxhyLfqoq1mtHSipkWHeT31LNHb1QEbDHgnc","creators":["tz2JyW132finpXHFNCSrHtcBEHRmwp5ffYks"],"formats":[{"uri":"ipfs://QmeWtKSLt1YgSoM56fXC4v2b8wDfq6rBaUspKDWDJJLPvv","mimeType":"image/svg+xml"}],"decimals":0,"isBooleanAmount":false,"shouldPreferSymbol":false}