# A circular lens, wave height and cumulative energy in 3D

film

## Lizenz

## Autoren

This simulation shows the working of a lens made of a circular segment, that is, a disc cut by a straight line. The lens works here like the objective of a camera, by concentrating an incoming planar wave at the focal point of the lens. The index of refraction of the lens is equal to 5/3 = 1.666…, so that according the the lensmaker’s equation, the focal length should be equal to 1.5 times the radius of the circle.

Render time: 1 hour 2 minutes

Color scheme: Part 1 - Twilight by Bastian Bechtold

https://github.com/bastibe/twilight

Part 2 - Inferno by Nathaniel J. Smith and Stefan van der Walt

https://github.com/BIDS/colormap

Music: “Present Standard” by Silent Partner

The simulation solves the wave equation by discretization.

C code: https://github.com/nilsberglund-orleans/YouTube-simulations

Many thanks to my colleague Marco Mancini for helping me to accelerate my code!