« * K @alexwarth.bsky.social

Alex Warth @alexwarth.bsky.social

2026-10-21 16:51 UTC

To answer your questions: - The solver is very simple, the stuff that matters is only ~15 LOC. You can see the source here: github.com/alexwarth/su... - It works by trying to minimize the "error" in the system of constraints, so if there's no solution it will just converge to a (local) minimum.

Link: sutherland/src/ConstraintSet.ts at main · alexwarth/sutherland (github.com/alexwarth/sutherland/blob/main/src/ConstraintSet…)

A reply in a thread.

2 likes, 0 reposts, 1 replies

3 Next post4 More from @alexwarth.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup