I'm new here and new to Processing. I wonder if I can ask for some noob help
with this simple program i'm trying to put together:
Basicly I simply want to create 3 planets that orbit a sun. Being a beginner to
processing I'm making some simple mistake with my code below. I'd really
appreciate it if someone could cast their eye over it an explain in laymens terms
what i'm doing wrong. As you can probably see i'm trying to use a class and
my problem is that all 3 planets are being drawn in the same location (as far as
i can tell).
//DECLARE VARS
planetoid myplanetoid; planetoid myplanetoid2; planetoid myplanetoid3;
void setup () { size(600, 600); smooth();
//INITIALISE myplanetoid = new planetoid(230, 250); myplanetoid2 = new planetoid(200,200); myplanetoid3 = new planetoid(100, 200); }