HYPE_Processing icon indicating copy to clipboard operation
HYPE_Processing copied to clipboard

HCanvas in JavaScript

Open hype opened this issue 12 years ago • 1 comments

website/examples/H_BASICS/ex14_HCanvas/index.pde or java example examples/H_BASICS/ex14_HCanvas/ex14_HCanvas.pde

this example using both processing's internal PGraphics and HYPE's HCanvas - neither are rendering in JavaScript.

do we know if this is possible ?

hype avatar May 21 '13 18:05 hype

Looks like it's yet another name clash inside HCanvas.paintAll(). I just changed some internal names to workaround this.

The fading doesn't seem to be working properly in JS mode though. It looks like PGraphics in js mode doesn't like direct manipulation with its pixels. Since this is a low-level internal thing, I'll need to research more on this.

snarks avatar May 22 '13 09:05 snarks