I came across this awesome website made in HTML5 and javascript. The heart of the website is the birds flying around randomly. I have little experience with canvas and Html5. I can take another object, some simple may be circle or something and move it randomly like this. However I won't get this natural effect. If you observe carefully the birds go away from each other, then come near each other, while they are flying up high in the sky they flap their wings very fast whereas when they are flying in horizontal direction they don't flap their wings and keep it straight. It looks amazing.
I want to know only 2 things in this website i.e
1) Whether the bird is a image or created using path in html5
2) How are wings of the bird flapping? What logic he must have written? Do I need to study some physics book for this?
I've downloaded the entire website to see what code he must have written but the js file removes all the spaces and so it is as close as encrypted ;) and also I didn't find any image of the bird.
I am truly amazed with this simple yet so beautiful design. Hats off to it's creators.
Update: I am so absent minded, I forgot to put the link. Extremely extremely sorry ;)