diku-canvas
diku-canvas copied to clipboard
Problem occurs if the react function evaluates slower than the rate of events
When giving the interact function a react function that is slower to evaluate than the time it takes for a new event to appear, new events flood the queue, meaning that the evaluation of new events get further and further behind.
The problem is also dependent on the speed of the system, e.g. some systems won't experience it while slower ones might.
An example would be the 10g reference solution: https://github.com/diku-dk/PoP/blob/main/referenceSolutions/2023/10g/AsteroidApp.fs