This applet implements the Dole accretion model for planetary system formation. It can be used to form simulated systems similar to the solar system.

The source and class files are available.

The horizontal scale is logarithmic in orbital radius, and the radius of the circles is proportional to the cube root of the mass. Solid circles are rocky planet; open circles are gas giants. Pressing any key will generate a new system.

You need Java enabled to run the applet.