FRONTEND / PYTHON
Lens Simulation
A Python and Pygame learning application that visualizes mirror image formation, special rays, and real-time optical calculations.
View on GitHub
My Contribution
- Built the main menu for selecting concave and convex mirror simulations.
- Visualized objects, images, coordinate axes, focal points, and centers of curvature.
- Implemented real-time calculations for image distance and image height.
- Added interactive inputs for object distance, object height, and focal length.
- Created a simple car illustration for the object and its image.
- Added keyboard controls for adjusting simulation values and closing the window.