*/
public class GraphDemo {
+ /**
+ * Creates a new GraphDemo instance.
+ */
+ public GraphDemo() {
+ }
+
/** Frequency of the wave pattern in the wobbly surfaces. */
private static final double WAVE_FREQUENCY = 50d;
/** Amplitude of the wave pattern in the wobbly surfaces. */
*/
public class OctreeDemo extends WorldNavigationUserInputTracker {
+ /**
+ * Creates a new OctreeDemo instance.
+ */
+ public OctreeDemo() {
+ }
+
/** Scale factor for rendering octree voxels in the scene. */
private static final double magnification = 5;
private final LineAppearance gridAppearance = new LineAppearance(40, new Color(255,
*/
public class RainingNumbersDemo implements FrameListener {
+ /**
+ * Creates a new RainingNumbersDemo instance.
+ */
+ public RainingNumbersDemo() {
+ }
+
/** Number of falling numbers in the scene. */
private static final int NUMBERS_COUNT = 1000;
/** Size of the cubic area containing the numbers. */
*/
public class RandomPolygonsDemo {
+ /**
+ * Creates a new RandomPolygonsDemo instance.
+ */
+ public RandomPolygonsDemo() {
+ }
+
/** Average size of each random polygon. */
private static final double POLYGON_AVERAGE_SIZE = 130;
/** Number of polygons to generate. */
*/
public class ShadedShapesDemo {
+ /**
+ * Creates a new ShadedShapesDemo instance.
+ */
+ public ShadedShapesDemo() {
+ }
+
/** Number of orbiting light sources in the scene. */
private static final int LIGHT_COUNT = 10;
*/
public class TextEditorDemo {
+ /**
+ * Creates a new TextEditorDemo instance.
+ */
+ public TextEditorDemo() {
+ }
+
/**
* Entry point for the text editor demo.
* @param args command line arguments (ignored)
*/
public class TextEditorDemo2 {
+ /**
+ * Creates a new TextEditorDemo2 instance.
+ */
+ public TextEditorDemo2() {
+ }
+
/**
* Entry point for the text editor city demo.
* @param args command line arguments (ignored)
*/
public class WindingOrderDemo {
+ /**
+ * Creates a new WindingOrderDemo instance.
+ */
+ public WindingOrderDemo() {
+ }
+
+ /**
+ * Entry point for the winding order demo.
+ * @param args command line arguments (ignored)
+ */
public static void main(String[] args) {
ViewFrame viewFrame = new ViewFrame();
ViewPanel viewPanel = viewFrame.getViewPanel();
*/
public class SolidCubesTest implements BenchmarkTest {
+ /**
+ * Creates a new SolidCubesTest instance.
+ */
+ public SolidCubesTest() {
+ }
+
private static final int GRID_SIZE = 16;
private static final double SPACING = 80;
private static final double CUBE_SIZE = 25;
*/
public class StarGridTest implements BenchmarkTest {
+ /**
+ * Creates a new StarGridTest instance.
+ */
+ public StarGridTest() {
+ }
+
private static final int GRID_SIZE = 16;
private static final double SPACING = 80;
private static final double STAR_SIZE = 20;
*/
public class TexturedCubesTest implements BenchmarkTest {
+ /**
+ * Creates a new TexturedCubesTest instance.
+ */
+ public TexturedCubesTest() {
+ }
+
private static final int GRID_SIZE = 16;
private static final double SPACING = 80;
private static final double CUBE_SIZE = 25;
*/
public class WireframeCubesTest implements BenchmarkTest {
+ /**
+ * Creates a new WireframeCubesTest instance.
+ */
+ public WireframeCubesTest() {
+ }
+
private static final int GRID_SIZE = 16;
private static final double SPACING = 80;
private static final double CUBE_SIZE = 25;
*/
public class PointCloudDemo {
+ /**
+ * Creates a new PointCloudDemo instance.
+ */
+ public PointCloudDemo() {
+ }
+
/**
* Entry point for the point cloud demo.
* @param args command line arguments (ignored)
*/
public class Main extends WorldNavigationUserInputTracker {
+ /**
+ * Creates a new Main instance for the Game of Life demo.
+ */
+ public Main() {
+ }
+
/** The game of life matrix, centered at the origin. */
private static final Matrix MATRIX = new Matrix(
new Point3D() // position matrix in the center of the scene