1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-25 17:42:46 +02:00

image regeneration

This commit is contained in:
Pomax
2020-09-06 09:18:11 -07:00
parent 1de1fc9ce3
commit 17c50a403b
48 changed files with 97 additions and 15074 deletions

View File

@@ -78,8 +78,8 @@ getRealCurve(S, E, angle) {
const f = 4/3 * tan(angle/4);
const C1 = { x: w/2 + r, y: h/2 + r * f };
const C2 = {
x: w/2 + r * ( cos(angle) + f * sin(angle) ),
y: h/2 + r * ( sin(angle) - f * cos(angle) )
x: w/2 + r * (cos(angle) + f * sin(angle)),
y: h/2 + r * (sin(angle) - f * cos(angle))
};
return new Bezier(this, [S, C1, C2, E]);
}