Inspiration
Playtonik started life as an experimental iOS instrument built in Unity: a playful 3D world where musical notes bounce, collide and generate sound through physics.
As the project evolved, we started asking a bigger question: what if Playtonik wasn’t tied to a single device, operating system or app store?
That led us to the web. Rebuilding Playtonik as a browser-based experience meant we could bring the instrument to more people, in more places, with nothing more than a link.
The Meta XR Hackathon gave us the perfect opportunity to take that idea one step further: what happens when Playtonik leaves the screen entirely and becomes a spatial musical object you can reach into, grab and play?
What it does
Playtonik WebXR transforms the original physics-based instrument into an immersive, hands-first musical experience.
Instead of controlling Playtonik with a touchscreen or mouse, you can interact directly with the instrument in 3D space. Musical notes move inside a physical simulation, colliding with the structure and generating sound as they travel.
In XR, users can grab, rotate and scale Playtonik, manipulate individual notes, and interact using natural hand movements. Gaze and pinch provide another way to select and control objects, particularly when they are beyond comfortable reach.
In mixed reality, Playtonik can sit directly on a real table or exist within the room around you, turning the surrounding physical space into part of the experience.
The aim is to make Playtonik feel less like software running on a device and more like a musical object that can exist anywhere.
How we built it
Playtonik originally grew from a Unity-based iOS app (which won a MIDI Innovation award in 2025!), but the project has gradually moved towards a more accessible web architecture.
The current experience runs directly in the browser at playtonik.cc, combining real-time 3D graphics, physics and browser-based audio.
For the hackathon, we extended this using WebXR and Meta’s Immersive Web SDK, adding spatial interaction systems designed specifically for Meta Quest and future immersive web devices.
The WebXR version combines:
- hand tracking and direct manipulation
- gaze and pinch interaction
- one-handed and two-handed grabbing
- physics-based musical objects
- mixed-reality passthrough
- spatial placement and environmental interaction
- spatial audio
- browser-based synthesis and audio processing
A major goal throughout development has been to preserve the responsiveness and musicality of the existing Playtonik experience rather than treating XR as a purely visual layer.
Challenges we ran into
One of the biggest challenges was translating an interaction model originally designed for touchscreens and conventional input into something that feels genuinely natural in spatial computing.
Simply replacing a mouse cursor with hand tracking isn’t enough. Objects need to behave in ways people instinctively understand when they reach towards them, grab them, throw them or move around them.
There is also a difficult balance between believable physics and musical control. Realistic physics can be unpredictable, while musical instruments need to feel responsive and intentional.
Performance is another important challenge. Physics simulation, graphics, hand tracking, mixed reality and real-time audio all have to run together while maintaining a smooth frame rate and low audio latency.
We also had to think carefully about which parts of the existing web experience should remain familiar and which interactions should be completely redesigned for XR.
Accomplishments that we're proud of
Playing on a surface, getting that awesome ‘self haptic' feedback of tapping on a desk feels great! We built new concepts for controls that weren’t possible in the constraints of the touch screen. We’re also proud that the project remains accessible through a normal web browser. The immersive experience builds on the same underlying idea rather than becoming a completely separate product. That means Playtonik can start with a simple URL and gradually become more immersive depending on the device being used. And we built it from the ground up with IWSDK!
What we learned
The biggest lesson has been that spatial computing works best when it isn’t treated as another screen.
Playtonik became much more interesting when we stopped asking, “How do we put the app into XR?” and started asking, “What would this instrument be if it actually existed in the room?”
That shift changed the way we thought about interaction, scale, sound and physics.
We also learned that the web is becoming an increasingly powerful platform for immersive experiences. Being able to move from a standard browser experience into WebXR creates an interesting opportunity for creative tools because the barrier to trying something is extremely low.
Most importantly, we’ve learned that Playtonik’s original physics-based concept feels particularly well suited to spatial interaction. The instrument becomes easier to understand when users can physically reach into it.
What's next for Playtonik WebXR
Next, we’d like to explore deeper interaction with the physical environment, allowing musical objects to bounce from real-world surfaces and react to the geometry of the room.
We’re also interested in developing spatial looping and composition tools, where musical phrases become physical objects or orbit around the instrument and can be grabbed, rearranged or transformed.
Multiplayer is another exciting direction. Two or more people could eventually share the same Playtonik space and improvise together around a single spatial instrument.
We want Playtonik to continue evolving as a genuinely cross-platform instrument and are excited to see where it ends up on Meta Quest and Meta VR Glasses!
Built With
- iwsdk
- typescript
- webxr


