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:
18
examples/differential_line_growth.scad
Normal file
18
examples/differential_line_growth.scad
Normal 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));
|
Reference in New Issue
Block a user