bartaz/impress.js — Issue #109: Rotate around the z-axis sometimes incorrect
Author: suxpert
Created: 2012-03-01 09:38:01+00:00
State: open

Hi, I've just found such a cool thing, thanks for your creative project.

After viewing the source, I tried to modify it for a different appearance. The first one I though about is, like many others, a cube. Here is the code:

front

right

back

left

This should be the bottom, but there's something wrong

As was written in the slide, the `bottom` is actually NOT the bottom of the cube, ---it just `stand` up there, everything will leak from this bottom...

The appearance of this bottom, after some trying and calculation, is actually a rotate around the x-axis, if we modify the `#bottom` step into

This one should not be the same as the bottom

we'll get a ``cube'' just the same as the first one. So it is clearly that there's something wrong when rotating.

BTW, if I want to rotate something in a certain direction, after 360 degrees it should back to normal, but impress.js will rotate it back 360 degrees for the normal direction. Is there anyway to rotate something in a more natural way?

After all, it's so cool!