Class Mandel

java.lang.Object
com.aparapi.examples.javaonedemo.Mandel

public class Mandel
extends Object
An example Aparapi application which displays a view of the Mandelbrot set and lets the user zoom in to a particular point. When the user clicks on the view, this example application will zoom in to the clicked point and zoom out there after. On GPU, additional computing units will offer a better viewing experience. On the other hand on CPU, this example application might suffer with sub-optimal frame refresh rate as compared to GPU.
Author:
gfrost
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Mandel.MandelKernel
    An Aparapi Kernel implementation for creating a scaled view of the mandelbrot set.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int frameCount  
    static long start  
    static Point to
    User selected zoom-in point on the Mandelbrot view.
  • Constructor Summary

    Constructors 
    Constructor Description
    Mandel()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(String[] _args)  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • to

      public static volatile Point to
      User selected zoom-in point on the Mandelbrot view.
    • frameCount

      public static int frameCount
    • start

      public static long start
  • Constructor Details

  • Method Details

    • main

      public static void main​(String[] _args)