Skip to content

Commit 4d6825a

Browse files
committed
updated readme
1 parent 7b855ab commit 4d6825a

3 files changed

Lines changed: 18 additions & 3 deletions

File tree

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,22 @@
22

33
Uniform sampling in combined shapes with overlap handling and distance constraints.
44

5+
![demo](media/spawn2d.apng)
6+
7+
---
8+
9+
## Features
10+
- Uniform sampling in **aggregated shapes** (combination of multiple shapes)
11+
- discs
12+
- axis-aligned bounding boxes (AABB)
13+
- oriented bounding boxes (OBB)
14+
- ellipses
15+
- Exclusion shapes
16+
- Optional minimum-distance constraint
17+
- Uniform sampling along a Catmull-Rom spline with adjustable width
18+
- Deterministic RNG (SplitMix32)
19+
- C11, no dynamic allocation, no external dependencies
20+
- Only **two** functions in the API
21+
22+
523

6-
<video width="640" autoplay loop muted controls>
7-
<source src="video/spawn2d.mp4" type="video/mp4">
8-
</video>

media/spawn2d.apng

6.51 MB
Binary file not shown.

video/spawn2d.mp4

-402 KB
Binary file not shown.

0 commit comments

Comments
 (0)