ricktu288 / ray-optics

A web app for creating and simulating 2D geometric optical scenes, with a gallery of (interactive) demos.
https://phydemo.app/ray-optics/
Apache License 2.0
1.31k stars 220 forks source link

Moved the Dichroic settings out of the mirrors and into the simulator as Optical Filters functions #108

Closed gljames24 closed 1 year ago

gljames24 commented 1 year ago

-Added optical color filter functionality to the blackline and blackcircle blocker objects -Added locales for the word invert -Removed dichroic from the user interface as that term would only apply to mirrors. Changed it to filters instead and replaced what had previously been filter with the word invert. -Kept isDichroicFIlter and isDichroic for backwards compatibility. Could be changed in the future if needed. -Fixed the whitespace in wavelength to color function