Simple image physics with HTML5 Canvas

Leave a comment 19 January 2011

I must admit that since returning from over 7 months travelling I’ve lost a little of my motivation for programming. However this afternoon at work I had a little downtime and decided to read through some of my emails and comments I’ve received on this blog for some inspiration.

One such comment I found was on my Simple JavaScript Physics post which asked about doing something similar with images. I quite enjoyed playing around with JavaScript and the canvas tag earlier in the year so thought I’d chuck something together. I still need to do collision detection but the throw physics is there. Click here to view it and as with my other JS experiments all the code can be found in the source code.


Posted in HTML5, JavaScript, Physics

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>