I need to be able to have some kind of a canvas in which I can draw A and manipulate it dynamically towards B. (For A and B see example drawing)
- The size of all rectacles must be adaptable
- the skewing of the red rectangle
- and the rotation of the whole set
I am unsure which is the right way to go. I tried simple HTML with CSS3 transformations and dont really get anywhere without extensive JS calculation since I would have to fake transform the red rectangles in 3D to get the expected impression - which then requires a "faked" positioning for A and B to connected they way they are supposed to.
Any other ideas? Draw it with imagemagick and PHP? SVG manipulation? I am relatively open towards the approach.
Would appreciate some input.
Example drawing: http://www.steffen-behn.de/m3/reifen.jpg