Mozilla Demo Studio

  • 送出一個 Demo

The Flight of Hot Air Balloon | Vivax Solutions

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

建立方法 JavaScript, HTML5, Canvas, CSS3

  • 124 個檢視數
  • 1 條回應

作者所寫的更多關於此 Demo 的資訊

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 條回應

註冊登入 以新增您的回應。

  1. liasiqueira 說,

    Front-end developer.


下載原始碼 115.77 KB · ZIP 格式

Browse the Source

此 demo 係以 MPL/GPL/LGPL 條款進行授權。

Vivax-Solutions 的更多作品