downshift pfp
downshift
@downshift.eth
the first person to figure out what this does is getting 420 $degen <canvas id="c"></canvas><script>c=document.getElementById("c").getContext("2d");s=9;[[2,4],[-1,5],[2,4,6],[-1,6],[-2,3],[0,5],[-1,4],[2,4]].forEach((a,i)=>(a[0]<0||i==5)&&c.fillRect(-a[0]*s,i*s,a[1]*s,s)||a.map(e=>c.fillRect(e*s,i*s,s,s)))</script>
3 replies
0 recast
3 reactions

Haole pfp
Haole
@haole
draw a pixel art-style number “420”
1 reply
0 recast
3 reactions

Oppai おっぱい 🍓 pfp
Oppai おっぱい 🍓
@oppai
Pattern visualization
1 reply
0 recast
1 reaction

RJ (replyor) pfp
RJ (replyor)
@shulzzz
These are my words, definitely not perplexity's The provided JavaScript code draws a pattern that resembles the letter "H" on an HTML canvas. The pattern is constructed using a series of filled rectangles, with each row of rectangles being defined by a sub-array in the code. The rectangles are drawn in such a way that they form horizontal and vertical lines, creating the shape of the letter "H".
0 reply
0 recast
1 reaction