/wavesim

An HTML5 wave simulator

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

WaveSim

An analog cellular automaton model of fluid surface dynamics, written in JavaScript, using the HTML5 canvas.

Instructions

To add simulated waves into a web-page, include the wavesim.js script, and then construct the simulator as follows:

var sim = new WaveSim();
sim.start();

See test_page.html for an example.

License: GNU Public License Version 3

Author: Conrad Rider