Skip to content

datamonsterr/Forces_2d_simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOP-2023.2-Group 22

Mini-project for OOP 2023, HUST.

Introduction

This project presents the creation of a simple interactive simulation to demonstrate Newton’s laws of motion, providing an insightful educational tool for understanding dynamics. The simulation allows users to control a physical system composed of three main components: a main object, a friction, and an actor applying a horizontal force. Users can select either a cube-shaped or cylinder-shaped object, specifying parameters such as side length, radius, and mass. The actor applies force to the object's center of mass, represented by a horizontal arrow, with adjustable strength and direction.

Demonstration

Cylinder mode

Cylinder Simulation


Cube mode

Cube Simulation


AI mode

AI Simulation


Demo Video

Follow this link: Demo Video


Requirement

Please set up Java in VScode Idea following link: QuickSetUpJavaInVScode

🚀 How to run

We use [VScode with JDK](Getting Started with Java in Visual Studio Code) for our project. Our main class is App.java

Member task

Hoang Manh Cuong (Leader) Pham Thanh Dat Nguyen Tien Dat Nguyen Ngoc Quoc Khanh
20226018 20226024 20226023 20226018
Slide
Panel Package
Force Package
Slide
Controller Package
GenAi package
Slide
Panel Package
UseCase diagram
Slide
Object Package
View Package
25% 25% 25% 25%

Project structure.java

.
├── ...
├── .vscode
├── UML                  # All designs for the project (class diagram and use-case diagram)
├── Slide/report          # Slides for Presentation and Report
├── src
│   ├── com
		├── application     # Official Java Project Code
└── ...

About

Project for OOP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages