﻿ Simulação de Óptica de Raios - PhyDemo

# Simulação de Óptica de Raios

Crie e simule cenas ópticas geométricas 2D interativamente.
Totalmente gratuito e baseado na web. Código-fonte está disponível no GitHub.

## Ferramenta

Raio único

A single ray of light defined by two points.

Feixe paralelo

A parallel beam of rays emerges from a line segment, with density controlled by the "Ray density" slider.

Fonte pontual

Rays emerge from a single point, with number controlled by the "Ray density" slider.

Espelho

Simulate the reflection of light on a mirror.

A mirror whose shape is curved. Can be circular, parabolic, or defined by a custom equation y = f(x).

Espelho (Curvo Ideal)

The idealized "curved" mirror which obeys exactly the mirror equation (1/p + 1/q = 1/f). The focal length (in pixels) can be set directly.

Divisor de Luz

A mirror that transmits a percentage of incoming light.

Vidro

Simulate the refraction and reflection of light on a surface.

Glass with any shapes constructed from line segments and circular arcs, or shapes defined by a custom inequality f(x) < y < g(x).

Lente ideal

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.

A line-segment light blocker that absorbes the incident rays.

Régua

A ruler from a point for zero and another point. The scale is in pixels.

Transferidor

A protractor defined from the center and another point for the zero direction. The scale is in degrees.

Detector

A 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.

## Ver

Raios

Show the rays. When the "Ray density" is high, they appear to be continuous.

Raios extendidos

Show both the rays and their extension. Orange indicates backward extensions, and gray indicates forward ones.

Todas Imagens

Show 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.