Page 1 of 1

My first script

Posted: Thu Sep 08, 2005 10:24 am
by ateb9025
Hello all. I just downloaded the program tonite, and I really enjoy using it so far. I just thought i would post my first attempt.
Image

here is the code

startshape FIRSTGO

rule FIRSTGO {
SQUARECHAIN{ hue 10 sat 0.8 b 0.7}
SQUARECHAIN{ hue 10 sat 0.8 b 0.7 rotate 90}
SQUARECHAIN{ hue 10 sat 0.8 b 0.7 rotate 90}
SQUARECHAIN{ hue 10 sat 0.8 b 0.7 rotate 90}
}

rule SQUARECHAIN 10{
BASESHAPE {size 0.15}
SQUARECHAIN{y 0.3
size 0.94 rotate 20 hue 3}
}

rule SQUARECHAIN 10{
BASESHAPE {size 0.15}
SQUARECHAIN{y 0.3
size 0.94 rotate -10 hue 3}
}

rule SQUARECHAIN 1.6{
BRANCH { }
}

rule BRANCH {
BRANCH_LEFT { }
BRANCH_RIGHT { }
}
rule BRANCH_LEFT {
SQUARECHAIN { rotate 20 }
}
rule BRANCH_LEFT {
SQUARECHAIN { rotate 30 }
}
rule BRANCH_LEFT {
SQUARECHAIN { rotate 40 }
}

rule BRANCH_RIGHT {
SQUARECHAIN { rotate -20 }
}
rule BRANCH_RIGHT {
SQUARECHAIN { rotate -30 }
}
rule BRANCH_RIGHT {
SQUARECHAIN { rotate -40 }
}

rule BASESHAPE {
CIRCLE { }
CIRCLE { x 0.5}
CIRCLE { y 0.5 x 0.4}
CIRCLE { y 0.5 x 0.1}
}



The Variable names might be a bit misleading, but it was kind of an evolutionary work ;-)

Posted: Fri Sep 09, 2005 1:24 am
by aqua_scummm
i like it, it looks pretty cool. personally I would go for more balance, but just go with the flow