bryancole / raypier_optics

A raytracing toolkit for optical design
Other
57 stars 8 forks source link

Add color trait to ray sources to make controllable #12

Closed AlistairSymonds closed 1 year ago

AlistairSymonds commented 2 years ago

First off, I'd just like to say I've been playing around with Raypier briefly and have been absolutely blown away by the quality of it especially terms of being an interactive playground and supprting a responsive GUI for sanity testing!

I'm aiming to use it for astronomical purposes and so tracing lots of very slightly offset plane wavefronts bouncing around. With the default settings inside the tube can get quite hectic in terms of trying to follow paths when everything is the same colour. I saw opacity was already configurable so I followed that lead to add colour as well.

Example: image

(Also whilst I'm not an optics expert, I'd be happy to help out where I can with this project)