mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +02:00
add comment
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
use <experimental/_impl/_lsystem2_impl.scad>;
|
||||
use <turtle/turtle2d.scad>;
|
||||
|
||||
/*
|
||||
|
||||
F Move forward and draw line
|
||||
f Move forward without drawing a line
|
||||
+ Turn left
|
||||
- Turn right
|
||||
[ Push current turtle state onto stack
|
||||
] Pop current turtle state from the stack
|
||||
|
||||
*/
|
||||
|
||||
function lsystem2(axiom, rules, n, angle, leng = 1, heading = 0, start = [0, 0], forward_chars = "F", rules_pr) =
|
||||
let(
|
||||
derived = _lsystem2_derive(axiom, rules, n, rules_pr),
|
||||
|
@@ -1,6 +1,17 @@
|
||||
use <experimental/_impl/_lsystem3_impl.scad>;
|
||||
use <turtle/turtle3d.scad>;
|
||||
|
||||
/*
|
||||
|
||||
F Move forward and draw line
|
||||
f Move forward without drawing a line
|
||||
+ Turn left
|
||||
- Turn right
|
||||
[ Push current turtle state onto stack
|
||||
] Pop current turtle state from the stack
|
||||
|
||||
*/
|
||||
|
||||
function lsystem3(axiom, rules, n, angle, leng = 1, heading = 0, start = [0, 0, 0], forward_chars = "F", rules_pr) =
|
||||
let(
|
||||
derived = _lsystem3_derive(axiom, rules, n, rules_pr),
|
||||
|
Reference in New Issue
Block a user