Increase cubic curve control points

This commit is contained in:
2023-03-02 17:51:54 +02:00
parent 8e533e08bd
commit 7802cc9241

View File

@@ -201,7 +201,7 @@ class SVGProcessor():
(getnum(),getnum()),
(getnum(),getnum())]
control_points = np.array(control_points)
n = 10
n = 50
curve = cf.cubic_curve(control_points)
lin = np.linspace(curve.start(0), curve.end(0), n)
coordinates = curve(lin)
@@ -222,7 +222,7 @@ class SVGProcessor():
(x + getnum(), y + getnum()),
(x + getnum(), y + getnum())]
control_points = np.array(control_points)
n = 10
n = 50
curve = cf.cubic_curve(control_points)
lin = np.linspace(curve.start(0), curve.end(0), n)
coordinates = curve(lin)