Skip to content

asolis/curveFitting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piecewise curve approximation

Constructs a curve that has the best fit to a series of an ordered set of points. Four algorithms are implemented:

  • Quad + Bezier curve fitting
  • Smooth Fitting
  • Least square fitting
  • Polygon fitting

Running Linux / Mac

./compile.sh

./run.sh

Running Windows

compile.bat

run.bat

Interaction

Draw a set of points by holding the left click and moving around the application window. Once the mouse click is released the set of points is approximated by the selected algorithm.

Toggle between the algorithms with Ctrl + C.

Releases

No releases published

Packages

No packages published

Languages