@bobbydigitales that will give you evenly spaced points in a rectangle easily. If you want more complex shapes (circle, triangle, etc) you can do rejection sampling - ignore any candidate that is in an invalid location.
If you want different densities based on a density map, you should be able to change how distance between points is calculated to account for that I think.
=> More informations about this toot | View the thread | More toots from demofox@mastodon.gamedev.place
=> View bobbydigitales@mastodon.gamedev.place profile
text/gemini
This content has been proxied by September (ba2dc).