File: Nabla5.es

package info (click to toggle)
structure-synth 1.0.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,072 kB
  • ctags: 1,176
  • sloc: cpp: 7,070; python: 167; makefile: 66; lisp: 25
file content (54 lines) | stat: -rw-r--r-- 882 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// 31 ,47, 51, 59

// City: seed 70

set maxdepth 40
//set maxsize 10
set colorpool randomrgb
set colorpool list:orange,white,white,white,white,white,white,grey
// Camera settings. Place these before first rule call.

20 * { y 20 } 1 * { z -10 x 100 s 200 5 0.1 color white  } box
20 * { y 20 } 1 * { y 10 z -10 x 100 s 200 2 0.1 color white  } box


10 * { y 10 } 10 * { x 10 }  1 * { ry -90 b 0.2 } R1
set background black
{  x 30 y 30 z 3 s 200 200 1 color random } box

Rule R1 {
dbox
//set seed initial
{ z 0.6 rx 5   }  R1
}

Rule R1 {
 dbox
{ z 0.5 rx -90 }  R1
}

Rule R1 {
dbox
{ z 0.6 rz 90 }  R1
}

Rule R1 {
 dbox
{ z 0.6 rz -90 }  R1
}

Rule R1 weight 0.01 {

} 

Rule dbox {
  { color random s 2 2  0.5  }  box
}

Rule dbox weight 0.5 {
   { ry 90 s 0.5  1 1 } R1
}

Rule dbox weight 0.5 {
{ rx 90 s 0.5 2 1 } R1
}