FLEX

Build notes

Short notes from building FLEX, the workout tracker with a food log built in: what a feature does, and the thinking behind how it works. Each one comes with a short clip of the real app.

  1. Build note 1 of 10

    I replaced 1,347 exercise videos with one 3D figure

    Every exercise in FLEX used to be a video clip. Now it’s one clay figure drawn live on your phone, and the app got 68 MB lighter.

  2. Build note 2 of 10

    The animation tool behind 1,348 exercises is one HTML file

    To animate a whole exercise catalog, I built a figure editor first. It’s a single HTML file, and it’s the only place the movements live.

  3. Build note 3 of 10

    Arrange your workouts like apps on a home screen

    Hold a routine, drag it anywhere, even into another program, and the rest of the grid moves out of the way.

  4. Build note 4 of 10

    Never do plate math again

    Spin to a weight and FLEX loads the bar for you, using only the plates your gym actually has.

  5. Build note 5 of 10

    Log a meal with one photo

    FLEX tracks food beside your training. Snap dinner, get calories and macros item by item, and fix any amount it got wrong.

  6. Build note 6 of 10

    Rest timers that stay with your set

    Check off a set in FLEX and its rest slides out right underneath it. No pop-up covering the workout you’re in the middle of.

  7. Build note 7 of 10

    The 3D figure lifts what you lift

    Log a 225 lb bench press and the figure in Bench Press carries 225 the next time you open it.

  8. Build note 8 of 10

    A workout app that doesn’t need signal

    Gyms are dead zones. FLEX saves every set on your device first and syncs when you’re back online.

  9. Build note 9 of 10

    Guided HIIT that runs on your actual workout

    FLEX’s HIIT mode turns the routine you’re doing into timed intervals: get ready, work, rest, next exercise.

  10. Build note 10 of 10

    One app on your phone and in your browser

    Finish a workout on your iPhone, open your laptop, and it’s already there. FLEX is one codebase for both.