This video shows one of my side projects, Rayballs. In the upper-left corner, you can see a 2D word (torus topology), where a ray bounces between 20 balls. Together with the world, I display various histograms visualizing variables I found interesting: the large green one is "ray lengths between bounces", and then at the bottom side from left to right are
"ray angles",
"ray angles normalized between -pi and pi",
"x coordinates of intersection and
"y coordinates of intersection".
The project was inspired by Nils Berglund, I wanted to try doing this on my own.
The video starts at 10000 bounces per second for the purpose of observing convergence of histograms. The second part of the video shows 1 bounce per second to show how the ray bounces.