Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 769 Bytes

File metadata and controls

19 lines (11 loc) · 769 Bytes

Optimized Gerstner Waves

Based off Tessendorf, J. (2001), "Simulating Ocean Water"

Overview

Gerstner waves are actually just a mathematical function which return the offset vector of a point, given an undisturbed point & a few other parameters.

Most Gerstner wave implementation utilize multiple waves, because that looks the best. Since we need to iterate over each wave & add all of them together, we can multithread this incredibly easily by solving each wave in a different thread.

Setting up the repo

Prerequisites:

  • Have Rokit installed
  • Have roblox studio (lol)
  1. Run rokit install
  2. Open a new Roblox place file, and then run lune run dev, and you're set!