I want to put several circles(pink one) at random positions in the bigger circle(sky blue one)
Circles should not be in grey area... they should be at RANDOM POSITION IN BLUE AREA.
Is there any solution? Is this possible?
I read an article about similar subject (
http://forum.processing.org/topic/random-position-in-a-specific-area) but it does not help me because I cannot use the color value of x,y position.
The background image of my sketch is kind of picture or drawing.... So the Blue circle is something virtual and invisible.
The image abobe is what I drew roughly to explain my question. You can ignore it...
In conclusion, can i assign a specific area with big circular shape for random positions of smaller circles?
Using random(a, b), random(c, d) only gives me square area... I want circle!
1