A web application for visualizing the images formed by the reflected rays of a spherical mirror.
Helpful piece of software for 10th grade CBSE students.
Use it at: https://shahank42.github.io/spherical-mirror-sandbox
Made using the p5.js library.
Go to https://shahank42.github.io/spherical-mirror-sandbox and use it.
Alternatively, download the source code and open the index.html file.
Use the left and right arrow keys to change the object distance relative to the mirror.
Use the up and down arrow keys to change the object size.
Video demonstration at: https://www.youtube.com/watch?v=yVPHmyLBquo&t=8s.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.