Light beam deflection animation
Updated 4 Jan 2021
For pedagogic / scientific diffusion purposes.
F5 in Light_beam_deflection.m to run the main program and create the animation file named 'Light_beam_gravity_deflection.gif' that will appear in the same directory as you registered this .m file.
Some parameters -like the one for display- may be tuned in the file header
For instance set cmap to false to disable the colormap and the colorbar.
To benefit from all the file information, be sure to download the file, not to just copy and paste it.
Nicosahedron (2022). Light beam deflection animation (https://github.com/NicolasDouillet/light_beam_deflection/releases/tag/v2.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!