Skip to content

When light strikes the interface between a medium with refractive index n1 and a second medium with refractive index n2, both reflection and refraction of the light may occur. These codes simulate the reflectivity occuring on the interface from the refractive index n2 at different wavelengths (suppose the first medium is air and n1 = 1).

Notifications You must be signed in to change notification settings

hanfei1986/Simulate-reflectivity-of-a-material-from-its-refractive-index

Repository files navigation

Simulate-reflectivity-of-a-material-from-its-refractive-index

When light strikes the interface between a medium with refractive index n1 and a second medium with refractive index n2, both reflection and refraction of the light may occur. These codes simulate the reflectivity occuring on the interface from the refractive index n2 at different wavelengths (suppose the first medium is air and n1 = 1).

Picture1

The physics model is called Fresnel equations:

image image

For more details, please refer to:

https://en.wikipedia.org/wiki/Fresnel_equations

The simulation results are like:

Figure_1

About

When light strikes the interface between a medium with refractive index n1 and a second medium with refractive index n2, both reflection and refraction of the light may occur. These codes simulate the reflectivity occuring on the interface from the refractive index n2 at different wavelengths (suppose the first medium is air and n1 = 1).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages