File: MeshTest.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 (26 lines) | stat: -rw-r--r-- 420 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
/*
	I'm still experimenting with a 'meshed' primitive (a connected box thingy)
      It is still very experimental...
*/

set maxobjects 4200
set background #fff
R1
{ x 3 s 0.9  } R1
{ y 3 s 0.7 } R1
{ y -3 s 0.6 } R1
{ x -3 s 0.5 } R1

rule R1 {
  { z 1 ry 6   s 0.91  hue 5  y 0.01 } R1
 mesh
}


rule R1 w 0.2 {
{ z 1 ry 6   s 0.99  hue 1 } R1
{ z 1 rz 90 ry 6   s 0.99  hue 1 } R1
mesh
}