User:Alexander Roidl/hallowDrawbot
Hello Drawbot
#oval(200,200,200,200);
totalFrames=200
for frame in range(totalFrames):
newPage(200, 200)
# set the frame duration
frameDuration(1/30)
for x in range(50):
for i in range(50):
rect(10*i+frame*sin(x/5),10*sin(i/3)+10*x,1,1);
print('frame:', frame)
# save the image as a mov on the desktop
saveImage('~/Desktop/frameDuration2.gif')