Skip to content
Saif Khan
Chapter 02.02 · Projects

OpenSim for Android

Biomechanical simulations and powerful tools, now on Android smartphones.

a little weekend project from earlier today, primarily created to assess gpt-6 astra’s capabilities… it exceeded expectations by a margin and, with modest help from me, built something i’m surprisingly impressed by.

OpenSim’s biomechanical modeling and simulation on Android phones.

almost complete OpenSim 4.6 C++ engine (core, models, gui) ported to Kotlin as reusable Gradle packages… plus a demo app to showcase what’s possible on a phone

what this means: one can simulate kinematics and dynamics of all musculoskeletal systems (human or otherwise) right on a smartphone… you can build your own OpenSim-powered apps… for example, combined with an on-device motion tracking software, this potentially brings the complete video-to-biomechanics stack wherever your phone can go…

countless possibilities… same trusted mathematics and rendering from Stanford University many teams around the world use daily – just on hardware you can take in the field with you

project is open-source under Apache-2.0 … also see following YouTube video for a detailed discussion

idk if i’d do anything more with it in immediate future. i do not take credit for this project, my contributions were minimal (i have never felt so replaced by an agent before; mixed feelings)… community contributions are welcome

p.s. it took 4 consecutive hours of gpt-6 astra ultra to create this; the model worked almost constantly the whole time

(i did limited testing of scaling/inverse kinematics/inverse dynamics on an emulator and two physical devices, and everything worked beautifully so I have no reason to doubt the other features won’t work… but would be great if people who might try it out leave feedback on the repo)