FPS test for LocusEquation

This applet tests GeoGebra's animation capabilities by connecting a slider and the [b]LocusEquation[/b] command. See the applet [url=https://www.geogebra.org/m/hSgwUEmZ?doneurl=%2Fmaterials]A necessary not-sufficient condition[/url] for the mathematical details.[br][br]Technically, on the web platform it is more difficult to get 30 frames per second (FPS), because computing the underlying Gröbner bases is done purely in JavaScript. Running the applet on an [i]Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (4 cores)[/i], about 10 FPS can be achieved.
Firefox 47.0
Google Chrome 49.0.2623.110
Unfortunately, after several seconds the current implementation (GeoGebra 5.0.250.0) will stop with the following error message (see the JavaScript console):[br][quote]Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set __ggb__giac.TOTAL_MEMORY before the program runs.[/quote]This is an error raised by [url=https://en.wikipedia.org/wiki/Emscripten]emscripten[/url]. In later versions of the implementation this problem will be hopefully fixed.
On the other hand, desktop version of GeoGebra has no such issues, and almost continuously 30 FPS can be achieved:

Information: FPS test for LocusEquation