March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -1,19 +1,18 @@
|
|||
PROGRAM:LANT
|
||||
:ClrDraw
|
||||
:0→N
|
||||
:Pxl-On(0,0)
|
||||
:47→X
|
||||
:31→Y
|
||||
:47→A
|
||||
:31→B
|
||||
:90→Θ
|
||||
:Repeat getKey
|
||||
:If pxl-Test(Y,X)
|
||||
:If pxl-Test(B,A)
|
||||
:Then
|
||||
:Θ+90→Θ
|
||||
:Else
|
||||
:Θ-90→Θ
|
||||
:End
|
||||
:Pxl-Change(Y,X)
|
||||
:X+cos(Θ°)→X
|
||||
:Y+sin(Θ°)→Y
|
||||
:Pxl-Change(B,A)
|
||||
:A+cos(Θ°)→A
|
||||
:B+sin(Θ°)→B
|
||||
:N+1→N
|
||||
:End
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue