File: Stairs.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 (43 lines) | stat: -rw-r--r-- 518 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
// Boxes. Plenty of them.
set maxobjects 20000 
set maxdepth 4000
{ sat  0.9 a 0.9 } dispatch


rule dispatch w 0.2 {
    { x 10  h 1  } dispatch
   { s 10 1 1 } sbox
}

rule dispatch w 0.1 {
{ rz 35 } dispatch

}

rule dispatch {
    { y  1 h 1 } dispatch
   { s 10 1 1 } sbox
}

rule dispatch  w 0.05 {
  step 
  dispatch
}

rule step {
   { s 10 1 1 } sbox
   { y 1 z 1 } step
}

rule step w 0.05 {
dispatch 
}

rule step w 0.02 {
}

rule sbox {
 { b 0.4 }  grid
  box
}