/Water-Waves-Python

Water Waves Simulation in 2D using Python and Pygame

Primary LanguagePythonMIT LicenseMIT

Water Waves Python

Python program that shows how to make 2D waves with Pygame.

I created this program using a tutorial that can be found on this page: 2D Dynamic Splash Water Effect

This program uses the Thread Python module, with this module you can change the FPS constant used by Pygame and change the speed of the simulation.

Requirements

  • Python 3.X.X
  • Pygame

Install Pygame Dependency

pip install pygame

Run Simulation

python3 water_waves.py