mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-01-18 06:08:20 +01:00
.
This commit is contained in:
parent
c32e9e53b0
commit
0290d91a02
@ -21842,11 +21842,18 @@
|
||||
}
|
||||
|
||||
sketch.setColor("black");
|
||||
sketch.setFill("black");
|
||||
|
||||
sketch.drawCircle(m, 3);
|
||||
sketch.drawCircle(m2, 3);
|
||||
sketch.drawCircle(m3, 3);
|
||||
|
||||
sketch.text("Curve points for t = 0.2, t = 0.4, t = 0.6", { x: 5, y: 15 });
|
||||
var offset = { x: 10, y: 5 };
|
||||
sketch.text("20%, or t = 0.2", { x: m.x + offset.x, y: m.y + offset.y });
|
||||
sketch.text("40%, or t = 0.4", { x: m2.x + offset.x, y: m2.y + offset.y });
|
||||
sketch.text("60%, or t = 0.6", { x: m3.x + offset.x, y: m3.y + offset.y });
|
||||
|
||||
sketch.text("Curve points generated this way", { x: 5, y: 15 });
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -141,10 +141,17 @@ module.exports = {
|
||||
}
|
||||
|
||||
sketch.setColor("black");
|
||||
sketch.setFill("black");
|
||||
|
||||
sketch.drawCircle(m,3);
|
||||
sketch.drawCircle(m2,3);
|
||||
sketch.drawCircle(m3,3);
|
||||
|
||||
sketch.text("Curve points for t = 0.2, t = 0.4, t = 0.6", {x:5, y:15});
|
||||
var offset = {x:10, y:5};
|
||||
sketch.text("20%, or t = 0.2", {x: m.x + offset.x, y: m.y + offset.y});
|
||||
sketch.text("40%, or t = 0.4", {x:m2.x + offset.x, y:m2.y + offset.y});
|
||||
sketch.text("60%, or t = 0.6", {x:m3.x + offset.x, y:m3.y + offset.y});
|
||||
|
||||
sketch.text("Curve points generated this way", {x:5, y:15});
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user