I'm new to context free art, and I just love it! Among the different features, I think there is one which could be added whithout breaking the context-free philosophy: that is the possibility of modifying the weights of a rule when we call it.
Now the weights are constant during all the drawing, while the position and color can be ajusted at each call. So a cool improvement would be the possibility of doing something like this:
Code: Select all
rule Shape 1 {
SQUARE {}
Shape {w 0.5 2}
}
rule Shape 1 {
CIRCLE {}
Shape {w 2 0.5}
}
It seems also easy to implement by rembering the last weight vector along whith the matrix pultiplication.
What do you think of it?