Dev.to WebDev 🛠 Dev 👁 0 📖 1 min read

19 commits, 3 app versions, one morning. Part one of the biggest day in this log

Oct 31. IronLog, now Afterform. I didn't want a logging app anymore. I wanted a gym companion. A lot of people who train live with body dysmorphia: months of work, and the mirror doesn't show it. So I built a 3D body ho

Oct 31. IronLog, now Afterform.

I didn't want a logging app anymore. I wanted a gym companion. A lot of people who train live with body dysmorphia: months of work, and the mirror doesn't show it. So I built a 3D body hologram from your own tape measurements, then rebuilt it on MakeHuman CC0 body meshes with a muscle map: 1.1 MB of body data, rendered in WebGL on your phone.

Then body fat (US Navy tape method), lean mass and FFMI. Because "I am very lean but I don't have visible abs. People can have less weight but still not have good muscle and only fat."

Problem: spin the body fast on a phone and it ballooned. In my words, "the tank explodes."

Cause: frame timestamps arriving earlier than the clock, so time went negative.

Fix: clamp the time step and the easing.

Problem: the generated faces and hair looked bad.

Fix: I told AI "don't try to become a 3D designer" and used CC-BY hair and face sets, credited. 5 skin tones.

Also shipped that morning: routine sharing by QR code (its own QR encoder), supersets, progression suggestions (+2.5 or 5 kg, 10% back after 2 misses), editing past workouts, an Android home-screen widget.

And the thing I gave up on in August: "It would be better if we can turn it from a web app into a full APK." Wrapped with Capacitor, it became a real Android app. 2.2.0 → 2.3.0 → 2.3.1, between 4:43 am and 12:41 pm.

Same week the last NEXUS form went in, minutes before the deadline, after the model-listing tool froze SketchUp.

buildinpublic #androiddev #webgl #fitnessapp #indiedev

From the build journal of abdulwasaylodhi.com.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.