We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have two separate animations on a webpage (see setup below). I want to only have one running (and visible) at a time. all animations works as directed, it is just too much to have them running at the same time. Any thoughts on the best approach?
...<script type="text/processing" data-processing-target="T1">
script Some Animation Code
</script>
...
<script type="text/processing" data-processing-target="T2">
script Some More Animation Code
</script>
...
<canvas id="T1"></canvas>
<canvas id="T2"></canvas>