Showing posts with label html5. Show all posts
Showing posts with label html5. Show all posts

An anatomical heart demo. I used the image processing PHP script from the image demo to break down a drawing of a real heart. By modifying the particle engine to draw particles relative to the center of the canvas, I'm able to simply multiply their destination positions by a constant and then divide by the same constant shortly after to create the illusion of a beating heart.

 

http://heart1411.blogspot.in/