> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example 21: White LED Phosphor

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.

```csharp theme={null}
Input:      None

Output:     API\e21_White_LED_Phosphor.zos
```

[C#](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2-sp02/page_ex21_cs.md)

[C++](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2-sp02/page_ex21_cpp.md)

[Matlab](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2-sp02/page_ex21_m.md)

[Python](https://developer.synopsys.com/docs/zemax/zemax-opticstudio-zos-api/2025-r2-sp02/page_ex21_py.md)
