Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Node-canvas open sourced (tjholowaychuk.com)
28 points by shawndumas on Dec 9, 2010 | hide | past | favorite | 7 comments


Nice. If your canvas isn't interactive, render it on the server with the same codefor browsers that don't support canvas (i.e. I.E.)!


I have wished for this several times in the past. Thanks, node-canvas folks!


If your canvas isn't interactive, why are you rendering it in the browser anyhow? Why have two code paths, when you could just have one?


Because your users are paying for CPU time, not you!


Pretty cool.

I guess the use case would be the need to generate an image on the fly from a server. Mixing it up with Socket.IO you might even be able to do server side animation (not using a per second reload setup).

The downside is you use a lot of the speed of running your images on the client side, but as with all things, it is a trade-off.

Great work guys!


It's cool that this on HN now, but we open sourced node-canvas a while ago over at https://github.com/learnboost


As an aside, I didn't realize TJ was part of the learn-boost team. Does anyone know how long he has been with them?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: