Trinetra itinerary builder: interest chips such as Temples and Religious Sites, Local Markets and Peaceful Meditation, transport and accommodation preferences, and a Generate Itinerary button
Trinetra home screen: a photo of Trimbakeshwar temple above a map shortcut, place categories such as Spiritual and Aarti, and an Essentials row for medical help, toilets and food
Trinetra settings screen: Quick Access shortcuts, then Notifications and a Language control set to English, above About, Help and Support

EXP 002 · WebGL · Shaders

Depth screens

Flat app screenshots given depth, so they tilt and turn in 2.5D. Move the sliders and it changes as you watch.

Controls

60%
50%
40%
Quality preset

Full adds physics, glow and grain. Lite drops physics and post effects. Static shows one still frame.

This experiment is not drawn on the sky, so it has no snapshot.

What it is

These are three real screens from Trinetra, our pilgrimage planner for Nashik. Each one is a flat screenshot, but it tilts toward your pointer as if its cards and buttons sat at different heights.

We use the effect in the gallery on the Trinetra page. Turn on Show depth map to see the depth that each screen uses.

How it's made

  1. A depth map for each screen · Each screenshot has a small depth file, a list of boxes for its header, cards and buttons, each at its own distance. We draw the boxes into a soft greyscale map, where white is nearest.
  2. A shader that reads depth · The screenshot and its map go to one shader. As the screen tilts, near parts move further than far parts, so the flat image reads as layers. Show depth map draws the map in place of the screen.
  3. Focus like a lens · Parts away from the focus depth blur a little. On the Trinetra page the focus follows the depth under your pointer. Here the Focus slider holds it at one depth.
  4. Full quality only · The screens tilt in Full quality. In Lite, Static, with reduced motion or without WebGL2, you see the plain screenshot, which is the real image.

What we learned

A list of boxes, drawn into a soft greyscale map, was enough to make a flat screenshot read as layers.

If motion bothers you

With reduced motion turned on, the screens stay flat and the sky stays still. Every control works with a keyboard, and Pause motion stops the tilt at any time.