Just wondering how to randomize this:
startshape SCENE
background { b -1 }
rule SCENE { NEURAL { hue 70 sat 0.9 b 0.9 }}
rule NEURAL {
TRIANGLE { s 0.5 10 x 3 y -0.1 r -90}
TRIANGLE { s 0.5 10 x 3 y -0.1 r -180}
TRIANGLE { s 0.5 10 x 3 y -0.1 r -0}
TRIANGLE { s 0.5 10 x 3 y -0.1 r 90}
Swirl { x 3 r 20 s 0.8 }
Swirl { x 3 r 20 s 0.8 }
BackSwirl { x -3.9 y -7.9 r 90}
CIRCLE { x 20 y 5 s 4 b 0.8 }
CIRCLE { s .5 r 90}
}
rule Swirl {
Line { }
Swirl { x 3 r 90 s 0.8 }
CIRCLE { x 19 y 45 s 4 b 0.8 }
CIRCLE { x 19 y 45 s 4 b 0.8}
}
rule Swirl {
Line { }
Swirl { x 3 r 90 s 0.8 }
CIRCLE { x 19 y 45 s 4 b 0.8 }
}
:: thanks..
How can I randomize this
Moderators: MtnViewJohn, chris, mtnviewmark
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
You could try some randomizing rules for shape SCENE: You could add more rules to rotate the SCENE, skew it, reflect it, etc.
Code: Select all
rule SCENE { NEURAL { hue 70 sat 0.9 b 0.9 }
SCENE { s 0.8 x 5 y 5}}
rule SCENE { NEURAL { hue 70 sat 0.9 b 0.9 }
SCENE { s 0.8 x -5 y 5}}
rule SCENE { NEURAL { hue 70 sat 0.9 b 0.9 }
SCENE { s 0.8 x 5 y -5}}
rule SCENE { NEURAL { hue 70 sat 0.9 b 0.9 }
SCENE { s 0.8 x -5 y -5}}