MattFerraro / constraint_solving

https://mattferraro.github.io/constraint_solving/

Home Page:https://mattferraro.github.io/constraint_solving/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Constraint Solving

This is a demo of using nlopt from within a browser.

The library itself was compiled to wasm here

All I did was create-react-app, npm install that library, then fix all the import errors.

This is a proof of concept that I may integrate into CADmium as my 2D sketch constraint solver.

Running

npm start then look at localhost:3000

Check out the console to see an example result computed by nlopt using the SLSQP solver

About

https://mattferraro.github.io/constraint_solving/

https://mattferraro.github.io/constraint_solving/


Languages

Language:JavaScript 54.7%Language:HTML 29.4%Language:CSS 15.9%