So, I want to use monte carlo intergration to calculate the area of the mandelbrot set (Mandelbrot Set@Wiki). The point at which I am is that I have X sample with T iterations. My question is on how I could plot the X samples; these are just plain x,y coordinates. The thing is that I find anything with a GUI quite cumbersome in JAVA, so any help would be great. Here is the code that I use, to get a view on how I do things.
public static void main(String[] args) {
mandelbrot1 program = new mandelbrot1();
program.mc(iterations, samples);
}
So, I am going to let mc() return an array of some sort of objects containing the x,y pairs. Or just as arrays.
What I would ideally want is to have a method which has as input an arraylist of Point objects, and which would then draw all of those points.
Ideas?
Thanks!