This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

@author Justin Zelinsky @version 2.0 @since 2012-03-11 TODO Display circle on graph when stepping through expansion/collapse TODO FAQ * Setup function called at beginning of program to initialize and display * graph and IO * Draw function which is called constantly to update graphics * Calculates and displays the graph of the expansion of the universe * * @param mass_const * The user-defined Mass constant value * @param cosm_const * The user-defined Cosmological constant value * Create graph object with default parameters, remove extra galaxies added * and add default galaxies * Checks for any invalid parameters and then draws the graph * * @param theValue * Default value for button * @see drawGraph * Resets the graph and visual universe to default values * * @param theValue * Default value for button * @see createGraph * Change the graph display to include grid lines or not * * @param theValue * Default value for button * Animate the expansion of the galaxy starting at present * * @param theValue * Default value for button * Take one step backward in time in the visual representation of the * universe expanding or collapsing * * @param theValue * Resets the visual representation of the universe to the present with * expansion factor 1 * * @param theValue * Default value for button * Take one step forward in time in the visual representation of the * universe expanding or collapsing * * @param theValue * Default value for button

Source code: GraphApplet.java

Built with Processing