Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/Animation/Logo/animation.logo
Normal file
20
Task/Animation/Logo/animation.logo
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
to rotate.left :thing
|
||||
output lput first :thing butfirst :thing
|
||||
end
|
||||
to rotate.right :thing
|
||||
output fput last :thing butlast :thing
|
||||
end
|
||||
|
||||
make "text "|Hello World! |
|
||||
make "right? "true
|
||||
|
||||
to step.animation
|
||||
label :text ; graphical
|
||||
; type char 13 type :text ; textual
|
||||
wait 6 ; 1/10 second
|
||||
if button <> 0 [make "right? not :right?]
|
||||
make "text ifelse :right? [rotate.right :text] [rotate.left :text]
|
||||
end
|
||||
|
||||
hideturtle
|
||||
until [key?] [step.animation]
|
||||
Loading…
Add table
Add a link
Reference in a new issue