How to have multiple processing.js sketches running at the same time 
I'm trying to run multiple sketches on the same page.

I thought I could specify the target canvas of each sketch:

    <script type="application/processing" target="canvas1">..</script>
    <script type="application/processing" target="canvas2">..</script>
    
    <canvas id="canvas1".. />
    <canvas id="canvas2".. />

but it isn't working? is this even possible? Any help would be much appreciated. Im trying to have a document with inline canvas elements running a sketches in sync with each other.


How to have multiple processing.js sketches running at the same time 
===

I'm trying to run multiple sketches on the same page.

I thought I could specify the target canvas of each sketch:

    <script type="application/processing" target="canvas1">..</script>
    <script type="application/processing" target="canvas2">..</script>
    
    <canvas id="canvas1".. />
    <canvas id="canvas2".. />

but it isn't working? is this even possible? Any help would be much appreciated. Im trying to have a document with inline canvas elements running a sketches in sync with each other.

