MikaelKalajdzic / watersim

Compgraph project: Water simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Water simulation

This is a project in our computer graphics class.

You can read the full report here : Read Final Report

Features :

  • The water reflect the environment / the sky
  • The user can change the opacity of the water and the amount of light it reflects
  • The user can inject waves
  • The user can toggle rain, and also change parameters such as the probability of a rain drop falling and the amount of rain drops falling.

Getting Started

To set up and run this project, follow these steps:

  1. Clone the repository;
  2. Open the folder in Visual Studio Code;
  3. Open the terminal and type this command: npm install
  4. Run the app on the server by typing this command: npx parcel ./src/index.html
  5. Ctrl + click on the server link "http://localhost:1234" to open the app in your browser;
  6. Have fun!

Demo

Check out the demo of our app on YouTube: Demo Video

About

Compgraph project: Water simulation


Languages

Language:JavaScript 77.6%Language:GLSL 18.8%Language:HTML 3.6%