Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore raytracing in 2D through this 26-minute lecture from MIT's 18.S191 Fall 2020 course. Dive into light behavior, code implementation, and key concepts like mutable structs, index of refraction, and time-stepping for light ray movement. Learn about mirrors and reflection, including dot product calculations and reflection functions. Delve into refraction, Snell's law, and its vector form solution. Discover total internal reflection and lens applications. Follow along with provided timestamps for easy navigation through topics such as main function creation, refraction equations, and practical implementations in the Julia programming language.
Syllabus
Introduction.
Light Behavior.
How to put it into code?.
Mutable struct.
Index of refraction(ior).
Function with time-stepping for movement of light rays.
Main function.
Concept of mirror (reflection) .
Dot product.
Function for reflection.
Refraction.
Equation of refraction (Snell's law).
Solving Snell's law.
Function for refraction.
Total internal Reflection.
Lenses.
Taught by
The Julia Programming Language