socialtables/svg-bug-squasher — pull request #2 by ezpuzz (2014-07-28 06:16:32+00:00)
Title: Paper.js incomplete implementation

I was busier than I thought the past week, so this is an incomplete implementation.

Here is a rough version of the project. Unfortunately I did not have time to implement the high-scores server side, but that is mostly a trivial xmlHttpRequest to a server that would push on to an array, sort the array, then cut it to ten items (padding with 0s to fill the list if need be). I got caught up in the interface, learning the new tech (Paper.js, my first experience with it) and trying to optimize the frame rate for more entertaining play.

Also I changed the mechanics a little to improve performance, basically I thought it was more fun to play if the bugs died on mouseover instead of on click.

I wish that the performance could be improved, the framerate is dreadful, but I fear that would require not utilizing the SVG graphics. Perhaps the paper.js renderer is to blame?

Anyhow, if you'd like to see a more complete version I'd need some more time however I think that this is functional enough to display what I can get done in a few hours with an API i've never seen before.

Thanks for your consideration, talk to you soon.

-- Emory