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

Username:   Password: 
 RegisterRegister   
 dots in circular boundary
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Schaef




PostPosted: Mon Jan 19, 2004 6:49 pm   Post subject: dots in circular boundary

how could i draw random dots inside of a circular boundary?
Sponsor
Sponsor
Sponsor
sponsor
Andy




PostPosted: Mon Jan 19, 2004 6:51 pm   Post subject: (No subject)

look at the spray program i made

http://www.compsci.ca/v2/viewtopic.php?t=3036
Schaef




PostPosted: Mon Jan 19, 2004 7:00 pm   Post subject: (No subject)

thx, that works if i change the mx and my to randint's, take out the mb and replace the loop with a for statement.. i was just wondering what the tempx and tempy mean in the procedure at the begining
Andy




PostPosted: Mon Jan 19, 2004 7:34 pm   Post subject: (No subject)

those are to hold the random values generated
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: