A fun optical rangefinder project requisitioned by someone online. It uses trigonometry to determine range optically.
This was made in less than an hour and can Absolutely be improved.
Adjust the Compensator (Up/Down) until your screen stops shaking and you should have a measurement within 30 meters of actual range.
Comes with a handy turret to aim at things!
Controls:
A/D: Azimuth angle
W/S: Elevation angle
Up/Down: Compensator Adjustment
Hotkey 1: Zoom In
Hotkey 2: Zoom Out