Class MathGraphsDemo

java.lang.Object
eu.svjatoslav.aukio.e3d.examples.graph_demo.MathGraphsDemo

public class MathGraphsDemo extends Object
Demo showing mathematical function graphs rendered in 3D. Displays sine, cosine, tangent, and composite function graphs. Also includes a 3D surface graph showing z = (x² - y²) / 20 with intersecting planes and highlighted intersection curves.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new MathGraphsDemo instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    buildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera)
    Builds the demo scene: six formula graphs plus the saddle surface graph with intersection curves, camera positioned to overview them.
    static void
    main(String[] args)
    Entry point for the math graphs demo.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MathGraphsDemo

      public MathGraphsDemo()
      Creates a new MathGraphsDemo instance.
  • Method Details

    • main

      public static void main(String[] args)
      Entry point for the math graphs demo.
      Parameters:
      args - command line arguments (ignored)
    • buildScene

      public static void buildScene(eu.svjatoslav.aukio.e3d.renderer.raster.ShapeCollection shapes, eu.svjatoslav.aukio.e3d.renderer.raster.lighting.LightingManager lighting, eu.svjatoslav.aukio.e3d.geometry.Camera camera)
      Builds the demo scene: six formula graphs plus the saddle surface graph with intersection curves, camera positioned to overview them. Called by both main(String[]) and the golden-image harness — must stay deterministic (no time, no unseeded randomness).
      Parameters:
      shapes - scene to add shapes to
      lighting - lighting to configure (unused here)
      camera - camera to position