sprockets TV Commercial by Matt Campbell Greeting of Christmas Past by Gerry Mooney and Holmes Bryant! Learn to keyframe animate chains of bones. Gerald's 2024 Advent Calendar! The Snowman is coming! Realistic head model by Dan Skelton Vintage character and mo-cap animation by Joe Williamsen
sprockets
Recent Posts | Unread Content
Jump to content
Hash, Inc. - Animation:Master

Curve Fitting - Raster/Vector (Research and Development)


Recommended Posts

  • Admin
Posted

Posting this here mainly so that I can find it later.

This has roughly to do with a few thoughts I have related to 'drawing with splines' (as opposed to click/extend) and maintaining curvature (as much as possible) as control points are removed from or added to a spline and of translating/converting raster/bitmap lines into vector lines/splines.

 

https://github.com/ideasman42/curve-fit-nd#origin

 

 

The guy who adapted this code (Campbell Barton) is well known in Blender/Linux circles.

Original code is from Screen Gems, updated with insights from OpenToonz and further enhanced by Barton.

 

The library is described thusly:

High level utility library that takes a line and fits a bezier curve to it, in any number of dimensions - usable for freehand drawing and tracing raster images.

 

A (related) command line utility for tracing raster images and converting them to SVG can be found here:

 

https://github.com/ideasman42/raster-retrace

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...