TiltML – Tilt Markup Language for Rotation and Translation
TiltML is a simple language in XML format to describe the rotation and translation six degrees of freedom:
TRANSLATIONAL DATA
- Forward – the direction the device or you are looking
- Right – perpendicular to the forward motion and right
- Down – perpendicular to the forward motion and down
ROTATIONAL DATA
- Roll – clockwise rotation around the forward axis
- Pitch – clockwise rotation around the right axis
- Yaw – clockwise rotation around the down axis
Dimensions of each can be specified as well as the view (top, front, etc.) and the orientation of the device (horizontal, vertical).
The language looks like this:
<tiltml>
<view>front</view>
<orientation>horizontal</orientation>
<tilt roll="0" pitch="44.85" yaw="41.25" units="degrees"/>
<translation forward="0" right="0" down="0" units="screens"/>
</tiltml>
Penguin at http://penguinsflash.wordpress.com provides an emulator that writes this data to your harddrive. It also provides classes in Flash to read the data and animate items in Flash.
If you have hardware or software that can write this data on mobile devices please let us know and we can let the people know.
Inventor Dan Zen
- 08 -




leave a comment