Skip to content

uoRetr0/Falling-Sand-Simulator

Repository files navigation

Falling Sand Simulator Project

Explore the project live: Falling Sand Simulator

Preview 2 Preview

Project Overview

The Falling Sand Simulator is an engaging web and desktop application that offers an interactive sandbox environment. Users can manipulate various particles such as sand, water, and fire, showcasing the project's capability to implement complex systems and optimize for a seamless experience. Key features include:

  • Dynamic Particle Simulation: Offers simulation of diverse particles with unique behaviors, opening up limitless possibilities for creativity.
  • User-Friendly Interface: Designed to be intuitive and accessible, ensuring a smooth user experience for individuals of all skill levels.
  • Performance Optimization: Utilizes advanced algorithms and coding practices to efficiently manage thousands of particles, ensuring high performance.
  • Customization Options: Provides users with the ability to adjust simulation parameters, making the tool both entertaining and educational.

Technical Specifications

  • Cross-Platform Compatibility: Available as a web application and a desktop application to ensure broad accessibility.
  • Modern Development Tools: Developed using the latest web technologies for the browser version and cross-platform frameworks for the desktop version, demonstrating versatility in development.
  • Technologies Used: This project leverages raylib for graphics rendering and raygui for the graphical user interface, showcasing the effective use of these libraries to create a responsive and visually appealing application.

Getting Started

Setup

Web Version: The simulator is readily accessible through any modern web browser by visiting the project's webpage.

Desktop Version: For offline access, the repository can be cloned or the ZIP file downloaded and run on a desktop.

Running the Simulator

  • Web Version: Access the simulation directly in the browser via the provided URL.
  • Desktop Version: After compiling the project according to the operating system-specific instructions, launch the application to start the simulation. The main.exe is a windows compiled application.

Future Improvements

The project is committed to ongoing development and improvement, with plans to incorporate:

  • Code Refactoring: Moving towards a class-based architecture to enhance code organization and maintainability.
  • Water Physics Upgrade: Improving the realism of water behavior to more accurately simulate fluid dynamics.
  • Performance Enhancements: Continuing to optimize the code to allow for a larger number of particles while maintaining smooth performance.

About

Shape Worlds in Real-Time with the Falling Sand Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published