File: SpiralTree2D3.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 (44 lines) | stat: -rw-r--r-- 728 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
//  Produced by Structure Synth V 0.4
//  (http://structuresynth.sf.net/)
// seed 89

#define rotAngle1 4 (float:0-90)
#define rotAngle2 5 (float:0-90)
#define rotAngle3 45 (float:0-90)
set maxdepth 600

set background #f94

{ h 170 sat 0.7 color green } start

rule spiral w 100 {
box
{ y 0.4 rx -rotAngle1 hue 1 s 0.995 b 0.999 } spiral
}

rule spiral w 100 {
box
{ y 0.4 rz rotAngle2 hue -1  s 0.995 b 0.999 } spiral
}


rule spiral w 100 {
box
{ y 0.4 rz -rotAngle2  hue -1  s 0.995 b 0.999 } spiral
}


rule spiral w 100 {
box
{ y 0.4 rx rotAngle3  rz 5 s 0.995 b 0.995 } spiral
}

rule spiral w 3 {
start
} 

rule start {
set seed initial
{ rx 15 } spiral
{ ry 180 h 3 } spiral
}