Papá Robot on Nostr: 10 GR.9+16:C.15:PI=3.14159265 40 for x=-30 to 30 50 for y=-30 to 30 60 ...
10 GR.9+16:C.15:PI=3.14159265
40 for x=-30 to 30
50 for y=-30 to 30
60 z=SQR(ABS(x*x-y*y))
70 xp=x+40
80 yp=y+96
90 if z>0
93 color int(z*15)
95 plot xp,yp
100 endif
110 next y
120 next x
130 do:loop
Published at
2024-10-20 01:29:08Event JSON
{
"id": "736066c5e6ea4af8751d4bc0deda786ede105247782d93a0c84a0dca410cf313",
"pubkey": "3d7590d6c7171b7856ab7788de468e566583e69a7c789599fea8812a07f638df",
"created_at": 1729387748,
"kind": 1,
"tags": [
[
"content-warning",
"CODE: GR9"
],
[
"proxy",
"https://mastodon.cloud/users/papa_robot/statuses/113337155488197557",
"activitypub"
]
],
"content": "10 GR.9+16:C.15:PI=3.14159265\n40 for x=-30 to 30\n50 for y=-30 to 30\n60 z=SQR(ABS(x*x-y*y))\n70 xp=x+40\n80 yp=y+96\n90 if z\u003e0\n93 color int(z*15)\n95 plot xp,yp\n100 endif\n110 next y\n120 next x\n130 do:loop",
"sig": "26251bfab55995ad226c1feaf9e5b6aac42597b9dd819b11eb408250e7f67ec9e3c83fcabd485f1450912880b4db3f1cdfe662fdda0d0f624066b0cf2077b1a8"
}