I have a problem, I need to draw a number of squares along a path. The drawing of the squares I should be okay with, but I was wondering if it's possible to draw them on an invisible path. That way I could calculate how "far" those squares should be on the path.
To illustrate, I made a (very basic, hehe) image of what I mean and attached it here, that should make things clearer.
I hope this is possible in PHP! Thanks a lot!