Live data from Hacker News

Bring a stick man to life.

drawastickman.com

51–60 of 75 posts

Re: Bring a stick man to life.

#56
It's a shame that few people mention the book that seemed to inspire this genre: "Harold and the Purple Crayon" (http://en.wikipedia.org/wiki/Harold_and_the_Purple_Crayon) -- originally published in 1955. It's still a classic in my mind. Max & the Magic Marker and Crayon Physics are also excellent.

Re: Bring a stick man to life.

#58
post #48

I love stuff like this. Im hearing the raphaelJS name a lot so it's nice to see what can be done with it. I just assumed the library was for drawing charts? But I guess it's more for vectors. Anyway - what I'm really looking forward to is realtime multiplayer / multiuser versions of all these great demos. Just think of the viral/network effect. I'm sure it's all quite possible now that we have node.js?

OK so this was done with vector graphics . I was thinking they were doing some sort of bitmap-grid skewing & stretching, but it seemed way too precise & neat. Thank you for stating the (what probably should have been) obvious ;)

You're welcome, but I made a similar mistake too until I noticed Raphael being mentioned in the comments ;-)

Re: Bring a stick man to life.

#59

Love it! For web-based animation, does anyone know how Raphael.js differs from processing.js? Why would I choose one over the other? Trying to differentiate the two.

(Very limited experience but...)

Processing has a loop that runs every frame, in which you redraw the whole scene each time. So for a Tetris game, on each frame you'd draw all the blocks in their correct position. You maintain the game state however you like, you just tell processing what to draw each frame.

In Raphael, its more like a traditional game engine. You might for instance make a new Circle (or Monster, or Hero..), and give it properties and events. The redrawing would be handled for you.

Hope that helps/makes some amount of sense. My experience here is very limited, so its possible I'm misrepresenting one or both of the libraries.

Post reply on HN