Mozilla Demo Studio

  • Submit a Demo

The Flight of Hot Air Balloon | Vivax Solutions

A hot air baloon and its reflection in water oscillate on canvas.

Built using JavaScript, HTML5, Canvas, CSS3

  • 124 views
  • 1 comments

More About This Demo From The Author

The background image of the canvas is a still image. The two moving images - the balloon and its reflection - are animated by Math object of JavaScript. The 'bumpy' ride of the balloon is created by Math.sin() function.

1 comment so far

Register or log in to add your own.

  1. liasiqueira said,

    Front-end developer.

Get the Source Code

Download the Source 115.77 KB · ZIP File

Browse the Source

This demo is released under the MPL/GPL/LGPL license.

More by Vivax-Solutions