Trazador de rayos 2D para extracción de luz

How do rays propagate through this optical assembly?

Trazado de rayos Monte Carlo dentro de un stack OLED o microLED: emite rayos aleatorios desde una fuente dipolar, los traza a través de capas con TIR y refracción y cuenta lo que escapa.

How it works

Geometric ray tracing follows each ray through an optical assembly, applying refraction at each interface via Snell's law and reflection off each mirror. For incoherent sources this gives the irradiance map at any downstream surface. The approximation holds where diffraction is small compared with the aperture scale.

Worked example

2D isotropic slab escape fraction, brief Group 2 ledger (n 1.52, 1e5 rays, seed 42)

Inputs: nSlab = 1.52, nRays = 1.000e+5, seed = 42

Result: 0.4556

Reference: Analytic: 2·θ_c/π = 2·arcsin(1/1.52)/π = 0.4578 for 2D isotropic emission with a lossless bottom reflector (brief Group 2, 2026-11). Shot noise at 1e5 rays σ ≈ 0.0016; tolerance 0.003 ≈ 2σ. Escape probability per bounce = 1 − R, not R.

Computed by this tool's kernel at build (commit dae6663).

Validation method, references and test-case results: /validation#ray-tracer

Request accessOpen the interactive tool