Can p5 js run in the background?

edited February 2017 in p5.js

Hey all,

I have made a stopwatch/alarm and use the draw() function to decrement to calculate the time remaining. The problem is, the program will pause when you alt-tab to a different window. I understand that this normally is what most people want, but is there a way that you can tell p5 to keep running in the background?

If I can't, then my stopwatch/alarm isn't much use unless you want to keep that page open constantly :D.

Thanks, Steve

Tagged:

Answers

Sign In or Register to comment.