block by HarryStevens b03d6496bdaf2a21cc4b1a4c854b5cfe

Angle of Reflection

Full Screen

Use angleReflect() from Geometric.js to calculate the angle of reflection given an angle of incidence and a surface angle.

The blue line represents the angle of incidence, the purple line the angle of reflection, and the black line the surface. You can change the angle of incidence by draggin the blue circle, and the angle of the surface by dragging the black circle.

index.html