1. Change the glass at fixed angles
How to use
Select Crown glass, then Flint glass.
Outcome
The red–violet spread increases from 1.71° to 5.62° at the same apex and incidence angles.
Elysia Tools
Navigation
Adjust the prism apex and incidence angles to compare refraction, spectral spread, and total internal reflection in glass, water, and diamond.
Open static visualizationTool usage guide
Send a beam through a triangular prism and follow each sampled wavelength. Change the glass or the angles to see how the exit directions change and when a ray reflects inside the prism.
The simulator applies Snell’s law at each surface, measuring both angles from the local normal. The Sellmeier equation gives each wavelength its own refractive index. In N-BK7 and F2, the shorter wavelengths generally bend farther from the incoming direction on the direct path through both sloped faces.
Compare the glasses at the same apex and incidence angles to isolate the effect of material. The Abbe number νd summarizes relative dispersion using the d, F, and C spectral lines. The angular spread also depends on the prism geometry.
On the direct path through the two sloped faces, the internal angles add up to the apex angle A. At minimum deviation the angles inside the prism are both A/2, and the external incidence and emergence angles are equal. The minimum depends on wavelength.
At a prism–air boundary a ray is totally internally reflected when its incidence angle exceeds θc = arcsin(1/n). The trace continues from that boundary to the next face. Check the path column to distinguish these rays from the direct spectrum.
Other exit faces
The formula δ = i + e − A describes direct passage through the two sloped faces and uses signed e. Take e as positive on the base side of the right-face normal and negative on the apex side. The table reports the magnitude of e and measures δ between the incoming and final outgoing directions for every traced exit.
A vertex hit
An ideal vertex has no unique face normal. The trace ends at the vertex and the table leaves the exit angle blank.
Scope of the optical model
The model traces rays over 400–700 nm with the index of air set to 1. It displays the transmitted path below the critical angle and the reflected path above it. Absorption, partial Fresnel reflection, and polarization-dependent intensities are outside this ray model.
How to use
Select Crown glass, then Flint glass.
Outcome
The red–violet spread increases from 1.71° to 5.62° at the same apex and incidence angles.
How to use
Select Minimum deviation and follow the 580 nm ray.
Outcome
The internal angles round to 30.00°, and the total deviation is 38.67°.
How to use
Select Near the critical angle and compare the 700 nm and 400 nm rows.
Outcome
The red ray exits through the right face. The violet ray reflects there and leaves through the base.
Both 700 nm and 400 nm must leave directly through the right face. Their outgoing angular separation is calculated before rounding.
It extends the incident direction past the entry point so you can compare the outgoing rays with the original direction.
At a Glance

Verified Results
Every parameter set and result below is a fixed output of this page's built-in model (each asserted before delivery) and reproduces directly: set the Parameters column in the interactive panel.
| Scenario | Parameters | Result |
|---|---|---|
| Crown glass spectrum | N-BK7 · A = 60°, i = 45° · λ = 700 nm / 400 nm | 7 / 7 rays exit directly to the right · Δδ = 1.71° |
| Flint glass at the same angles | F2 · A = 60°, i = 45° · λ = 700 nm / 400 nm | 7 / 7 rays exit directly to the right · Δδ = 5.62° |
| Near minimum deviation | N-BK7 · A = 60°, i = 49.34° · λ = 580 nm | r₁ ≈ r₂ ≈ 30.00° · δ = 38.67° |
| Internal reflection in diamond | CVD · A = 60°, i = 45° · λ = 580 nm | θ = 42.99° > θc = 24.44° · 1 total reflection, then base exit at e = 45.00° |
| Refraction out of a water prism base | H₂O · A = 90°, i = 0° · λ = 580 nm | Base exit with e = 70.57° and δ = 25.57° |
| Wavelength-dependent critical condition | F2 · A = 60°, i = 38.5° · λ = 700 nm / 400 nm | 700 nm exits to the right · 400 nm reflects once and exits through the base |
Sources
Papers and datasets underlying this visualization - every formula, algorithm, and data anchor on the page traces back to the sources below.
Isaac Newton (1704). The First Book of Opticks. Part II. Opticks.
SCHOTT (2022). Refractive Index and Dispersion. Technical Information TIE-29.
SCHOTT (2014). SCHOTT N-BK7®. Optical Glass Datasheet 517642.251.
SCHOTT (2014). F2. Optical Glass Datasheet 620364.360.
R. M. A. Azzam, Ryan M. Adams (2010). Transmission of p- and s-polarized light through a prism and the condition of minimum deviation. Journal of the Optical Society of America A 27(9), 2085–2090.
Masahiko Daimon, Akira Masumura (2007). Measurement of the refractive index of distilled water from the near-infrared region to the ultraviolet region. Applied Optics 46(18), 3811–3820.
Giorgio Turri, Scott Webster, Ying Chen, Benjamin Wickham, Andrew Bennett, Michael Bass (2017). Index of refraction from the near-ultraviolet to the near-infrared from a single crystal microwave-assisted CVD diamond. Optical Materials Express 7(3), 855–859.
Related
Education
Kinematics visualisation tutor: velocity-time curve (constant-acceleration SUVAT solver with displacement-area shading), projectile parabola (adjustable g + air-resistance toggle), and free-fall timing
Science & Education
Solve 1D constant-acceleration kinematics problems and 2D projectile motion, with a full step-by-step derivation. Enter any 3 of the 5 quantities (displacement, initial velocity, final velocity, acceleration, time) and the solver finds the other two, showing each formula, the substitution, and the result. For projectiles, enter launch speed/angle/height to get range, time of flight, and max height.
Development
Simulate the next runs of one or two 5-part cron expressions, highlight overlaps, and warn about overly dense schedules
Text Processing
Give an invented English word a possible history. Compare earlier sound forms, see the rules, and replay a route to your modern pronunciation.
Compare mechanics, fluid, wave, sound, pressure, and significant-figure tools in one focused educational physics workflow.
Use educational ecology models to explore population growth, carrying capacity, species interactions, sampled biodiversity, and trophic energy transfer.
Solve engineering math problems across ODEs, Laplace or Z transforms, convolution, and numerical approximation while checking method fit, units, and initial conditions.
Convert length, weight, temperature, speed, pressure, energy, force, density, area, volume, angle, and time units from one focused workflow.
Next
Explore ideal zero-order kinetics, depletion and half-life, with comparison curves matched at the initial disappearance rate.
Change the rate constant and initial concentration to compare exponential decay, the semilog line and a sampled population.
Change the rate constant and initial concentration to explore the concentration curve, reciprocal plot and first half-life of a second-order reaction.
Vary temperature, activation energy and the prefactor, then compare k versus T with ln(k) versus 1/T.
Change the two rate constants and the starting mixture to explore net reaction direction, equilibrium composition and relaxation time.
Adjust the two rate constants in A → B → C to explore the height and timing of the intermediate peak and the buildup of product.
Interactive visualization of free radical chain reaction polymerization - Explore initiation, propagation, termination steps, chain growth animation, and molecular weight distribution
Interactive visualization of Le Chatelier's Principle - Explore how changes in concentration, pressure, and temperature affect chemical equilibrium with animated molecular dynamics