Training in Dynamic Art:


Load the seelogo program:


Dynamic Art Lesson


The first thing you see is an animation of a line and a program that looks like this:


t=0

loop 10000 [t=t+0.0001

q1

]


Each time you press redraw the programs the line segment is draw again.


The letter q1 in the program signifies the underlying process. If you press q1 (you will fins it under the Names menu) you will see the code:


x=-100+200*t

y=x

jt x y circle 3 jt 0 0


Thus the actual program that does the animation can be assembled together as follows:


t=0

loop 10000 [t=t+0.0001

x=-100+200*t

y=x

jt x y circle 3

]


Explanation:

t=0

Explanation: t is a variable that can be viewed as (relative) time

loop 10000 tells the computer to repeat the commands in the brackets following it and since the next command is t=t+0.0001 it means "mathematically" that 0<=t<=1.

x=-100+200*t

y=x

This means that the domain of the function x will be between -100 and 100 and since y=x the same is true for y.

finally jt x y circle 3

tells the computer to draw a circle at the point x y