Skip to content

A minimal yet powerul library for ray reflection simulation in Rust

Notifications You must be signed in to change notification settings

AquaEBM/miroir

 
 

Repository files navigation

miroir

A minimal yet powerful set of libraries for simulating ray reflection on arbitrary, user-defined shapes (curves in 2D, surfaces in 3D, etc...), in Rust.

Requires the latest stable version of the Rust Compiler.

Powered by nalgebra.

Crates

The core of this project is the miroir crate, containing the main Mirror trait and primitives used to run simulations. This crate is #[no_std] and performs no allocations, making it possible to use it anywhere.

The miroir_shapes crate contains several example implementations of basic shapes that can be used in simulations. This is where you should look if you need an example of how to implement your own custom mirror shapes.

There are integrations extending the miroir library with more functionality such as:

Check out the READMEs in the respective folders for more information.

About

A minimal yet powerul library for ray reflection simulation in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.7%
  • Nix 2.3%