Simulated · illustrated
Send light into a layered slab, change its wavelength or scattering, and compare the calculated light distribution.
18 s · silent · 1660 × 1100
Three completed photon estimates, held for six seconds each; the holds are illustrated timing.
Voxel photon Monte Carlo after MCX, with MCML boundary, scattering and roulette conventions
Weighted photon packets from a Gaussian source travel through a three-layer slab using mc-photon 0.1.1, which simulates scattering, absorption and Fresnel boundaries. The slab is 12×8×6 mm on a 0.1 mm grid: epidermis 0.1 mm, dermis 1.5 mm, and fat filling the remaining 4.4 mm. Light can leave through the top, side and bottom faces. Wavelength-dependent optical properties are calculated from the cited absorption and scattering models; the layer thicknesses, composition, beam and scattering multiplier are chosen inputs. These inputs include an epidermal melanosome fraction of 0.03, dermal blood and water fractions of 0.02 and 0.65, blood oxygen saturation of 0.97, and anisotropy 0.9. Other fixed coefficients follow the property model; the fat layer’s absorption mix and scattering fit are illustrative inputs. The image averages the two central y rows; the depth profile averages the four central voxel columns. Fluence is normalized by launched packet count and voxel area, in inverse square millimetres per unit source energy. The colours use a fixed logarithmic scale, not the colour of the light. The top ring detector spans radii 1.5–2.5 mm. Its detected fraction is already included in diffuse reflection. The weight balance accounts for roulette losses and gains and losses at the step and flight-time limits. This Monte Carlo model transports energy without optical phase, so it produces no interference pattern. The mc-photon 0.1.1 manifest lists 11 reference cases as conforming on browser and native GPU hosts. Those results do not cover this slab, its probes or the scattering changes offered here.
Procedural slab coordinates in millimetres: x and y along the surface, z into the slab from its top corner. The beam is at x=6, y=4 mm. Voxel centres lie at (i+0.5)×0.1 mm. The depth profile has 60 centres from 0.05 to 5.95 mm. No anatomical registration or subject scan.
Progress counts submitted photon packets, not elapsed physical time. Each UI run accumulates 262,144 packets in batches of at most 16,384; that packet budget is not a convergence test. Changing wavelength, scattering or beam radius clears the current readout. The next advance starts a new accumulation with the same seed and packet IDs starting at zero; the cumulative work counter retains earlier submissions until reset. The displayed profile updates only after a batch and its readback complete, and may hold the last completed estimate while the next batch runs. Drawing the view and reading a probe add no photons. This continuous-wave view combines photon flight times in one effectively open time gate; it is not a time-resolved detector. The cumulative budget is 4,194,304 packets (16 full runs). At that limit, choose Restart from zero before continuing; this also clears the saved comparison.
Fang & Boas (2009) · Monte Carlo simulation of photon migration in 3D turbid media accelerated by graphics processing units, Wang, Jacques & Zheng (1995) · MCML—Monte Carlo modeling of light transport in multi-layered tissues, Jacques 2013, Optical properties of biological tissues: a review (with its 2013 corrigendum), Prahl 1999, Optical absorption of hemoglobin (tabulated compilation), Jacques 1998, Skin optics (OMLC news), Hale & Querry 1973, Optical constants of water in the 200-nm to 200-µm wavelength region