The user can actually change the angle of the object on a per 10� basis, and select from several differently shaped objects.
So the only solution would be to have up to 36 different mathematical expressions per shape, right? I think I'll try a different approach for my problem. :P
And I don't even want to it try with the canvas plugin, it won't end well.
Thanks for the reply.