William Ngan

Results 63 comments of William Ngan

I've tested the demo (http://williamngan.github.io/roll/demo/index.html) on iOS Safari and Chrome, and it seems to work. It doesn't load on my iPad Safari for some reason, not sure why. Please report...

Hi @lupos, if I understand correctly, you have a canvas with pt.js in a background div, and then on top there're other DOM elements which is blocking the mouse events,...

I see. There's no direct API yet, since onMouseAction callbacks are based on events. It's a good idea to have these also as a function call though, since dispatching events...

Thanks for reporting. I can reproduce the bug in Safari and IE 11 (but work in Chrome / FireFox). Will investigate...

Interesting. I didn't realize it still requires global gulp even it's in devDependencies. Will fix. Thanks!

Good question. My first guess would be to create a `` in React, and then simply reference it in Pt. React: ``` javascript render() { return() } ``` Then to...

@amorino There's probably a bug somewhere that the `clearRect` logic doesn't work. Good to know. Meanwhile, if you call `clearRect` directly like what @tofuness suggested, it should work. Eg, suppose...

This bug should be fixed now. You can set a transparent background via `space.setup({bgcolor: false})` or `space.setup({bgcolor: "transparent"})`. Please see if it works for you. Thanks for reporting! https://github.com/williamngan/pt/commit/05a0f63b2bf9911cf4803ee4b64aecfe0ddf5709

Pt 0.2 has now a new constructor for CanvasSpace and SVGSpace. This will now support existing . Thanks for reporting! http://williamngan.github.io/pt/docs/guide/migration.html

Hi @amilajack, can you describe how this would work ? Sorry I'm not familiar with Travis. But since there's nothing to build/deploy here, I'm not sure how the workflow will...