diff --git a/frontend/play/samples/animate/movingdot.evy b/frontend/play/samples/animate/movingdot.evy index a573fc7b..1cea572b 100644 --- a/frontend/play/samples/animate/movingdot.evy +++ b/frontend/play/samples/animate/movingdot.evy @@ -1,12 +1,9 @@ -for i := range 0 100 0.1 +color "red" + +for x := range 0 100 0.1 clear - dot i 50 + move x 50 + circle 10 sleep 0.01 end - -func dot x:num y:num - color "red" - move x y - circle 10 -end