We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I need to know how to put a circle of each corner of an object. I need 6 circles per object (hexagon). I created the hexagon with a polygon "polygon(0, 0, 50, 6)". The object (hexagon) should rotate against clockwise, no matter what speed and the circles should rotate with the hexagon on its 6 corners. I can't find any solution, so I need help.
The Hexagon-Code:
pushMatrix();
translate(430, 480);
rotate(frameCount / -100.0);
polygon(0, 0, 50, 6);
popMatrix();
Answers