The Sand Simulation project is a Java-based interactive application that visually simulates the behavior of sand particles on a grid. Users can manipulate gravity angles, add or remove sand particles, and observe real-time particle interactions, making it an engaging and educational tool for exploring physics principles.
- Interactive graphical user interface (GUI) for controlling the simulation.
- Adjustable gravity angle using a slider control.
- Manual addition and removal of sand particles for experimentation.
- Real-time visualization of sand particle movement and interactions.
- Information panel displaying key simulation data.
- Colorful rendering of sand particles for a visually appealing experience.
- Logic update mechanism to maintain dynamic and realistic simulations.
To run the Sand Simulation project on your local machine, follow these steps:
Clone the Repository:
git clone https://github.com/Deknil/SandSimulation.git
Navigate to the Project Directory:
cd SandSimulation
Compile and Run the Application:
javac Main.java
java Main
We welcome contributions from the community! If you'd like to contribute to the Sand Simulation project, please follow these steps:
- Fork the Repository: Click the "Fork" button in the upper right corner of the repository's page to create your copy of the project.
- Create a Branch: Create a new branch for your work. Name it descriptively, related to the task or feature you intend to implement.
- Make Changes: Make the necessary changes to the code, fix bugs, or add new features.
- Testing: Before submitting a pull request, ensure that your code passes all existing tests and does not introduce new issues.
- Submit a Pull Request (PR): Once you have completed your work, submit a pull request to the original repository. Make sure to describe your changes and their purpose in the PR.
- Discussion and Review: Your changes will be discussed and reviewed by project members. There may be requests for further improvements if needed.
- Merge: After successful review and approval of your PR, your code will be merged into the main project repository.
- Acknowledgment: Your contribution will be recognized and appreciated. Thank you for your participation!
This project is licensed under the MIT License
. You are free to use, modify and redistribute this project under the terms of the specified license.