Golfed on this one until it fit in a tweet :)
...then golfed some more.
A Pen by Riley Shaw on CodePen.
Golfed on this one until it fit in a tweet :)
...then golfed some more.
A Pen by Riley Shaw on CodePen.
canvas#c loading... |
for(c.height=c.width=999,i=1e6;i--;)with(c.getContext('2d'))x=i%1e3,y=i/1e3,fillStyle='hsl('+~~Math.tan(x*y)+',40%,40%)',fillRect(x,y,1,1) |
body | |
margin: 0 | |
canvas | |
display: block | |
margin: auto | |