logoalt Hacker News

abelanger • yesterday at 10:25 PM • 0 replies • view on HN

Some more resources on signed distance fields (SDFs), which I didn't know about until this demo:

- https://iquilezles.org/articles/distfunctions/

- The 2D version: https://iquilezles.org/articles/distfunctions2d/ (discussed here: https://news.ycombinator.com/item?id=46380054)

- How Zed uses (used?) SDFs to render their editor: https://zed.dev/blog/videogame (discussed at the time: https://news.ycombinator.com/item?id=35078464)