GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04Lap Bars That Mark the Best and the Worst

The minimum and maximum of the lap times set the bar length as (value − baseline) ÷ (max − baseline), and the baseline sits 25 percent of the range below the minimum. The shortest lap gets a mint best band, the longest a pink worst band, and the dashed line is the average. With the baseline at the minimum the shortest bar shrinks to 0, but 25 percent below it stays at 0.200.

Best forComparing pace per segment and checking time variance in tasks

BASE_PADBAR_RANGESPANS
Lap Bars That Mark the Best and the Worst
Open in a new tab

04 Lap Bars That Mark the Best and the Worst — Measured area 8.885% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Stopwatch JavaScript: 9 Canvas Timing Scenes

The post this demo lives in

Stopwatch JavaScript: 9 Canvas Timing Scenes - preview of all 9 demosStopwatch JavaScript: 9 Canvas Timing ScenesHow does a stopwatch turn time into digits and a hand? 01 sets the second hand from one integer count, 03 computes laps See all demos in this post

If you like this effect - similar demos