Live data from Hacker News

Constrain – Interactive figures using declarative constraint solving

github.com

1–10 of 12 posts

Re: Constrain – Interactive figures using declarative constraint solving

#2
I was always impressed with how well Solidworks constraints could produce models of "mechanisms" — but maybe that's an easier/more easily constrained domain than arbitrary figures?

(Or software UIs: Amulet and Garnet bring up memories — but those were a different Myers)

Re: Constrain – Interactive figures using declarative constraint solving

#7
post #4

The triangle demo doesn't seem completely stable, there are occasional flickering glitches, occasionally it also stays in a "wrong" state like this: https://ibb.co/4gD5NcB

GeoGebra's constraint solver has similar issues with this type of figure. I get the impression they get stuck in a local optimum or something.

Re: Constrain – Interactive figures using declarative constraint solving

#10
post #9

Looks nice! Why does it use canvas and not SVG?

Canvas is generally more performant so I imagine it could be a better fit depending on how complex things get. Very rarely have I encountered the performance limitations of svg, though it has happened.
Post reply on HN