Inspiration
It all started with a few neon tetra my child brought home from school, and We hadn't planned on keeping.
My wife made a small planted aquarium to give it a proper home, and before we knew it, the tank had become part of our daily routine. I'd come home from work and find myself sitting in front of it, watching the fish swim around and forgetting about the day for a while. My kids loved it too. Every evening, they would watch to see what the fish were doing.
Eventually, I started thinking about getting a betta. I've always loved their beautiful, flowing fins. But keeping one properly means another tank, a heater, regular water changes, and someone to look after it when you're away. I kept putting the idea aside.
Then I thought, why not make a virtual one?
I liked the idea of having a little aquarium right on my desk, something I could enjoy whenever I wanted without worrying about maintenance. With the Quest 3's passthrough, the tank could sit alongside my actual keyboard and coffee cup, almost as if it belonged there.
This is how Betta Desk began. In Korea, there is a term called "mulmeong(물멍)" which refers to calming one's mind and relaxing by staring blankly at water or fish swimming in a tank without thinking about anything. It is a simple pleasure. I wanted to recreate that very feeling in mixed reality.
I also had two things in mind from the beginning. First, I wanted the fish to look and move as naturally as possible. I'd seen some beautiful goldfish apps with translucent, flowing fins, and I was curious how close I could get using procedural generation on a standalone headset.
Second, I wanted my kids to be able to enjoy it without any instructions. No controllers, no complicated menus. Just reach out and interact with the aquarium using their hands.
What it does
Betta Desk brings a small, 36 × 26 × 26 cm glass aquarium into your real space, with a halfmoon betta swimming inside. It's designed to sit on your desk, and you interact with everything using your hands.
When you launch the app, it looks for a table using Meta's Scene Understanding and places the aquarium on it. If the room hasn't been scanned, you can run Space Setup or simply place your palm flat on the desk to tell the app where it should go. Once placed, a spatial anchor keeps the aquarium in position, even if you take off the headset or come back later.
You can grab the top rim of the tank with a pinch to move it around. Twisting your wrist rotates it, and you can use both hands if that's more comfortable. The glass rim is the only part you can grab, leaving the rest of the aquarium open for interaction.
Feeding the fish is as simple as pinching your fingers above the water. You can also rub your thumb and index finger together to sprinkle food. The betta reacts to what's happening around it. It gets curious about your fingers, startles if you tap the glass, occasionally rests on a floating leaf, and comes up to the surface to breathe. Turn off the aquarium light, and it eventually settles down to sleep.
The plants are interactive too. There are several species, including vallisneria, hairgrass, java fern, cabomba, and crypts. They sway with the water and bend when your fingers or the fish touch them. The filter, the fish, and your hands all contribute to the same water movement, so everything feels connected.
You can also create your own betta. A small orb beside the aquarium opens the customization menu, where you can choose colors, scale patterns, and tail shapes such as halfmoon, crowntail, and plakat. There are preset combinations and fifteen real betta varieties to discover with a random dice roll. You can preview the fish before choosing it, and when you're ready, your new betta arrives in a little cup and swims out into the aquarium.
There are a few ways to change the atmosphere as well. You can switch between clear, ocean, and night water, choose natural lighting with caustics or a simple LED, turn the lights off, and add an air stone or filter. There's also a Lo-Fi playlist with adjustable volume, and you can change the size of the fish.
Since the whole experience is meant to be approachable, I added short animated hints for the basic interactions. They appear only when needed, and the text supports 13 languages based on the headset's language setting.
How we built it
Betta Desk is built in Unity 6 using URP and Vulkan, along with the Meta XR Core SDK, MR Utility Kit, and Unity XR Hands. Claude Code contributed to most of the development. It runs on Quest 3, 3S and Quest Pro in passthrough mode.
One of the biggest decisions was to generate almost everything procedurally.
The fish, glass tank, gravel, rocks, and plants are all created through code and shaders. There are no imported model, texture, or animation files for these elements. I used a photograph of a real halfmoon betta as a reference for the body shape, then built the geometry, scales, gills, eyes, and fins around it. The only licensed visual component is a caustics generator from the Unity Asset Store, which produces the light pattern at runtime.
The fins were especially important to me. A betta doesn't look right if its fins move like rigid pieces attached to the body. I ended up using position-based dynamics, with each fin represented as a grid of rays and segments. This lets the fins trail behind the fish, fold and spread as it swims, and react when they touch plants or rocks.
For the swimming behavior, I wanted something more convincing than a looping animation. I looked into how fish actually move and built a system around kick-and-coast swimming, head-first turns, short idle periods, and reactions to nearby objects. The fish also has internal drives such as hunger, curiosity, and the need to surface for air.
Each betta gets a seed that determines its appearance and aspects of its personality. The same seed controls its colors, patterns, and tail type, so every fish can be a little different.
Another major part of the project was making everything respond to the same water. Instead of giving the plants, bubbles, and fins unrelated animations, I built a shared velocity field. It combines circulation from the filter, rising bubbles, and movement caused by the fish and the player's hands. Plants behave like flexible, damped rods, so they bend naturally when something passes through them.
For hand interaction, I used the joint data from Unity XR Hands to create collision capsules and detect gestures such as pinching, finger rubbing, flat palms, and poking. Getting these gestures to feel reliable took quite a bit of tuning. I also made a mouse-based fallback in the Unity Editor, which saved a lot of time during development.
MR Utility Kit handles finding the desk and choosing a suitable position for the aquarium, while Meta spatial anchors keep it attached to the real-world location between sessions.
For audio, I used gamesound.ai to generate some of the effects, including tapping the glass, filter sounds, and the customization dice, then edited them myself. Other effects are synthesized directly in code. I also created nine Lo-Fi tracks with Suno and adjusted their loudness so they could play together as a consistent playlist.
I relied quite heavily on automated testing throughout development. There's a PlayMode test suite with around 270 tests covering things like fish movement, fin collisions, plant interactions, UI gestures, audio, and rendered screenshots. It helped me catch problems without having to put the headset on every time I changed something.
Challenges we ran into
The fins were one of the first big challenges.
I wanted them to have that soft, translucent look you see on real bettas, but hardware doesn't leave much room for expensive rendering effects. I couldn't rely on bloom, refraction, or heavy post-processing. After a lot of shader work, I managed to approximate light transmission while keeping the entire fish in a single transparent rendering pass.
The plants turned out to be even more difficult than I expected.
At first, making them sway in the water seemed straightforward. The real problem came when the fish started swimming through them. A fin could pass through several leaves at once, and the plants needed to bend without suddenly snapping, flickering, or looking like rubber. I spent a surprising amount of time getting that interaction right. It probably took more physics work than any other part of the project.
Placing the aquarium on a real desk also brought problems I hadn't fully anticipated. When positioning it by hand, it was easy to end up with the bottom of the tank slightly below the actual tabletop. Even a centimeter was enough to make the illusion feel wrong. The UI also had to remain within comfortable reach, and the aquarium needed to stay in place when the headset was removed. Combining scene understanding with spatial anchors made a big difference.
Hand-only controls needed their own share of iteration. A pinch above the water should feed the fish, but the same gesture on the rim should move the tank. Buttons needed to respond to fingertip touches from different angles without triggering accidentally. And all of this had to make sense to someone using the app for the first time.
Performance was always in the back of my mind. The scene includes the fish, simulated cloth fins, around forty plants, water flow, bubbles, and hand interactions, all running on a standalone headset.
In a twelve-minute performance test on Quest 3, the app maintained 72 fps, with GPU frame time around 4.5 ms and a 95th percentile of 5.7 ms. Getting there without relying on post-processing was one of the more satisfying parts of development.
Accomplishments that we're proud of
The thing I'm happiest with is simply watching the betta swim.
It can hover almost motionless, glide across the tank, turn its head before changing direction, investigate your finger, come up for air, and settle down to rest. None of those behaviors is particularly dramatic on its own, but together they make the fish feel much more alive.
I'm also proud that the fish and aquarium are generated procedurally. Being able to create different bettas from a seed, without relying on a library of pre-made models and animations, gives the project a lot of room to grow.
One unexpected highlight was the plants. During playtesting, people kept reaching into the aquarium just to move them around. Some even said playing with the plants was their favorite part, which I hadn't expected when I started building the app.
Getting the entire experience working with bare hands was another milestone. You can place the aquarium, move it, feed the fish, change its appearance, and interact with the environment without ever picking up a controller.
And of course, I'm happy that all of this runs at a steady 72 fps on Quest 3.
What we learned
Last week, I bought a real betta fish and have been raising it in my existing tank. Surprisingly, I found that it gets along better with the other fish than I expected.
One thing this project taught me is how much the smallest details matter when you're trying to make something feel alive.
A fin that keeps moving for a moment after the fish stops, a slight delay before it reacts to your finger, or a plant slowly returning to its original position can make a bigger difference than adding another complicated feature.
I also learned that hand tracking works best when you design around its limitations instead of expecting perfect gestures. Interactions need to be forgiving, and people need a little visual guidance the first time they try something.
Working in mixed reality made me think differently about the physical environment too. The real desk isn't just a background for the virtual aquarium. Its height, edges, and position affect how the whole experience feels. Getting those details right matters just as much as making the fish look good.
What's next for Betta Desk
There are still quite a few things I'd like to add.
I'd love to give players more reasons to return to their aquarium, such as naming their bettas, keeping several fish, giving them more natural movements, or seeing how they react to a mirror.
Another feature I want to explore is letting players gently lift a fish out of the water with their hands. Almost everyone who tried the app attempted to do this at some point, so it feels like a natural next step.
I'm also interested in an "open water" mode, where the aquarium disappears and the entire room becomes an underwater space.
Beyond bettas, I'd like to introduce more aquatic life, including other fish, shrimp, and additional plants, while keeping the same calm, hands-on experience.
The current plan is to release Betta Desk on the Meta Horizon Store in Q1 2027.
Built With
- csharp
- hand-tracking
- hlsl
- meta-xr-core-sdk
- mixed-reality
- mr-utility-kit
- openxr
- passthrough
- position-based-dynamics
- procedural-generation
- quest-3
- spatial-anchors
- unity
- urp
- xr-hands
