Created
April 8, 2020 12:40
-
-
Save pmalin/0a3000468ec6b51396a4c328b7070a0a to your computer and use it in GitHub Desktop.
BBC Micro Bot - Boing Ball
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1MO.2:C.134:CLS:GC.0,0:MOV.1029,250:PL.153,250,0:F.J=0TO6:F.X=1TO19:C=COS(X*PI/21):F.K=J TOJ+1:GC.0,8+(X+J*4)MOD8:H=COS(K*PI/7):U=25*C*SQR(1-H*H):V=25*H:PL.84-(X>1),990+U*9+V*4,290+V*9-U*4:N.,,:V=1 | |
5P=-512:U=J MOD25:X=X+V:J=J+1:A=&600+X+INT(U*2.5-U*U*.1)*80:IF X<3ORX>44V=-V | |
6*FX19 | |
7?P=12:P?1=A/256:?P=13:P?1=A:C=8+(X+V*2)MOD8:V.19,C,1;0;19,8+(C+4)MOD8,7;0;:G.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment