REM01377764
REM #bbcmicrobot 🚀
MO.2
B=HIMEM
H=300
FORi=0TOH
IFi<8VDU5,19,i,i?(PAGE+5)-48;0;
B!RND(B*2)=1285
N.
F.j=99TOB
X=RND(1):Y=RND(1)
IFRND(9)>5THENC=-RND(2):Y=-(Y^4)ELSEC=1:Y=-LN(Y^.3)
A=.2:S=4
FORk%=0TO2
X=X+FNN(X+Y*3)+FNN(Y)
Y=Y+FNN(Y+X*3)+FNN(X)
S=S+S
A=A/2
N.
IFj>B-H THENX=RND(6)/6:Y=Y/3:C=0ELSEY=Y+.5
X=X*PI*2
s=650+SINX*Y*H
t=650+COSX*Y*H-s/4
GC.0,C+POINT(s,t)AND7
IFC=0GC.0,4
PL.69,s,t
N.
REP.U.0
DEFFNN(x)
x=x*S
f=x-INTx
i=99*INTx
a=SINi
b=SIN(i+99)
=((a-INTa)*(1-f)+(b-INTb)*f)*A
I ran @p_malin's program and got:
@bbcmicrobot @p_malin I feel a reason to get my #bbcmicro off the shelf for a bit of tinkering

@bbcmicrobot @p_malin

🔍 ...Fun! 🤍 ...You've created virtual #macrophotography of the wings of an #OwlButterfly (Caligo idomeneus) ...
🦋🦉🥰🔬📷

#butterfly #photography #Lepidoptera

@bbcmicrobot @p_malin That one cheeky FRB flashing star near the center 😂
@tanepiper @bbcmicrobot Oh didn't see that. That will be why it's a video and not a screenshot.
@p_malin @tanepiper you’ve found a bug in the bot (which I introduced myself yesterday)
@bbcmicrobot @p_malin and what a beautiful bug it is 🐞

What amazes me about Paul's #8bit #space images is that they match real things - but somehow encoded into very short programs. I matched up with originals here:

https://retrocomputingforum.com/t/deep-space-images-on-the-bbc-micro/2741?u=eds

#BBCBasic #retroComputing

@bbcmicrobot @p_malin

"Deep space images" on the BBC Micro

Using tweet-sized programs in BBC Basic, Paul Malin’s procedural art makes images of space… Amazing! Each image is generated by one tweet of BASIC code for an 8-bit computer, written by @P_Malin for @bbcmicrobot. Look closely 🤯 You can run them in your browser - but they might take literally hours to run at 2MHz 6502 speeds. There is, handily, a JIT mode to Owlet which finishes in just a few seconds - see the little 🚀 icon. Two galaxies Planetary nebula (see origin...

Retro Computing