xxxxxxxxxx
48
let angle = 0;
function setup() {
createCanvas(600, 600);
angleMode(DEGREES);
}
function draw() {
background(0);
translate(300, 300)
rotate(angle);
rectMode(CENTER)
// Outter circle
noStroke()
fill('red')
circle(0, 0, 300)
// Inner circle
fill('black')
circle(0, 0, 290)
// circle 1
fill('red')
circle(0, 0, 100)
// circle 2
fill('black')
circle(0, 0, 30)
// circle 3
fill('white')
circle(0, 0, 10)
text('Otis', 100, 0)
textSize(20)
angle = angle + .5
}