File: Minim2.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 (42 lines) | stat: -rw-r--r-- 756 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

set maxdepth 10

  {  x  -4.25819396973 y -4.8784570694 z  5.70054674149 s 0.1 } sphere
   {   x -5.13696432114 y -5.61583280563 z 4.06224298477 s 0.1 } sphere
   {   x -6.422539711 y -4.08374404907 z 4.06224298477 s 0.1 } sphere
  {    x -5.54376888275 y -3.34636831284 z 5.70054721832 s 0.1 } sphere

6 * { x 3 } 6  * { y 3 }  R1
{ x 30 y 30 s 90 90 1 color white } box

Rule R1 {
   { s 1.5 1.6  0.5  } dbox
  { z 0.6 rx 5 }  R1
}

Rule R1 {
{ s 1.5 1.6  0.5  } dbox
{ z 0.6 rx -5 }  R1
}

Rule R1 {
{ s 1.5 1.6  0.5  } dbox
{ z 0.6 rz 5 }  R1
}

Rule R1 {
{ s 1.5 1.6  0.5  } dbox
{ z 0.6 rz -5 }  R1
}

Rule R1 weight 0.1 {

}

rule dbox {
  { color white } box 
}

rule dbox w 0.3 {
  { color orange } box 
}