ageller / Firefly

A WebGL interactive particle viewer
GNU Affero General Public License v3.0
64 stars 12 forks source link

Firefly in 2D? #144

Open ageller opened 2 years ago

ageller commented 2 years ago

We were musing about this a while ago, and now I'm creating an issue so we don't forget. Could we limit the camera in a way that would allow us to plot in 2D (e.g. just x,y with all points at z=0)? This could allow users to plot millions of points in a scatter plot and zoom/pan, which is not possible with traditional tools like matplotlib. (Though often when you have this many points it can be better to use a contour plot, which matplotlib can do just fine. So... this is not a high priority.)

agurvich commented 2 years ago

we can do 2d histograms using the column density projection as well, so not just limited to scatter plots

ageller commented 2 years ago

Good point!

I like this 2D possibility as a way to increase our user base as well. Maybe a v4.0 (or v3.x) update, after the paper is finished.