TempoLife

TempoLife › Features › Swap deck

Swap deck

The visitor picks a food and moves a slider between energy, protein and a price they typed. The tool re-ranks five swaps from the food table as the slider moves.

Put two options side by side. The page ranks them on the numbers you entered or on the food table.

This is a general-purpose tool, not medical, legal or financial advice. Figures are estimates from published food data or arithmetic. A qualified professional owns decisions that affect your health.

How to use it

Inputs are a food, a slider and an optional price. Computation re-sorts the food table. Output is a ranked five.

The tool runs in your browser. Nothing from the camera, microphone or sensors is uploaded. With JavaScript off, the worked example below is still computed on the server.

A worked example

Swap deck. Put two options side by side. The page ranks them on the numbers you entered or on the food table. Worked with chicken breast 150 g, rice 180 g and broccoli 100 g: 516 kcal and 54 g of protein.

ItemGramsEnergy (kcal)Protein (g)
Chicken breast15024846.5
White rice1802344.9
Broccoli100342.8
Total43051654.2
516kcal
54protein g
430grams

Continue on TempoLife

The food-swaps guide is the written home of those swaps.

/more/food-swaps

Keep the result in an account

TempoLife keeps food, movement and sleep in one private place, so this result can become part of a day instead of a one-off page.

Create a free accountGet the app

Source

computed from the 5,298-food DB, re-ranked by a weight the visitor moves.

FoodData Central — US government work, public domain. TempoLife's compiled food table is the working copy; figures trace to this upstream.

Frequently asked questions

Where is my data stored?

In this browser (localStorage and the link you copy). Camera, microphone and motion frames never leave the device. TempoLife does not receive the plate you built unless you continue into an account and log it there.

Where do the numbers come from?

computed from the 5,298-food DB, re-ranked by a weight the visitor moves.

Where does this tool stop?

food-swaps lists swaps. swapdeck re-ranks them by a slider the visitor moves.