teaching machines

Brownif Madeup

May 11, 2015 by . Filed under cs455, postmortems, spring 2015.

I made a pretty flower with some circles

–flower
repeat 10
repeat 20
move 5
yaw 20
end
repeat 30
move 5
yaw -20
end
end
tube

flower

 

This picture isnt the most exciting or cool, i just decided to try and use every ability you could use such as “yaw, pitch…” it is the path of life because you never really know what way you will go

–the path of life
repeat 80
x = random 0,1
y = random 0,1
dist = random 0,50
turn = random 0,360

if x < 1
if y < 1
pitch turn
else
roll turn
end
else
if y < 1
yaw turn
else
translate dist,dist,dist
end
end
move dist
end
tube

Path of life

 

This one is kind of like a football but made out of spirals, it could be a fun toy for a kid… I wasn’t sure how to make the tube bigger/thicker which would make it seem more solid

–spiral ball

for i through 300
move i
yaw 20
move 1
roll 1
end
i = 300
repeat 300
move i
yaw 20
move 1
roll 1
i = i – 1
end
tube

spiral ball

 

this is another thing…

–thing

repeat 20
moveto 0,0,0
repeat 9
move 15
yaw 45
end
roll 45
end
tube

 

thing