Online demo¶
If you are reading this in a web browser then a demo should be shown below. This is Raschii running in your browser using PyScript and Pyodide. Note that some numerical calculations may give slightly different results than in “normal” Python running on your computer.
Wave visualization¶
You can click the figure with the wave profile to see the particle velocities after the wave profile has been calculated. You can also open in a full window.
This web visualization was made after being inspired by the original online wave calculators from the 1990s by Robert A. Dalrymple, specifically the Dean stream function wave theory calculator. Unfortunately, Dalrymple’s calculators are based on Java applet technology which does not work well in modern web browsers (though the JAR files can be downloaded and run locally by a sufficiently technologically proficient user).
There was once a port of Raschii to Dart (as an alternative to Python), but now that PyScript (Pyodide) is available, it is no longer maintained.
Online code editor¶
You can write and run your own code using Raschii, numpy, and matplotlib in the online code editor. Press the run (play) button to run the code; this button may not appear until you start editing. It will take a while to run the code for the first time, but after that it is relatively fast.