Skip to content

Simulation of tidal effect in the waters of the oceans, known by many as the Tide Effect, using the Three.js library;

Notifications You must be signed in to change notification settings

LeonardoIGD/TidalForceThreeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

enpt-br

TidalForceThreeJS

The simulation of tidal force is the outcome of a project developed using HTML and JavaScript languages along with the THREE.js library. Its development had an evaluative purpose, mainly exploring the concepts taught in the Computer Graphics classes within the Information Technology course at UFERSA.

📜 What is the project?

The project consists of simulating the effects on oceans caused by the moon's movement around planet Earth. This phenomenon is scientifically known as Tidal Force.

⚙️ Initialization and Execution

To perform the project execution on your machine, download the files from the repository, and at the project's root, execute:

npx serve .

Now, if you want to view the results in a simpler way, just access the link below:

Here...

🎮 Controls

Keyboard ⌨️

"With the keyboard, our project allows the user to move the moon around the Earth as they please. To do this, simply press:

  • 🔼 (Arrow up) To move the moon upwards along the Y and Z axes
  • 🔽 (Arrow down) To move the moon downwards along the Y and Z axes.
  • ◀️ (Arrow left) To move the moon to the left along the X and Z axes
  • ▶️ (Arrow right) To move the moon to the right along the X and Z axes.

Additionally, it's possible to stop the moon's movement to get a better view of the environment. To do this, press:

  • ➖ (Space bar) To stop the moon's movement.

Mouse 🖱️

With the mouse, it's possible to move around the scene.

  • By pressing the left mouse button and moving the mouse, you can change the camera perspective in relation to the globe.

  • By pressing the right mouse button and moving the mouse, you can move the camera orthogonally in the scene.

  • It's also possible to zoom in and out of the scene using the scroll wheel.

📋 Details

3D Model

For a better visualization of the ocean's movement, it was necessary to apply relief to the object representing our globe. So, for enhanced visualization and quality, we decided to import a pre-made model created by a user on SketchFab.

3DModel

Creator: berzerkey

👤👤 Made by:

👨‍🏫 Teacher: Me. Marco Diego Aurelio Mesquita.
👨‍🎓 Dev: Kennedy Alves Pereira.
👨‍🎓 Dev: Leonardo Inácio Guilherme Dantas.

About

Simulation of tidal effect in the waters of the oceans, known by many as the Tide Effect, using the Three.js library;

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •