Skip to content

RustUse/use-optics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

use-optics

Optics primitives for spectra, wavelengths, and visible-light boundaries.

use-optics is the natural optics sibling to use-color and use-wave. It starts with compact helpers for classifying wavelengths, working with visible-light ranges, and turning spectral data points into small Rust values.

The scope is intentionally narrow for v0.1: auditable wavelength primitives first, richer optical models later.

Workspace crates

Crate Purpose
use-optics Wavelength classification and small spectral data

Installation

[dependencies]
use-optics = "0.1.0"

Usage

use use_optics::{classify_wavelength_nm, SpectralBand};

assert_eq!(classify_wavelength_nm(532.0), Some(SpectralBand::Visible));

Scope

  • Visible-range helpers and spectral classification.
  • Small wavelength-centric value types.
  • No ray-tracing, lens design, or color appearance modeling yet.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors