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
- Host: GitHub
- URL: https://github.com/edap/nannou_raycast
- Owner: edap
- Created: 2022-04-16T17:29:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T21:52:07.000Z (over 1 year ago)
- Last Synced: 2025-09-25T15:49:01.647Z (9 months ago)
- Language: Rust
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`
