|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gravsphcolldemo.MakeAnimGif
This program produces an animated gif showing the simulation of spheres under gravity and elastic collision. It takes command line arguments. It outputs an estimate of the total running time to stdout, followed by an eoln character.
Constructor Summary | |
MakeAnimGif()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Command-line arguments: gifName: fileName String totalSimulationTime: double dt: double normal: Vector3D sampling period of OutputProjection: double xmin, xmax, ymin, ymax: doubles n: int -- number of Entities And n times: position: Vector3D velocity: Vector3D mass: double radius: double colour: name or Vector3D |
void |
run()
Calls phys.run(totalTime, dt), followed by phys.dispose(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MakeAnimGif()
Method Detail |
public static void main(java.lang.String[] args)
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |