teaching machines

Madeup – rogersta

May 21, 2015 by . Filed under Uncategorized.

I’m not so great at the mathematical geometry stuff so these are pretty random. I was just trying different things to make cool looking objects with simple code.

repeat 361
move 5
yaw sin 90
end

repeat 90
pitch sin 90
repeat 361
move 5
yaw sin 90
end
end

tube

thing1thing2

———————————————————–

radius = 100
nsides = 2
n = 100

for i through n
moveto i/2, i*2, i/3
r = random 0, 90

if r % 2 == 0
yaw r
else
pitch r
end

move r
end
tube

thing3