Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 spiral thingy
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Homer_simpson




PostPosted: 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...
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Sun Jun 22, 2003 10:49 pm   Post subject: (No subject)

very intresting, dose it ever stop?
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Homer_simpson




PostPosted: Mon Jun 23, 2003 2:57 pm   Post subject: (No subject)

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




PostPosted: Mon Jun 23, 2003 3:26 pm   Post subject: (No 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
Andy




PostPosted: Mon Jun 23, 2003 3:52 pm   Post subject: (No 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
Catalyst




PostPosted: Mon Jun 23, 2003 3:55 pm   Post subject: (No subject)

i was just saying how it could be done
Andy




PostPosted: Mon Jun 23, 2003 3:57 pm   Post subject: (No subject)

o nvm then...
Homer_simpson




PostPosted: Mon Jun 23, 2003 4:11 pm   Post subject: (No 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...
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: