startshape START
rule START{
REC {y -1}
}
rule REC {
SQUARE {s 0.05}
REC{y 0.06 s 0.965 x -0.1}
}
rule REC {
SQUARE {s 0.05}
REC{y 0.06 s 0.965 x 0.1}
}
and i want to add a circle at the top of the stack.. how can i get the position of it?
Is there a way? Since the stack/path alsways ends somewhere different, i cannot simply draw the circle at a static position...
You can't know where shape REC will end from within shape START. All you can do if have shape REC have a recursion termination rule that draws the circle.