Three-dimensional L-Systems

angles
	t: (pi/3, 0.0)
	u: (0.0, pi/3)
	v: (pi/2, 0.0)
	x: (0.0, pi/4)

lines f

axiom 2.0@ f

rules
	f = f [g g g g g g] [h h h h] i;
	g = +t [{+u 0.5@ f}];
	h = +v [{+x 0.5@ f}];
	i = [{0.5@ f}]

colors
	0: (4, 4, 2)
	1: (90, 90, 46)
	2: (156, 156, 78)
	3: (188, 188, 120)
	4: (209, 209, 163)
Three-dimensional Tree


angles
	t: ([(pi/3) - 0.3 .. (pi/3) + 0.3], 0.0)
	u: (0.0, [(pi/3) - 0.3 .. (pi/3) + 0.3])
	v: ([(pi/2) - 0.3 .. (pi/2) + 0.3], 0.0)
	x: (0.0, [(pi/4) - 0.3 .. (pi/4) + 0.3])

lines f

axiom 2.0@ f

rules
	f = f [g g g g g g] [h h h h] i;
	g = +t [{+u 0.5@ f}];
	h = +v [{+x 0.5@ f}];
	i = [{0.5@ f}]

colors
	0: (4, 4, 2)
	1: (90, 90, 46)
	2: (156, 156, 78)
	3: (188, 188, 120)
	4: (209, 209, 163)
Randomic tree


angles
  a: (.0, .3)
  b: (pi/3, .0)
  c: (.0, .2)
  d: (.0, pi)

axiom + d 5 @ h - d 2 @ f

lines f, g

blanks h

rules
  f = 0.5 @ g v;
  v = { u + b u + b u + b u + b u + b u};
  u = [+a f];
  j = + c

colors
  0:  (106, 53, 0)
  1:  (134, 70, 0)
  2:  (155, 82, 0)
  3:  (183, 96, 0)
  4:  (210, 110, 0)
  5:  (255, 140, 13)
  6:  (204, 204, 0)
  7:  (255, 255, 0)
  8:  (255, 255, 60)
Three-dimensional Tree


angles
  a: (.0, [.1 .. .7])
  b: ([((pi/3) - 0.3) .. ((pi/3) + 0.3)], .0)
  c: (.0, [.1 .. .6])
  d: (.0, pi)

lines f

axiom 2.0@ f

rules
	f = f [g g g g g g] [h h h h] i;
	g = +t [{+u 0.5@ f}];
	h = +v [{+x 0.5@ f}];
	i = [{0.5@ f}]

colors
	0: (4, 4, 2)
	1: (90, 90, 46)
	2: (156, 156, 78)
	3: (188, 188, 120)
	4: (209, 209, 163)
Three-dimensional Stochastic Tree


angles
  a: (.0, [.1 .. .7])
  b: ([((pi/3) - 0.3) .. ((pi/3) + 0.3)], .0)
  c: (.0, [.1 .. .6])
  d: (.0, pi)

lines f

axiom 2.0@ f

rules
  f = 0.5 @ g v;
  v = { u + b u + b u + b u + b u + b u};
  u = 0.5 ? t;
  t = [+a f];
  j = + c

colors
	0: (4, 4, 2)
	1: (90, 90, 46)
	2: (156, 156, 78)
	3: (188, 188, 120)
	4: (209, 209, 163)
Three-dimensional Stochastic Tree