Lightweight 2.5D
Lightweight 2.5D shows how an embedded GUI can gain depth without a full 3D engine: flat images and groups are rotated and put into perspective at runtime. The demo embedded here runs as a browser build from the JavaScript/WebGL Platform Package.
What the Lightweight 2.5D Demo Shows
- A start menu that leads to the individual examples
- An image flow of photos with captions such as Old Town, The Cyclades, and Mediterranean Sea
- A carousel of spinning watches labeled Berlin, Moscow, New York, Sydney, and Tokyo
How the 2.5D Effects Are Built
The effects rely on Embedded Wizard’s warp views. A Warp Image view projects a bitmap onto a four-cornered shape, so it can appear scaled, rotated, mirrored, or distorted in perspective. A Warp Group applies the same kind of transformation to a whole group of views. Behind both is a warp matrix that translates, scales, and rotates content around the X, Y, and Z axes. Each watch hand is a separate bitmap with its own shadow, so the hands can move independently. A wipe touch handler detects one-finger wipe gestures, and float effects animate the movement.
Where Lightweight 2.5D Makes Sense
Perspective effects help users keep their orientation. A carousel shows what comes next, and an image flow puts the selected item in front while the neighbors stay visible. This pattern suits media browsing, product or recipe selection, and menus on consumer electronics, appliances, and infotainment systems. For decision-makers, the advantage is that these effects work with ordinary 2D images, so no 3D models or 3D design workflow are needed.
For more on high-end interfaces on efficient hardware, watch the webinar High-End UI on Low-Power Devices. Related demos: Classic Mosaic for flat image grids and Analog Watches for more watch faces. Success stories from TVs to wearables are collected on our consumer electronics page.
Add Depth to Your GUI
Read more about Embedded Wizard Studio and find the Platform Package for your device, or get started right away with the free version.