### Monte Carlo simulation

Monte Carlo numerical simulation is used in order to solve scattering, radiation transfer and light diffraction in random or ordered medium problems, when it is difficult to find an analytical solution. Using statistical averaging of the numerous realizations of photon trajectories in the considered medium, the demanded characteristics can be determined. | |

3D Monte Carlo simulation was used for finding the light intensity from single source propagated through volume of ordered spheres. In this figure the selected directions of light propagation are clearly seen. The trajectory color is changed accordingly to the overall time, which each photon spends inside the structure. When photon crosses the air-sphere border, its color is changed to yellow-red (yellow corresponds to earlier time moment), conversely, crossing sphere-air border is shown by green-blue (blue corresponds to later time moment, green – earlier time moment). Thus, it is possible to find light intensity and other parameters of interest in different time-moments. |