An open API service indexing awesome lists of open source software.

https://github.com/edap/nannou_raycast

Simple ray casting for 2D primitives
https://github.com/edap/nannou_raycast

Last synced: 9 months ago
JSON representation

Simple ray casting for 2D primitives

Awesome Lists containing this project

README

          

# Nannou Raycast

Nannou Raycast is a simple library to test in [nannou](https://github.com/nannou-org/nannou), the intersection between a ray and 2D segments, lines, circles and to calculate reflections and refractions. At the moment, just 2D rays are implemented.

## Example

You can run the following example with `cargo run --example circle`

![img](./example.png)