The initial version (for the cubic segments only) comes from :

~/dev/Bezier

