Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2013 23:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save anonymous/5688579 to your computer and use it in GitHub Desktop.
Save anonymous/5688579 to your computer and use it in GitHub Desktop.
Use least squares to find the cubic bezier equation of a hand drawn arc. This ipython notebook uses sympy to derive the equations needed to setup the least squares fitting problem. It then creates some noisy data on an arc and shows that the best fitting process works quite well.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment