[HN Gopher] Constrain - Interactive figures using declarative co...
       ___________________________________________________________________
        
       Constrain - Interactive figures using declarative constraint
       solving
        
       Author : rachitnigam
       Score  : 42 points
       Date   : 2023-01-15 11:38 UTC (11 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | crapaud23 wrote:
       | Solvespace seems a lot more compelling
       | 
       | https://files.whitequark.org/SolveSpace/solvespace.html (web
       | demo)
        
       | zokier wrote:
       | 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
        
         | mkl wrote:
         | 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.
        
       | ardoise wrote:
       | I couldn't find any information about its license.
        
       | xigoi wrote:
       | Looks nice! Why does it use canvas and not SVG?
        
         | FractalHQ wrote:
         | 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.
        
       | 082349872349872 wrote:
       | 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)
        
       | flupe wrote:
       | I 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/
        
       | xiphias2 wrote:
       | Looks great, I wonder if it's powerful enough to build a UI
       | toolkit
        
       ___________________________________________________________________
       (page generated 2023-01-15 23:01 UTC)