Arduino code
#include "AppGosu.h"
AppGosu app;
void setup() {
app.start();
app.setDelayCmd(100); // max speed 20ms
app.clearAll();
}
void loop() {
app.background(0,0,0);
app.textSize(50);
app.fill(255,255,255);
app.text("--- arcDeg ---", 60, 50);
for(int i=3; i<370; i = i+10) {
app.stroke( random(50,255), random(50,255), random(50,255) );
app.fill( random(50,255), random(50,255), random(50,255) );
app.arcDeg(240,400,250,250,0, i);
}
delay(3000);
} // end of loop
No comments:
Post a Comment