executeEvery(box1.animate(), 10); executeEvery(box2.animate(), 10);
The result is weird for reasons not important here.
This to me seems to be the two
executeEvery calls not working in unison - probably some asynchronous issue. Because
animate() is a complex function call, the threads behaviour is seemingly erratic.