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 at the top of the file.
For instance set cmap to false to disable the colormap and the colorbar.
Nicolas Douillet (2020). Light beam deflection animation (https://www.mathworks.com/matlabcentral/fileexchange/73942-light-beam-deflection-animation), MATLAB Central File Exchange. Retrieved .
All functions in one file. Added some comments
Cover img again
Cover img + title