Experiments >

Code animation: Scalable tick marks w/ labels

Experiment #18412th May, 2021by Joshua Nussbaum

Continuing with the previous experiment, this scales the major and minor tick marks based on the zoom level.

It also adds labels that are formatted, ie 0.1s, 1s, 30s, 1m, 2:30

Code

https://svelte.dev/repl/53403d6fea2c48e9b6be3cd45d2935f4?version=3.38.2

Demo

Notes

  • Zoom level is inverted
view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow