JWaves

Simulation of a vibrating rope

Construit avec JavaScript, HTML5, Canvas, Audio

  • 96 vues

L'auteur nous en dit plus sur cette démo

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).

About this Demo

Téléchargez le fichier ZIP · 2.76 Ko

Cette démo est fournie sous la licence MPL/GPL/LGPL.

Plus par mar.castelluccio