Starts a heavy calculation simply as a function call
within the main page. This will interrupt the animation
(which is performed with JavaScript) until the
calculation is completed, the page will hang up for
some time.
Calculate in the plugin
Performs exactly the same calculation, but uses a method
provided by the Plugin created with
the Jailed
library instead. The Plugin runs in a separate thread of
a Worker, so the page will not freeze during the
calculation.