First choose a picture.
Here a nice heightmap picture from Sharpfang
Then generate points on this image.
Solution 1)
Populate the image (a mesh here as I use Import Image) with Populate Geometry
Then search each color on the image for each point. Then evaluate Brightness using Split AHSV. I remap the value to have values between 0 and 1. Not mandatory.
The generate random numbers between 0 and 1.
I then use Graph Mapper in order to suppress some of the points depending on the brightness. Here this component is useful as you can “invert” the brightness or contrast without changing the image.
Then use a dispatch to keep just some points.
horse points.gh (7.9 KB)
Solution 2
use Kangaroo
The pattern will be more regular. It is just a matter of taste
Image_circlepacking_filepath.gh (12.8 KB)