class Follower { Cell mommy; float mx; float my; float followRate = random(0.78,0.94); //tells followers what cell they are in Follower(Cell mama){ mommy = mama; mx = mommy.focusX; my = mommy.focusY; } void drawFollower() { mx = followRate * mx + ( (1 - followRate) * (mommy.focusX + mommy.mfocusX)); my = followRate * my + ( (1 - followRate) * (mommy.focusY + mommy.mfocusY)); stroke(0); strokeWeight(3); fill(mommy.valR, mommy.valG, mommy.valB, 50); ellipse(mx , my , mommy.followerR, mommy.followerR); } }