This project is currently in beta. Any feedback is welcome! ♥️
What is the Swellray Project?
Swellray is a project that aims to capture the swell data from a surf forecast in an innovative way; a 3D representation of the resulting wave, based on the bathymetry of the area indicated.
Surf forecasts can be ambiguous unless you know the spot properly; we are provided with a table of data with wind, primary and secondary swell, directions... But if we do not know the spot in detail, these predictions lose a lot of value . Also, you have to "imagine" the wave in your head based on the data you observing.
How does it work?
The simulation of the 3D wave is based on modifications of Shallow Water Wave theories and Navier–Stokes equations, having in count also the bathymetry of the area.

The calculations are performed in real time using the GPU unit by means of the GLSL shader language. This is not a typical fluid simulation, but uses these principles applied to complex trochoidal waves. In this way, any device, including mobile phones, can run the simulation fluidly.
Upcomming features for Swellray
- Load your own spot bathymetry In progress
- More controlable parameters (Scale, depth scale...) In progress
- Bathymetry floor editor Planned
- Integrated surf forecasting Drafted
- Wave representation improvements In progress