Work / Debegi
Debegi
A boxing app that throws the combo your coach called on a 3D character. Type the numbers from class, watch it at full speed and slowly, then take it to the bag.
- Status
- Coming soon to the App Store and Google Play
- Platforms
- iPhone · Android
- Runs
- Offline, no sign-in
- Stack
- SwiftUI · SceneKit · Jetpack Compose · Filament



What it does.
One combo for today
Open the app and today’s one combo fills the screen. On a day with nothing entered, you get a recommended one; 42 combos are bundled.
Your coach’s numbers
Numbers are punches, b after a number goes to the body, and buttons add slips, ducks and steps.
Slowly, from the side
The character throws the combo at full speed, then slowly, and you can turn it to see the side and the back. The common mistakes are listed with it.
A timer for the bag
Set round length, rest and rounds once. It reads at arm’s length with gloves on, and the bell rings with the screen off.
How it is designed.
The motion model and its review judge, the stage and the asset build of Debegi, drawn from its code.
Drag sideways for the whole drawing
- outputs compared: Python, Swift, Kotlin
- a pose, every frame
- Resources sealed before signing
- the same pak, both apps
- share link and optional sync
-
Motion is solved from a model
The motion model describes a boxer’s body state with a handful of parameters, and a technique as a change to that state in a set order and timing. A solver turns the state into a full-body pose every frame. The model does not play motion capture back: the captures are the reference its numbers are measured and calibrated against.
-
One model, three runtimes
The model lives in Python, in the Swift package BiomechKit, which generates motion in the iPhone app, and in a Kotlin port on Android. Parity commands compare the outputs: Python against Swift, and the Kotlin port against the Swift output.
-
A judge looks before I do
The model’s numeric tests could all pass while I still rejected the motion by eye, so every revision cost one of my reviews. A review judge now goes first. It solves the same sequence with two revisions of the model and puts them side by side: keyframes from three views, a strip of frames 0.1 s apart, and measurements taken from the solved pose. Claude judges the pair against a 12-item rubric, in both orders and three times each, and the majority of the six votes is the verdict. On the 34 pairs where I had already picked a side it picked the same side every time, and nine of those pairs were kept out of tuning the rubric (measured 2026-11-06).
-
From pose to picture
On the iPhone the pose is retargeted to each rigged character, and a step layer with two-bone leg IK places the feet. SceneKit draws the stage with a cel look: two-step shading and an ink outline. Android draws its stage with Filament, with its own cel and outline materials.
-
One sealed asset file
Nothing ships as plain files. The build seals everything under Resources into one AES-GCM assets.pak before signing, and the app opens its entries in memory only. The Android build makes the same pak with the same packer.
-
A small server, by choice
The app works offline with no sign-in. The server is a share-link page on S3 and CloudFront, plus an HTTP API with Cognito, one DynamoDB table and one Lambda for the optional sign-in that syncs your combos and settings. The app and the web page read the same link format, checked against shared fixtures.
What was built.
- Apps
- iPhone in SwiftUI with a SceneKit stage; Android in Kotlin and Jetpack Compose with a Filament stage.
- SwiftUI · SceneKit · Kotlin · Jetpack Compose · Filament
- Motion
- A model of the boxer’s body in Python, the Swift package BiomechKit that generates motion in the app, and its Kotlin port on Android, with their outputs compared.
- Python · BiomechKit (Swift) · Kotlin
- Review tools
- A motion editor that solves a technique again as its parameters change, and LLM judges for the coaching text, the punch renders and model revisions. Each judge is scored against planted defects, measurements or my own past verdicts.
- Python · Blender · Claude Code CLI
- Assets
- A packer that seals everything under Resources into one AES-GCM file before the app is signed.
- asset-pak · AES-GCM · glTF
- Web and server
- The landing and share-link page on S3 and CloudFront; an HTTP API with Cognito, one DynamoDB table and one Lambda for the optional sign-in sync.
- S3 · CloudFront · HTTP API · Lambda · DynamoDB · Cognito