Basically what I have here is a circle orbiting another (very tinier) circle.
What I’ve been trying to figure out is how to add a trail particle effect to the orbiting circle, where the end of the trail fades from white to being transparent.
My end goal is to try and duplicate these rotating circles in different positions to make them look like star trails:
What lines of code exactly do I add in to achieve this? I’m sorry if this seems like a very basic and stupid question, this is my very first processing assignment and programming has never been my forte… It would be much appreciated.
float center = 1;
float VenusOrbitRadius = 120;
float VenusAngle = 0;
void setup() {
size(1024,768);
frameRate(30);
}
void draw() {
background(0,0,0);
translate(width/2,height/2);
noStroke();
fill(255,200,64);
ellipse(0,0,center,center);
pushMatrix();
rotate(VenusAngle);
translate(VenusOrbitRadius,0);
fill(255);
ellipse(0,0,5,5);
popMatrix();
VenusAngle += .05;
}