Skip to content

Instantly share code, notes, and snippets.

@antoineMoPa
Created June 27, 2016 17:43
Show Gist options
  • Save antoineMoPa/d5f43100f13860dab8da782d7f848af1 to your computer and use it in GitHub Desktop.
Save antoineMoPa/d5f43100f13860dab8da782d7f848af1 to your computer and use it in GitHub Desktop.
I might have made mistake while typing back here from pictures (It was somebody else's calculator I worked with).
ClrDraw
Pxl-On(1,20)
0->B
Lbl L
1->A
Lbl M
if pxl-Test(B,A)=1
then
Pxl-Change(B+1,A-1)
Pxl-Change(B+1,A+1)
end
A+1->A
IF A > 40
Then
B+1->B
GOTO L
End
Goto M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment