jQuery and Processing inside the same Canvas element?
Is it possible to use both jQuery a开发者_如何学Pythonnd Processing inside the same canvas element?
It's easy enough to combine the two on the same page, but I am wondering if it's possible to place - for example - some jQuery UI draggable boxes in a canvas rendering some Processing code.
jQuery UI is completely different from Processing, as it does not use <canvas>
, but the DOM to create dialogs, draggables, et cetera.
So, no, it is impossible to use jQuery UI to draw on the canvas.
精彩评论