Skip to content

programORdie2/rust-verlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verlet Integration in Rust

This project implements a basic Verlet integration simulation in Rust, not optimized for speed yet.

Features

  • Cool particle simulation using Verlet integration
  • Real-time rendering of particles
  • Collision handling and boundary constraints
  • Adjustable parameters for gravity, particle radius, and more

Prerequisites

  • Rust programming language (latest stable version)
  • Cargo package manager

Getting Started

  1. Clone the repository:

    git clone https://github.com/programordie2/rust-verlet.git
    cd rust-verlet
  2. Build the project:

    cargo build --release
  3. Run the simulation:

    cargo run --release

Configuration

Adjust parameters such as gravity, particle radius, and maximum number of particles in the src/main.rs file. These constants are defined at the top of the file for easy modification.

Screenshot

Simulation Screenshot

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

Acknowledgments

  • Inspired by various physics simulation projects and tutorials.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages