File: leftright.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 (34 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (2)
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
// 25, 32, 43, 45 
start
set background white

 rule left w 10  {
  box
  { z 1 rx 4 } left
}

 rule left  {
 right 
}

 rule left  {
 start 
}


 rule start  {
set seed initial
 { s 1 1 0.9  y 1 rz 90  hue 1 } left
  { s 0.9 1 1  x 1    hue -1 } left 
 { s 1 0.9 1 z 1  hue -1 } left 
}

rule right w 10 {
   box
  { z 1 rx -4 } right
}

rule right  {
  left
}