#robot #2d #image

bin+lib xiron

A lightweight 2D robot simulator written in Rust

2 unstable releases

0.5.0 Aug 24, 2025
0.3.0 Apr 23, 2024

#163 in Simulation

Download history 108/week @ 2025-08-20 22/week @ 2025-08-27 8/week @ 2025-09-03 8/week @ 2025-10-01

67 downloads per month

MIT license

350KB
3.5K SLoC

Picture

Xiron

A lightweight 2D robot simulator written in Rust. The main documentation and How to Use guide can be found here

Dependencies

  1. Install the Rust Programming language : https://www.rust-lang.org/tools/install

Installation from source

  1. Clone the repository
git clone https://github.com/SuhrudhSarathy/xiron.git
  1. Use cargo to build the library along with the binary
cargo build --release

Xiron-Simulator

The main simulator is a binary. To run the binary

cargo run --bin xiron_simulator

Also, to install the Simulator and use it globally:

cargo install --path .   

Make sure you are inside the xiron directory. This builds the binary and places it in $HOME/.cargo/bin folder. Make sure that PATH is set properly. After this, open up a new terminal and run the simulator using the command:

xiron_simulator

Roadmap

The Roadmap is mentioned in the Projects section.

Dependencies

~34–69MB
~1M SLoC