2 USING: accessors ui L-system ;
4 IN: L-system.models.tree-5
6 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8 : tree-5 ( <L-system> -- <L-system> )
10 L-parser-dialect >>commands
12 [ 5 >>angle ] >>turtle-values
17 { "S" "FFR>(60)R>(60)R>(60)R>(60)R>(60)R>(30)S" }
28 { "F" "'(1.25)F'(.8)" }
32 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
34 : main ( -- ) [ L-system tree-5 "L-system" open-window ] with-ui ;