Computer Science Canada

spiral thingy

Author:  Homer_simpson [ Sun Jun 22, 2003 6:31 pm ]
Post subject:  spiral thingy

here's another thing that i think looks cool 8)
you can download it from here
http://members.lycos.co.uk/mysqldatabase/

since i cant upload to website for some reason...

Author:  Dan [ Sun Jun 22, 2003 10:49 pm ]
Post subject: 

very intresting, dose it ever stop?

Author:  Homer_simpson [ Mon Jun 23, 2003 2:57 pm ]
Post subject: 

well no...
can anyone take a guess how it is made?

Author:  Catalyst [ Mon Jun 23, 2003 3:26 pm ]
Post subject: 

like this ?

code:
var x,y,ang:real:=700

ang:=0

for i:1..5000

ang+=i/5000
x-=sind(ang)
y-=cosd(ang)

drawdot (round(x),round(y),1)

end for

Author:  Andy [ Mon Jun 23, 2003 3:52 pm ]
Post subject: 

catalyst shouldn't u drawlines instead? save the previous location and draw a line from the current location to the previous location? its much mor smooth that way

Author:  Catalyst [ Mon Jun 23, 2003 3:55 pm ]
Post subject: 

i was just saying how it could be done

Author:  Andy [ Mon Jun 23, 2003 3:57 pm ]
Post subject: 

o nvm then...

Author:  Homer_simpson [ Mon Jun 23, 2003 4:11 pm ]
Post subject: 

nah... it's just a vector... the vector that keeps turning in more and more every turn... i'll submit another vector thingy in a while... that looks cool too
Edit : oh yeah.... catalst that's what my vectors basically do...


: