JWaves

Simulation of a vibrating rope

建立方法 JavaScript, HTML5, Canvas, 音频

  • 112 次观看

有关此演示作者的更多信息

This is a vibrating rope simulation written in JavaScript, using Canvas.
It's possible to change the wave's shape, the speed of the simulation, the eventual friction. It's also possible to toggle sound on or off (only for Firefox).
I plan to:
- Support audio output for every browser
- Investigate offloading something (like drawing and/or calculating the wave and/or playing the sound) to a Web Worker (just to learn how to use them :D)
- Drag and Drop of the rope to manually set a starting shape

The demo is currently in Italian, but is really simple to use (btw, I'll translate it in English asap).

关于此演示

下载源代码 2.76 KB · ZIP 格式

此演示发布于 MPL/GPL/LGPL 授权之下。

mar.castelluccio 的更多作品