Skip to content

Ziszel/wave-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave Generator

The goal of this project is to create a Wave Generator in Unity.

It supports both straight sine waves as well as more accurate Gerstner waves.

How it works:

  • Generate a mesh of a specific size.
  • Through the use of Perlin noise, update each Y co-ordinate of the grid so that an interesting surface is created.
  • Update each vertex in the generated mesh each frame using a Gerstner wave function.
  • User is able to manipulate three sliders to change the waveform in real time. Other sliders are available at generation time but can only be accessed through the Unity editor.

Demonstration

Demonstration of what the application looks like

About

Generate a mesh from a grid, and then use Gerstner waves to procedurally generate ocean

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published