Bézier surface
di JustinSDK
49
Download
43
Likes
0
Makes
[](https://www.youtube.com/watch?v=QkCoZbMBedE)
My library [dotSCAD](https://github.com/JustinSDK/dotSCAD) has a `bezier_surface` function. You can use it to create a bezier surface easilly. For example:
include ;
include ;
include ;
t_step = 0.05;
thickness = 0.5;
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, 150, 0], [60, 150, -35], [90, 180, 60], [200, 150, 45]]
];
g = bezier_surface(t_step, ctrl_pts);
function_grapher(g, thickness);
The thing here is just a demonstration. You can use slides to change z values of 16 control points.
My library [dotSCAD](https://github.com/JustinSDK/dotSCAD) has a `bezier_surface` function. You can use it to create a bezier surface easilly. For example:
include ;
include ;
include ;
t_step = 0.05;
thickness = 0.5;
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, 150, 0], [60, 150, -35], [90, 180, 60], [200, 150, 45]]
];
g = bezier_surface(t_step, ctrl_pts);
function_grapher(g, thickness);
The thing here is just a demonstration. You can use slides to change z values of 16 control points.
JustinSDK pubblica anche su
4 modelli aggiuntivi su altre 1 piattaforme
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!