Definitely overkill, but this is implemented with 'box' distance function of a square and marching squaring it with noise displacement.
greweb.me / Plots / 154 "Rounded squares"
- Sourcecode
- 154/main.rs
- Tags
- squares

Definitely overkill, but this is implemented with 'box' distance function of a square and marching squaring it with noise displacement.