Needed a simple way to spawn 2D objects (grass blades, stones, etc.) in composite shapes or along splines, so I wrote this: github.com/Geolm/spawn2d. It’s minimal, single-file, and easy to drop into any project.
GitHub - Geolm/spawn2d: Uniform sampling in combined shapes with overlap handling and distance constraints. (~300 LOC, C11)
Uniform sampling in combined shapes with overlap handling and distance constraints. (~300 LOC, C11) - Geolm/spawn2d
github.com