Papá Robot on Nostr: #atari8bitbot {B30S90} 10 GR.9+16:C.15:PI=3.14159265 20 p1=cos(PI/6):p2=cos(PI/3) 30 ...
#atari8bitbot {B30S90}
10 GR.9+16:C.15:PI=3.14159265
20 p1=cos(PI/6):p2=cos(PI/3)
30 c=1:d=1
40 for r=30 to 60
50 for th=0 to 2*PI step PI/20
60 x=r/2.5*cos(th)
70 y=r*sin(th)
80 xp=x+40
90 yp=y+96
100 color c
110 if th=0:plot xp,yp: else: DRAWTO xp,yp:endif
120 next th
130 if c>=15 then d=-1:endif
140 if c<=0 then d=1:endif
150 c=c+d
160 next r
170 do:loop
Published at
2024-10-20 00:56:41Event JSON
{
"id": "f66be4185f74ecf006f93627b90187c4493afbb2aa5d0f2c0509948e9c8cbdb8",
"pubkey": "3d7590d6c7171b7856ab7788de468e566583e69a7c789599fea8812a07f638df",
"created_at": 1729385801,
"kind": 1,
"tags": [
[
"t",
"atari8bitbot"
],
[
"proxy",
"https://mastodon.cloud/users/papa_robot/statuses/113337027883632205",
"activitypub"
]
],
"content": "#atari8bitbot {B30S90} \n10 GR.9+16:C.15:PI=3.14159265\n20 p1=cos(PI/6):p2=cos(PI/3)\n30 c=1:d=1\n40 for r=30 to 60\n50 for th=0 to 2*PI step PI/20\n60 x=r/2.5*cos(th)\n70 y=r*sin(th)\n80 xp=x+40\n90 yp=y+96\n100 color c\n110 if th=0:plot xp,yp: else: DRAWTO xp,yp:endif\n120 next th\n130 if c\u003e=15 then d=-1:endif\n140 if c\u003c=0 then d=1:endif\n150 c=c+d\n160 next r\n170 do:loop",
"sig": "a8ae7f48467bc5ad94165c152d5051d69f87fd2e245a8bc178d8d5aae5eb03ee7687a7d20f654cb1e12c4f7856cd1a909f94643ff4654ac01d1079472042af46"
}