Every big drawing has the same problem: the idea fits on a phone screen, but the wall is three metres wide. Muralists solve it with projectors. Rangoli artists solve it with years of practice. I wanted a third option: use the mixed-reality headset you already own.

That became Rekha – a free Meta Quest 3 app that places a glowing line drawing on your real wall or floor so you can trace it with real chalk, pencil or paint. ("Rekha" means line in Hindi.)

Rekha intro: pick a design, lock it to the wall, trace it

The stack

  • Unity 6 + URP, Meta XR SDK and MRUK (Mixed Reality Utility Kit)
  • Passthrough, hand tracking, scene understanding (walls, floor, furniture volumes) and the depth API
  • Everything runs on-device and offline – no server, no account

Problem 1: "The image moves while I draw"

This was the bug. My first lock used spatial anchors. In theory: perfect. In practice the image "swam" by a few millimetres as you walked – invisible in a game, fatal when your pencil is on the line. After a lot of logging I found that the anchor's head-relative conversion was feeding small corrections back into the pose every frame.

The fix was almost boringly simple: when you press Lock, freeze a fixed world pose and let MRUK's world lock keep the tracking space aligned to the room. To survive restarts, the spot is saved relative to the room's floor anchor (anchor id + local pose), so Rekha can put your half-finished mural back exactly where you left it – that became the "Back to locked spot" button.

I also added a two-step Unlock → Confirm? – one accidental pinch used to undo 30 minutes of alignment.

Problem 2: hands that sometimes didn't work

Pinch-to-drag felt flaky on the right hand. Two changes fixed it: switching hand tracking to high frequency, and adding hysteresis + a 0.25 s grace period to the pinch so a single dropped tracking frame doesn't "let go" of the image. The pointer ray is smoothed with a One-Euro filter – steady when you aim, responsive when you move.

Problem 3: surfaces that aren't walls

People trace on cupboards, tables and floors too. Rekha raycasts against MRUK room geometry (including furniture volumes) and the depth API, then snaps the surface normal to perfectly upright or flat so the drawing never sits at a 3° tilt.

Problem 4: the stationary boundary

Big walls mean walking. The Quest's boundary kept fading in over the drawing, so Rekha runs as a boundaryless mixed-reality app – the room you see is the boundary.

What I learned

  • In MR utilities, stability beats features. One millimetre of drift matters more than ten new buttons.
  • Test with real chalk on a real wall for 30 minutes. My bug list after one honest session was longer than after a week of desk testing.
  • Store review is part of the product: my first submission was rejected because my screenshots weren't real in-headset captures.

Rekha is free on the Meta Quest Store: https://www.meta.com/experiences/rekha/1514136935105476/

Happy to answer questions about MRUK, passthrough or hand tracking in the comments!