javaeclipse2dprocessingpiccolo

java graphic library(processing, Piccolo, and JOGL)


I'm trying to draw a interactive scatter plot with java. There are more than a million gene data to plot.

For this process I recently examined the performance of drawing(and also moving and zooming) with 30 thousands gene data by using both Processing and Piccolo. The performance were almost same or the performance with Piccolo was little better. However I wasn't satisfied with these performance. When I try to move the whole plot or zoom in/out, it took about a seconds to actually works. What I want is to show the plot in a real time.

So here is a question. Is there any other alternative library for 2D display? How about using JOGL? Do I really have to use open frameworks for this?

please give me some help.

Thanks in advance.


Solution

  • What might boost the performance is drawing your objects to a buffer first and then draw the buffer to the screen – Draw to offscreen buffer

    Using OPENGL-mode might improve performance as well: size(400, 400, OPENGL)