    

 ## On this page

  

 

 # Example 21: White LED Phosphor

 Last update: 09.03.2026 

Ex 21: Starting from a blank file, the non-sequential sample file …\\Samples\\Non-sequential\\Phosphors and Fluorescence\\White LED Phosphor.zos is created from scratch. All necessary objects including sources, STEP files, lenses and detectors, are inserted. Both a scatter profile and photoluminescence are applied to the lens while all appropriate files are set for the volume physics model. A (lengthy) ray trace is run and the percent completion is displayed. Two detector viewers are opened to show the irradiance and the radiant intensity.

```
Input:		None

Output:		API\e21_White_LED_Phosphor.zos

```

[C#](example_21_cs.md)

[C++](example_21_cpp.md)

[Matlab](example_21_m.md)

[Python](example_21_py.md)