中文
← Back to Projects

Working prototypeEveryday apps · iOS

Lull

How much caffeine might be left at bedtime?

Make the relationship between logged caffeine and a chosen bedtime easier to understand through a simple estimate.

Lull — See beyond the next cup.
01See beyond the next cup.
Lull — Start with what you drank.
02Start with what you drank.
Lull — Keep the day in view.
03Keep the day in view.
Lull — Let the evening feel quieter.
04Let the evening feel quieter.

Captured from the development build

How it works

  1. 01

    Log a drink

    Choose a preset or enter an amount and consumption time.

  2. 02

    Keep the record

    The drink remains a local record that can be reviewed in the ledger.

  3. 03

    Estimate the remainder

    The model sums a decay estimate for each drink at the requested time.

  4. 04

    See the evening

    Sampled points become a curve with current and bedtime estimates.

The product idea

Make a coffee choice visible at bedtime.

A caffeine estimate becomes easier to interpret when it answers a specific question: what might remain at my chosen bedtime?

  1. Problem framing

    Start from bedtime

    Compare the estimate at a chosen time, giving the calculation a moment that matters to the user.

  2. Clarity

    Show the change over time

    Combine drink amounts and timing in one curve, making the contribution of several drinks visible.

  3. Boundaries

    Keep the estimate honest

    Use an adjustable half-life rather than presenting one model as a personal medical measurement.

Working prototypeWorking prototype with saved drink history and a configurable estimate; not a personal medical measurement.

Stack

SwiftUI · SwiftSwiftDataFoundation Date mathExponential decay modelCustom curve drawingUserDefaults settings

Implementation details

A configurable estimate with a default five-hour half-life, not a personal medical measurement.

Coffee log
Enter the drink, caffeine amount and time.
Daily view
Keep logging and the evening estimate in one quiet surface.
Decay model
Add the estimated remainder from each past drink.
Evening target
Compare the estimate against the selected target time.
Drink history
Retain logs across app launches.
Caffeine curve
Sample the model to draw a curve through the day.