labs
한국어 hello@taklabs.dev

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.

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

MOTION MODELON THE IPHONEREVIEWBUILDANDROIDSERVERPYSOLVERKTBIOMECHKIT SOLVERRETARGET · LEG IK · STEPSCENEKIT STAGE · GLTFCEL SHADE · OUTLINEPACKJUDGEPAKDebegi1 · 2 · 3CDNAPISpecbody state as a few parametersPython modelcalibrated to mocapBiomechKit · Swiftstate → full-body pose, every frameKotlin portchecked against SwiftTwo revisionssame sequence, side by sideReview judgepicks a side before I lookSolverpose per frameRetarget · leg IK · step layerpose onto each rigged characterSceneKit stageglTF characters from assets.pakCel looktwo-step shade, ink outlineSwiftUI screenstoday, combos, moves, gym modeResourcescombos · motion data · characters (.glb)asset-pakruns before signingassets.pakAES-GCM, one fileAndroidCompose · FilamentShare-link pageS3 · CloudFrontSync APICognito · DynamoDB · one Lambda12345
  1. outputs compared: Python, Swift, Kotlin
  2. a pose, every frame
  3. Resources sealed before signing
  4. the same pak, both apps
  5. share link and optional sync
main pathreply or checkwhere the decision sits
  1. 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.

  2. 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.

  3. 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).

  4. 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.

  5. 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.

  6. 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

hello@taklabs.dev