点線で円を描く
/** * Sphere * * @author aa_debdeb * @date 2015/11/11 */ void setup(){ size(500, 500); background(0); } void draw(){ stroke(255); translate(width/2, height/2); float radious = 200 * sin(frameCount * (TWO_PI / 169.0)); point(radious * cos(frameCount * (TWO_PI / 180)), radious * sin(frameCount * (TWO_PI / 180))); }