Skip to content

KarolPuczynski/particle_in_magnetic_field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Simulation of Particle in Magnetic Field rust

This is a simple 3D simulation of the trajectory of particle in magnetic field, visualized using the kiss3d library for windowing and rendering in Rust.

Requirements

Setup

  1. Clone the repository:

    git clone [https://github.com/KarolPuczynski/particle_in_magnetic_field.git]
    cd particle_in_magnetic_field
  2. Install dependencies: Make sure you have Rust and Cargo installed. If you don't have them, follow the installation instructions on the Rust website.

    Run the following command to build the project:

    cargo build
  3. Run the simulation: After building, run the simulation with:

    cargo run

How It Works

Here are some snapshots from the simulation

About

3D Simulation of Particle Trajectory in Magnetic Field

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages