मैं एक ही पृष्ठ पर एकाधिक स्केच चलाने की कोशिश कर रहा हूं।एक ही समय में एकाधिक प्रसंस्करण.जेएस स्केच चल रहे हैं
init स्क्रिप्ट निर्दिष्ट करता है कि:
/*
* This code searches for all the <script type="application/processing" target="canvasid">
* in your page and loads each script in the target canvas with the proper id.
* It is useful to smooth the process of adding Processing code in your page and starting
* the Processing.js engine.
*/
जब मैं प्रत्येक स्केच का लक्ष्य कैनवास निर्दिष्ट करते हैं, यह काम नहीं करता:
<script type="application/processing" target="canvas1">..</script>
<script type="application/processing" target="canvas2">..</script>
<canvas id="canvas1".. />
<canvas id="canvas2".. />
लेकिन यह काम नहीं कर रहा है? क्या यह भी संभव है? कोई भी सहायताकाफी प्रशंसनीय होगी। मैं एक दूसरे के साथ सिंक में एक स्केच चलाने वाले इनलाइन कैनवास तत्वों के साथ एक दस्तावेज़ रखने की कोशिश कर रहा हूं।