Requirement:
I want to use pure Java (1.6) with no additional frameworks.
Idea:
Swing? frame, black background.
A universe of a 100 ‘stars’ (to begin with) which can simply show as white pixels for now (ie: no art)
Zoom in and out using mousewheel.
Stars/pixels are selectable via mouse click (perhaps highlight them with some sort of halo/ring, or paint as different colour?)
What sort of structures should I use to:
Hold the spatial data for the stars? (Keeping in mind that I may require ‘clipping’ to represent P.O.V when zoomed in/out unless that can be done another way?)