edu.rit.hyb.antimatter
Class RenderSeq
- java.lang.Object
-
- edu.rit.hyb.antimatter.RenderSeq
-
public class RenderSeq extends java.lang.ObjectClass RenderSeq is a sequential program that renders a visualization of the Antimatter Simulation. This program's chief purpose is to measure the rendering performance. The program does the following:Repeat for F frames:
Place N antiprotons at random positions in the square from (0,0) to (W,W).
Create a WxW-pixel image of the antiprotons.
Store the image in a PNG file.Usage: java edu.rit.hyb.antimatter.RenderSeq seed N W F file
seed = Random seed
N = Number of antiprotons
W = Image is WxW pixels
F = Number of frames (files)
file = Files are named "file_0000.png", "file_0001.png", etc.Class RenderSeq executes sequentially in a single thread.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Main program.
-
DMelt 3.0 © DataMelt by jWork.ORG