Generating points at random positions with attractors

Hi,

I’d like to generate pseudo random 2D points and have them appear more densely packed around certain objects. Similar to gravity but the points don’t need to be attracted to each other only to the shape. A simple example would be a circle or rectangle with points appearing denser around the edges of these shapes. This doesn’t need to be animated as I would then like to use these points as a template for a Copy SOP or something similar.

I could probably do this programatically through Python but I’m looking for an easier, faster and more flexible way out.

I also imagine a particle generator can achieve a similar effect but I’m not familiar with them and am not sure if they can be paused or used as a template for instancing other objects.

Which direction seems most promising in your opinion?

Thanks,

You might consider assigning the points randomly over a fine grid, then using a magnet SOP to condense specific areas, condensing the points with it?