Computer Science Canada dots in circular boundary |
| Author: | Schaef [ Mon Jan 19, 2004 6:49 pm ] |
| Post subject: | dots in circular boundary |
how could i draw random dots inside of a circular boundary? |
|
| Author: | Andy [ Mon Jan 19, 2004 6:51 pm ] |
| Post subject: | |
look at the spray program i made http://www.compsci.ca/v2/viewtopic.php?t=3036 |
|
| Author: | Schaef [ Mon Jan 19, 2004 7:00 pm ] |
| Post 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 |
|
| Author: | Andy [ Mon Jan 19, 2004 7:34 pm ] |
| Post subject: | |
those are to hold the random values generated |
|