Skip to content Skip to sidebar Skip to footer
Showing posts with the label Timing

Requestanimationframe [now] Vs Performance.now() Time Discrepancy

Assumptions: rAF now time is calculated at the time the set of callbacks are all triggered. Therefo… Read more Requestanimationframe [now] Vs Performance.now() Time Discrepancy

Forcing One Javascript Function To Wait To Run Until The First Has Finished

Afternoon all, I am running into an issue where i need to run one function, then after that is fini… Read more Forcing One Javascript Function To Wait To Run Until The First Has Finished

Replacing Settimeout() With Requestanimationframe()

I am a PhD student in experimental psychology and due to COVID-19, we have to switch all our experi… Read more Replacing Settimeout() With Requestanimationframe()