| layout | home |
|---|---|
| title | ccbc - Closed Continuous Bézier Curves (remastered) |
| image | assets/favimage-472x472.jpg |
Closed Continuous Bézier Curves (remastered)
Instead of an ad with tracking...
Like to donate some appreciation for the use or inspiration this gives you?
This repo is a mess because it is preliminary. Collecting and constructing materials, documentation and samples.
A continuous Bézier curve is a composite curve (multiple consecutive smaller curves) that at the seams share an identical first and second derivatives. The general issue is that implementations consider it "open", meaning that the sections of the curves are independent/non-connected. Control points are mostly machine generated and far from intuitive. Attempts to manually change the curve usually ends in distorting the whole.
This project takes a new approach to Bézier curves considering all sections connected (closed curve). Maths drastically simplify, creating B/C control points for plotting is a linear function (instead of matrix solving). Intuitive human/curve interaction, control points are no longer off-curve but are actually located on the curve. Ultra high speed plotting allows for real-time fitting of curves onto contours (represented as a vector of coordinates).
[click on the image to start the demonstration]

[click on the image to start the demonstration]

[click on the image to start the demonstration]

Left in "visual" mode, right in "precise" mode.
[click on the image to start the demonstration]

- mootools for DOM/javascript connectivity (included)
Grab one of the tarballs at https://github.com/xyzzy/ccbc/releases or checkout the latest code:
git clone https://github.com/xyzzy/ccbc.gitUsing SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the GNU Affero General Public License v3 - see the LICENSE.txt file for details
- Pierre Bézier and his amazing work on what is now known as Bézier curves.