BezierMath.dart and MathUtils.dart first implementation not tested yet