This is a personal experiment for rendering 3D shapes in browser by using three.js
This project simulates the solar photon random walk model where photons follow random paths as they escape from the sun. During their journey they collide with each other resulting in changing directions constantly. This means that a single photon will need hundreds of thousands of years to reach the surface and continue to outer space. Until now physicists have not reach to an agreement about the constants that rule the particular model, but we are able to simulate the process in order to experience this phenomenon.
To clone and run this application, you'll need Git installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/alextselegidis/random-walk-simulation.gitOpen index.html in your browser.
Code Licensed Under GPL v3.0 | Content Under CC BY 3.0
Website alextselegidis.com · GitHub alextselegidis · Twitter @alextselegidis