solar system problems.
in
Programming Questions
•
6 months ago
I am trying to put images of the first 5 planets around the sun. The code is based off of the learning processing book example, there is a sun and ellipses rotating around the sun. I want to replace the ellipses with the pictures of the planets, with somewhat accurate scaled dimensions. Wasn't sure how to go about this, I've done it using an array and changing the names to planet_0, planet_1 and so forth. having it say loadImage("planet_" + planetnum + ".png"). But cant get the sizes or distances to scale. any help of the right approach to take, or guides would be helpful.
1