^ So, that's just a basic start, trying to get a handle on things. There's no real data happening here yet. I'm justing playing around with how Processing handles visual representations. That's my primary concern: is having a really good visual representation while also maintaining effecient processing. I may soon begin to translate code in from what I did in ActionScript, tho just want to get a good handle on what is even happening here now. My questions so far are:
1) What Processing / Java libraries are there that may support astronomical data and/or representations?
2) In the fundamental code above, what general improvements can be made to increase processing power and better graphic representation? What other improvements? (I'm open to any feedback whatsoever).
3) I'm wondering about the way that I utilized this
initializeSphere() and
texturedSphere() methods (I found these elsewhere, and adapted them into my code). Is this a more efficient or less efficient method of representing texturized spheres? Seems like this might be outdated custom code, and maybe Processing has something better in its core libraries?
4) In an early attempt to get a handle on 2D UI over 3D representation, I used a very basic
controlP5 sample. Is this the best way to go? And I notice that if the 3D representation is animating, and I click a 2D UI button, it also affects the 3D interaction. How to prevent this?
5) With my years of ActionScript programming, I'm used to OOP programming and OOP design (embedded symbols and such). I hope that Processing operates in a similar way with Classes. Regarding #4: would it work to place the 3D representation in it's own modular class, have the 2D UI in it's own module class, and then create instances of them in a primary application class? Would this help with keeping them distinct in the way that Processing registers interaction?
6) What other ways can I improve the visual representation (such as having the sun glow etc), while also maintaining efficient processing power?
7) If I was to add several more planets and graphics etc, I might expect the processing power to suffer. How can maximum processing power be achieved overall?
I might have more questions. I'm just getting started, and putting these questions out here to begin getting an overall better understanding of how to move forward. Thanks to anyone who is inspired to help!