You can support the development on the Github Sponsors page.


Tech > CBEZFIT


fit cubic bezier splines to hand drawn lines
made by fnordomat
uploaded by fnordomat
added:
updated:
download cartridge
- CLICK TO PLAY -

0


draw curves with your mouse, finger or stylus (tbh it works best with a mouse);
cubic BEzier curves will be fitted automatically

limitations:
it's only a proof of concept at the moment.
a single cubic curve is fitted to each stroke

and there are no editing tools whatsoever <-- no longer true, just added:
* deletion tool
* edit curves by dragging control points
* show or hide mouse trails & control points

changelog:
0006 fixed a stupid mistake where sample points were modified during curve fitting
0007 better handling of very short curves; allow mutliple curves per object
0008 split-curve mode with autosplitting of badly fitting curves
0009 toolbar hints
000A fixed a bug that prevented drawing to proceed when hitting the toolbar
000B when autosplitting, include split point in both fragments
000C don't crash when moving but no curve present; tool to translate whole objects not just control points
000D


Post comment