1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-29 03:47:45 +01:00

don't reverse ctrl_pts

This commit is contained in:
Justin Lin 2021-06-21 08:52:53 +08:00
parent 874e6bfd3e
commit 6e3038f222

View File

@ -30,12 +30,12 @@ module golden_taiwan(taiwan_fineness, wave_fineness) {
t_step = wave_fineness;
thickness = 100;
ctrl_pts = reverse([
ctrl_pts = [
[[0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5]],
[[0, 50, 30], [100, 60, -25], [120, 50, 120], [200, 50, 5]],
[[0, 100, 0], [60, 120, 35], [90, 100, 60], [200, 100, 45]],
[[0, 123, 0], [60, 123, -35], [90, 123, 60], [200, 123, 45]]
]);
];
bezier = function(points) bezier_curve(t_step, points);
g = sf_splines(ctrl_pts, bezier);