Suggestion: Rather then rotating, rotating again and then positioning the ball, resizing, and resizing again when you draw the circle, you can achieve the same effect with only two rules
Code: Select all
startshape SceneStart
rule SceneStart {
dot-spiral { r 35.8 }
}
rule dot-spiral {
CIRCLE { x 15 s 1.2 }
dot-spiral {s 0.95 r 31.3 x 0.3}
}
indeed the "SceneStart" rule is not actually needed if you're not fussy about the starting place of the spiral.
You are falling across the same trap that I fell for when I first encountered CFDG: I was (and you are) 1) Trying to rotate a circle around itself (which is meaningless, as it's a circle, after all) and 2) I need to make things less unnecessarily complex (AKA: Why use 2 rules when 1 will do?) as this also minimises the number of computations that the scene takes to render.
Welcome to context free: At times it's fustrating, but it's mainly fun.
And addictive... We can't forget the addictive part....
Cheers!
-Trav