Inspiration
I was at the gym, but I didn't trust my trainer. I thought: with AI, I could create a routine tailored to me, taking my personal considerations into account, like back and shoulder pain. After a few tries I had my routine, but it wasn't clear enough and it lived in an Excel sheet. So I decided to build an app using AI tools.
Once it was finished, I wondered: what if I had a personal trainer who exercises together with me? That idea led me to create an XR version of the app for the Meta Quest 3 and future Meta VR glasses. My goal is to keep a clear record of my routines and stay motivated to exercise, even at home.
What it does
In the mobile app, I create my routine with AI using the prompts the app provides. Then I scan a temporary QR code with my phone, and my entire routine is instantly delivered to the Meta Quest 3. An avatar trainer performs each exercise in front of me, in sync with my routine, so I train side by side with it. Meanwhile, background music keeps me energized and motivated.
How we built it
The mobile app was already built on Firebase, so the first step was integrating Unity with Firebase and creating a secure login. I then designed a clean canvas, searched for avatars and animations that matched the exercises in my routine, and added background music. That was the birth of the first XR version of the project.
Challenges we ran into
Building the temporary QR login and retrieving the data from Firebase took several days of struggle. Finding the right avatar and animations was another challenge: there are few free animation options available, so the XR app currently includes only the exercises I could match with the free animations I found. The results can still be improved.
Accomplishments that we're proud of
We're proud of how smoothly the mobile app and the XR experience work together at this stage. Once the headset receives all the necessary data, it opens a world of possibilities, such as expanding the gamification already present in the mobile app.
What we learned
I learned how to structure a project correctly, how to add background services such as a QR reader, and what to consider when choosing avatars and animations for an XR experience.
What's next for Str Trainer XR
Right now the XR app has only a few exercises, enough for a short routine, because they were limited by the free animations available online. My plan is to create my own custom animations to expand the exercise library and cover the full routines generated in the mobile app. I also want to offer a wider variety of music to choose from and add new experiences and deeper gamification, going beyond what the mobile app offers today.
