Jump to content

HyperPixel


rich
 Share

Recommended Posts

  • 2 weeks later...

It's interesting what Hyperpixel does: Puts one Three.js particle on each pixel of the canvas, and provides get/setColor() for each particle-pixel. It's seems pretty efficient, but I'd love to see a more complete test than the only one they have (http://richardanaya.github.com/HyperPixel/). Seems more efficient than TinyC5 (based on canvas ImageData), but with just 3 functions: getColor(), setColor(), and update().

 

Both libraries have a strong tinyPTC inspiration, which is very cool  :)

Link to comment
Share on other sites

I just took a short look at 93 lines of code and I found a bug at line 19 and several other:
 
var i = (y*this.height+x)*3;
 
I think there should be this.width instead of height.

EDIT: I have written him an email and he fixed it.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...