Giter Site home page Giter Site logo

ximo99 / sim-practice5-ex1 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 99 KB

Exercise 1 of practice 5 of the simulation subject within the Multimedia Engineering degree (ETSE - University of Valencia).

Processing 100.00%
gerstner-waves physical processing simulation water waves directional-waves radial-waves

sim-practice5-ex1's Introduction

Simulation. Practice 5, exercise 1: sea waves.

Simulation subject within the Multimedia Engineering degree from the ETSE - Universitat de València. April 2022. Practice 5, exercise 1. Rating 9. It is requested to achieve realistic simulation of different waves based on height maps. In the first exercise, the user will be able to generate different types of waves with the help of the keyboard and combine them.

🎞️ Video with the result: https://www.youtube.com/watch?v=I4HdElsF9WA&list=PLSuDG4mVIcvdQo-eBHfHp6HFdvB0oJLz5&index=9

Descriptive image of the exercise.

Project setup

The user can interact with the system and perform the following actions. To do this, in the first exercise, you must press different keys:

  • S key, adds a sine wave to the system.
  • R key, adds a radial wave to the system.
  • R key, adds a Gerstner wave to the system.
  • C key, change the display mode (mesh or texture that simulates water).
  • I key, restart the simulation.
  • Key 1, decreases the amplitude of the next wave added to the system.
  • Key 2, increases the amplitude of the next wave added to the system.
  • Key 3, decreases the wavelength of the next wave added to the system.
  • Key 4, increases the wavelength of the next wave added to the system.
  • Key 5, decreases the speed of the next wave added to the system.
  • Key 6, increases the speed of the next wave added to the system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.