3 ms·
Constrain – Interactive figures using declarative constraint solving
- 082349872349872 4y agoI 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)
- xiphias2 4y agoLooks great, I wonder if it's powerful enough to build a UI toolkit
- zokier 4y agoThe 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 https://ibb.co/4gD5NcB
- mkl 4y agoGeoGebra's constraint solver has similar issues with this type of figure. I get the impression they get stuck in a local optimum or something.
- AndrewCMyers 4y agoThis is fixed now, by choosing better constraints.
- ardoise 4y agoI couldn't find any information about its license.
- flupe 4y agoI love the idea, although it doesn't seem to perform very smoothly, even on simple examples. A related project is Penrose [^1], except the latter isn't interactive. [^1]: https://penrose.cs.cmu.edu/ https://penrose.cs.cmu.edu/
- crapaud23 4y agoSolvespace seems a lot more compelling https://files.whitequark.org/SolveSpace/solvespace.html https://files.whitequark.org/SolveSpace/solvespace.html (web demo)
- xigoi 4y agoLooks nice! Why does it use canvas and not SVG?
- FractalHQ 4y agoCanvas 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.
- AndrewCMyers 4y agoThere has been some work on an SVG back end. It also supports rendering to PDF and PostScript.