1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-31 10:11:53 +02:00

add differential_line_growth

This commit is contained in:
Justin Lin
2022-05-26 18:19:56 +08:00
parent 27536f28f6
commit bce7487a96
3 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
use <shape_circle.scad>;
use <experimental/differential_line_growth.scad>;
$fn = 24;
r = 20;
times = 50;
thickness = 2;
node_option = [
0.5, // maxForce
0.7, // maxSpeed
12, // separationDistance
1.5, // separationCohesionRatio
10 // maxEdgeLength
];
init_shape = shape_circle(r);
linear_extrude(thickness)
polygon(differential_line_growth(init_shape, node_option, times));