The Astronomy Center has provided educational resources to introductory astronomy educators since 2003. Over the past 20 years, the rapid pace of discovery has rendered some of our linked resources obsolete. Thus, the Astronomy Center will be decommissioned on March 1, 2022. Our highest quality resources will be retained on


home - login - register - about - sitemap
advanced search

Computer Program Detail Page

Item Picture
Solar Photon Random Walk
written by Drew Onken
The Solar Photon Random Walk Model simulates the path of photons in radiative transport as they escape from the Sun. Photons do not travel in a straight line, but rather collide with larger particles and get redirected. This simulation models that process using a random walk in polar coordinates. The random walk parameters are adjustable to match different models of the structure of the sun, or the user can input their own values.

The Solar Photon Random Walk Model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_comp_phys_photon_random_walk.jar file will run the program if Java is installed.

Please note that this resource requires at least version 1.5 of Java (JRE).
2 supplemental documents are available
1 source code document is available
Subjects Levels Resource Types
- Fundamentals
= Properties of Light
- The Sun
= Solar Structure
Thermo & Stat Mech
- Probability
= Random Walks
- Upper Undergraduate
- Lower Undergraduate
- Instructional Material
= Simulation
Intended Users Formats Ratings
- Learners
- Educators
- General Publics
- application/java
  • Currently 0.0/5

Want to rate this material?
Login here!

Access Rights:
Free access
This material is released under a GNU General Public License Version 3 license.
Rights Holder:
Drew Onken
EJS, Easy Java Simulations, photons, radiation, radiative zone, random walk, solar, sun
Record Cloner:
Metadata instance created July 26, 2011 by Mario Belloni
Record Updated:
June 12, 2014 by Andreu Glasmann
Last Update
when Cataloged:
July 26, 2011
Other Collections:

Easy JavaScript

Author: Wolfgang
Posted: March 20, 2013 at 4:01PM
Source: The Open Source Physics collection

Francisco Esquembre and his team are working on a JavaScript version of EJS.  The new version should make it easy to convert EJS models to EJSS models.

» reply

Dashcode widget for random walk simulation?

Author: Jamie Formato
Posted: March 20, 2013 at 2:53PM
Source: The Open Source Physics collection

I'm putting together an iBook for my astro class.  I would like to include this simulation in the body of the text as an interactive widget.  Apparently this can be done through apples Dashcode-  do you have any plans to create a JavaScript widget with this code?

» reply

Post a new comment on this item
ComPADRE is beta testing Citation Styles!

Record Link
AIP Format
D. Onken, Computer Program SOLAR PHOTON RANDOM WALK, Version 1.0 (2011), WWW Document, (
D. Onken, Computer Program SOLAR PHOTON RANDOM WALK, Version 1.0 (2011), <>.
APA Format
Onken, D. (2011). Solar Photon Random Walk (Version 1.0) [Computer software]. Retrieved July 20, 2024, from
Chicago Format
Onken, Drew. "Solar Photon Random Walk." Version 1.0. (accessed 20 July 2024).
MLA Format
Onken, Drew. Solar Photon Random Walk. Vers. 1.0. Computer software. 2011. Java (JRE) 1.5. 20 July 2024 <>.
BibTeX Export Format
@misc{ Author = "Drew Onken", Title = {Solar Photon Random Walk}, Month = {July}, Year = {2011} }
Refer Export Format

%A Drew Onken %T Solar Photon Random Walk %D July 26, 2011 %U %O 1.0 %O application/java

EndNote Export Format

%0 Computer Program %A Onken, Drew %D July 26, 2011 %T Solar Photon Random Walk %7 1.0 %8 July 26, 2011 %U

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.

Citation Source Information

The AIP Style presented is based on information from the AIP Style Manual.

The APA Style presented is based on information from APA Electronic References.

The Chicago Style presented is based on information from Examples of Chicago-Style Documentation.

The MLA Style presented is based on information from the MLA FAQ.

This resource is stored in 7 shared folders.

You must login to access shared folders.

Solar Photon Random Walk:

Is Based On Easy Java Simulations Modeling and Authoring Tool

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Solar Photon Random Walk.

relation by Mario Belloni

Know of another related resource? Login to relate this resource to it.
Save to my folders



Related Materials

Similar Materials