Showing the density of a plot using jogl

Hello everybody

I’m creating a program to display data on a 2d plot using a jogl plotting library called JGrial. Basically, it plots the points with a z value of 0. I can currently give a notion of the density of the plot, by adding a slider to set the alpha value, so that the dense areas show clearly on a low alpha value.

I want to know if anyone has suggestions for an alternative way to show the density of the points on the plot.

My boss already suggested using ray tracing, but since I’m a complete newbie with OpenGL, I have no clue how and wether this works…