1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 11:40:27 +02:00
This commit is contained in:
Pomax
2020-09-11 17:34:33 -07:00
parent a2c5c5ab9d
commit 61bb4d00d9
45 changed files with 69 additions and 71 deletions

View File

@@ -19,9 +19,6 @@ setup() {
draw() {
clear();
setStroke(`lightgrey`);
drawGrid(20);
setStroke(this.parameters.showCurves ? `transparent` : `#CC00CC99`);
for (let i=0, e=points.length-1, p, n; i<e; i++) {
p = points[i];

View File

@@ -16,7 +16,7 @@ setup() {
});
points = points.concat(points.slice(0,3));
setMovable(points);
setMovable(points);;
}
setWeight(i, v) {
@@ -26,9 +26,6 @@ setWeight(i, v) {
draw() {
clear();
setStroke(`lightgrey`);
drawGrid(20);
setStroke(`#CC00CC99`);
for (let i=0, e=points.length-1, p, n; i<e; i++) {
p = points[i];

View File

@@ -34,9 +34,6 @@ setKnotValue(i, v) {
draw() {
clear();
setStroke(`lightgrey`);
drawGrid(20);
setStroke(`#CC00CC99`);
for (let i=0, e=points.length-1, p, n; i<e; i++) {
p = points[i];

View File

@@ -26,9 +26,6 @@ setKnotValue(i, v) {
draw() {
clear();
setStroke(`lightgrey`);
drawGrid(20);
setStroke(`#CC00CC99`);
for (let i=0, e=points.length-1, p, n; i<e; i++) {
p = points[i];