News for hackers. Stuff that matters.
Re:High Performance JS heatmaps by mmcnickle on Monday February 04, 2013 @06:20AM (#5163527)
It only works for me once after I refresh the page. If I click overlay the data stops persisting. A hard refresh allows it to work again. Ubuntu 12.10 Firefox 18.0.1
Re:High Performance JS heatmaps by pyalot2 on Monday February 04, 2013 @06:27AM (#5163556)
That's an interesting bug.

- Does it work in chrome? (please state chrome version)

- Do you have any error on the javascript console (ctrl+shift+k in firefox, ctrl+shift+j in chrome).

- What GPU/driver are you using?

- Please paste the content of about:gpu in chrome, and about:support (the graphics section) in Firefox

Re:High Performance JS heatmaps by mmcnickle on Monday February 04, 2013 @07:12AM (#5163695)
Hi, I can't test it in chrome as WebGL isn't supported.

Firefox graphics: http://pastebin.com/XVdypYVq

Relevant error messages: http://pastebin.com/PvKVwWFi (These are repeated. I missed them the first time round because they were actually warnings rather than errors.

Hardware: http://pastebin.com/x7Jh025T

Re:High Performance JS heatmaps by jswanson on Monday February 04, 2013 @07:17AM (#5163710)
What version of chrome are you using?

  Google Chrome – WebGL has been enabled on all platforms that have a capable graphics card with updated drivers since version 9.[14] Google Chrome 13.0 and newer versions use Cross-origin resource sharing (CORS) to control all WebGL cross-domain textures.[15]
Source: http://en.wikipedia.org/wiki/WebGL
Re:High Performance JS heatmaps by mmcnickle on Monday February 04, 2013 @08:19AM (#5163911)
>>> "capable graphics card with updated drivers"

I think that's the issue with this version of Ubuntu. It's a strange hybrid graphics setup.

Re:High Performance JS heatmaps by pyalot2 on Monday February 04, 2013 @07:31AM (#5163753)
Right, got it. That was a small error in the auto update on addPoint check, index off by 1: https://github.com/pyalot/webgl-heatmap/commit/8d04627cba4a3...

Example/blog post is updated. Let me know if that fixes the issue for you.

Re:High Performance JS heatmaps by mmcnickle on Monday February 04, 2013 @08:18AM (#5163901)
I'm afraid not, same behaviour as before. The javascript warnings have gone now though.
Re:High Performance JS heatmaps by pyalot2 on Monday February 04, 2013 @08:34AM (#5163975)
Can you shoot me an email to [email protected] I'm probably gonna write a conformance test for it eventually, but since it works on my 3 platforms (mbp, ubuntu 12.04, win7) I'll need some help figuring out how to write one that reproduces it.
Re:High Performance JS heatmaps by funthree on Monday February 04, 2013 @06:45AM (#5163605)
I had the same issue in chrome