diff --git a/examples/taiwan/golden_taiwan.scad b/examples/taiwan/golden_taiwan.scad index 3388e685..ed65984e 100644 --- a/examples/taiwan/golden_taiwan.scad +++ b/examples/taiwan/golden_taiwan.scad @@ -1,8 +1,9 @@ use ; use ; use ; -use ; +use ; use ; +use ; use ; // smaller values are better @@ -36,7 +37,8 @@ module golden_taiwan(taiwan_fineness, wave_fineness) { [[0, 123, 0], [60, 123, -35], [90, 123, 60], [200, 123, 45]] ]); - g = bezier_surface(t_step, ctrl_pts); + bezier = function(points) bezier_curve(t_step, points); + g = sf_splines(ctrl_pts, bezier); bottom = [ for(y = [0:len(g) - 1])