Reflection calculation and visualization

Reflection calculation and visualization
Imagine mirror box and inside moves a released beam of light and it moves inside the box from all surfaces.
There are also 2 additional mirrors in the box, both sides of which are reflective. The position of these 2 additional mirrors indicated with the mouse – the mouse click inside the box shown indicates the coordinates of the mirror ends (“ginput”).
The beam of light, the sides of the box and other reflective objects can be considered as segments (lines) and we are looking for the intersection points (points in which the ray will be reflected).
The radius of light is reflected from the edges and from the objects entered. The reflection angle is equal to the angle of incidence.

Reflective objects                                                                                      the beam of light by moving leaves away “tail” with variable length

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount

Posted in Uncategorized