Need help for resolving a syntax error
Posted: Sun Nov 09, 2014 1:24 pm
Hi !
In second year in an architecture school in France, I found this http://www.contextfreeart.org/gallery/view.php?id=947 which insterest me a lot for my project. I didn't know this software and this code at all before founding this, and unfurtunatly it doesn't work...
It says that there is an error at this lane :
startshape start
rule start {
element{sat 0 h 15 b .14}
element{sat 0 h 15 b .14 r 180}
}
rule element{
SQUARE{}
element{s 0.99 x 0.9}
}
rule element 0.026{
SQUARE{}
element{s 0.99 x 0.9 r = 90}
element{s 0.99 x 0.9 r = -90}
}
rule element 0.01{
SQUARE{}
element{s 0.99 r 30 x 0.6 y 0.15}
}
rule element 0.01{
SQUARE{}
element{s 0.99 r -30 x 0.6 y -0.15}
}
rule element 0.001{
SQUARE{s 10 z 1 b -1}
}
The "=" seems to be the issue, but I don't really know why.
Can someone help me ?
(Sorry if it's not the good topic ^^')
In second year in an architecture school in France, I found this http://www.contextfreeart.org/gallery/view.php?id=947 which insterest me a lot for my project. I didn't know this software and this code at all before founding this, and unfurtunatly it doesn't work...
It says that there is an error at this lane :
startshape start
rule start {
element{sat 0 h 15 b .14}
element{sat 0 h 15 b .14 r 180}
}
rule element{
SQUARE{}
element{s 0.99 x 0.9}
}
rule element 0.026{
SQUARE{}
element{s 0.99 x 0.9 r = 90}
element{s 0.99 x 0.9 r = -90}
}
rule element 0.01{
SQUARE{}
element{s 0.99 r 30 x 0.6 y 0.15}
}
rule element 0.01{
SQUARE{}
element{s 0.99 r -30 x 0.6 y -0.15}
}
rule element 0.001{
SQUARE{s 10 z 1 b -1}
}
The "=" seems to be the issue, but I don't really know why.
Can someone help me ?
(Sorry if it's not the good topic ^^')