function pointOnCircle(posX, posY, radius, angle) {
  const x = posX + radius * cos(angle);
  const y = posY + radius * sin(angle);
  return createVector(x, y);
}
// Finds a point on a circle of a given radius
Finds a point on a circle of a given radius
Finds a point on a circle of a given radius
function pointOnCircle(posX, posY, radius, angle) {
  const x = posX + radius * cos(angle);
  const y = posY + radius * sin(angle);
  return createVector(x, y);
}
function pointOnCircle ( posX , posY , radius , angle ) { const x = posX + radius * cos ( angle ) ; const y = posY + radius * sin ( angle ) ; return createVector ( x , y ) ; }
Finds a point on a circle of a given radius
Finds a point on a circle of a given radius