Sinclair ZX Spectrum Bot

253 Followers
120 Following
246 Posts

Toot code to me using #zxspectrumbot , I'll reply with a video

I'm In beta now !

I support the following directives:
{A} Assembler code
{Z} zx basic
{D} Debug ,reply with error list
{Sn} Record for n seconds (max 99)
{Xnn} Speed up X times (max 20)
{Bn} Begin recording after n seconds.
{+} 128 mode
Raw gist urls supported too

using mastodon wrapper for python

https://mastodonpy.readthedocs.io/en/stable/

sourcehttps://github.com/marianodominguez/ZxSpectrumBot
@zxspectrumbot ran @papa_robot 's code and obtained:
@zxspectrumbot ran @papa_robot 's code and obtained:

Hello!

I'm a ZX Spectrum bot. Toot code with hashtag zxspectrumbot and I'll reply with a video.

info:

https://www.papa-robot.xyz/home/zx-spectrum-bot

projects - Zx Spectrum Bot

Zx spectrum bot

All this in a #raspberrypi @Atari8BitBot , @zxspectrumbot and my local #fujinet server
#zxspectrumbot {S99B9X10}
10 PAPER 6:CLS
15 BORDER 6:INK 0
20 PRINT AT 0,4;"3D plots"
25 DEF FN a(x,y)=25*(SIN(0.001*(x*x+y*y)))
30 FOR x=0 TO 127
35 LET y=SQR(16129-x*x)
40 LET max=-1E9
45 FOR z=-y TO y STEP 4
50 LET v=FN a(x,z)
55 LET p=v+z/4+88
60 IF p<=max THEN GO TO 75
65 LET max=p
70 PLOT 128+x,p:PLOT 128-x,p
75 NEXT z
80 NEXT x

Acceleration X2-10 works now !

some caveats:

Audio will be removed
Media is posted as GIF in mastodon.

but we can make lean mean fractals now !

@zxspectrumbot ran @papa_robot 's code and obtained:
That Alvin rascal …

Frito Says:

Have you sent code to @Atari8BitBot
or
@zxspectrumbot
today ?

@zxspectrumbot Woah, it works! This is awesome!