It is an application that helps students visualize the images formation through lens and mirror. The User can change many variable involved in image formation like distance, height, focal length and refraction index (specifically for lens)
The project was made in java with Java Swing library.
Open the project in your terminal. Once you are inside the directory RayOpticsVisualizer
, compile the files using below given command:
javac -d "./bin" Run/*.java
Having executed the above command, .class
files will be created inside bin
folder.
Move to directory bin
by using command:
cd bin
To run the project, use the command:
java Run/FrontPage