Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.32 KB

README.md

File metadata and controls

20 lines (11 loc) · 1.32 KB

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.