You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zhaoyi Shi edited this page Jul 20, 2025
·
4 revisions
useAutoStepper (AutoStepper.ts)
provides a timer that runs a function (usually a algorithms nextStep function) on a variable interval. The play and pause function run and pause the timer, changeFreq(newFreq: number) adjusts the interval speed (it's frequencies, so smaller number = fast interval). the variables freq and playing are exposed as well.
useLocalStorageGraphs
handles the storage and loading of the graphs from the local storage