1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-17 06:04:31 +02:00
Files
BezierInfo-2/docs/chapters/introduction/quadratic.js

14 lines
183 B
JavaScript

let curve;
setup() {
curve = Bezier.defaultQuadratic(this);
setMovable(curve.points);
}
draw() {
clear();
curve.drawSkeleton();
curve.drawCurve();
curve.drawPoints();
}