Ray Optics Simulation
source link: https://ricktu288.github.io/ray-optics/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Point SourceRays emerge from a single point, with number controlled by the "Ray density" slider.
MirrorSimulate the reflection of light on a mirror.
Mirror (Curved)A mirror whose shape is curved. Circular and parabolic curves are available.
Ideal curved mirrorThe idealized "curved" mirror which obeys exactly the mirror equation (1/p + 1/q = 1/f). The focal length (in pixels) can be set directly.
Beam SplitterA mirror that transmits a percentage of incoming light.
GlassSimulate the refraction and reflection of light on a surface.
Glass (Other shapes)Glass with any shapes constructed from line segments and circular arcs, including prisms and "spherical" lenses.
Glass (Ideal lens)An ideal lens that obeys exactly the thin lens equation (1/p + 1/q = 1/f). The focal length (in pixels) can be set directly.
BlockerA line-segment light blocker that absorbes the incident rays.
RulerA ruler from a point for zero and another point. The scale is in pixels.
ProtractorA protractor defined from the center and another point for the zero direction. The scale is in degrees.
DetectorA tool for measuring the rate of energy flow (P), the rate of perpendicular momentum flow (F⊥), and the rate of parallel momentum flow (F∥) through a line segment. The units are arbitrary.
Extended RaysShow both the rays and their extension. Orange indicates backward extensions, and gray indicates forward ones.
All ImagesShow the position of all images. Yellow points indicate real images, orange indicates virtual images, and gray (none in this picture) indicates virtual objects. Note that some images cannot be detected if "Ray density" is not high enough.
Seen by observerSimulate the rays and images seen from some position. The blue circle is the observer. Any rays crossing it are considered to be "observed". The observer does not know where the rays actually begin, but may think they begin at some point(s) if they intersect there. The rays are shown in blue, and the point(s) in orange.
Aggregate valuable and interesting links.
Joyk means Joy of geeK