well if I can’t load in a real image of a seigaiha pattern… at least I know I can make one in code
import Poco from “commodetto/Poco”;
const render = new Poco(screen);
const black = render.makeColor(0, 0, 0);
const white = render.makeColor(255, 255, 255);
const blue = render.makeColor(0, 45, 75);
function drawCircle(r, x, y) {
r.drawCircle(blue, x, y, 30, -60, 60);
r.drawCircle(white, x, y, 28, -60, 60);
r.drawCircle(blue, x, y, 24, -60, 60);
r.drawCircle(white, x, y, 22, -60, 60);
r.drawCircle(blue, x, y, 18, -60, 60);
r.drawCircle(white, x, y, 16, -60, 60);
r.drawCircle(blue, x, y, 12, -60, 60);
r.drawCircle(white, x, y, 10, -60, 60);
}
render.begin(0, 0, render.width, render.height);
let x = 0;
let y = 15;
while (y < render.height + 31) {
drawCircle(render, x, y);
if (x > render.width) {
y += 15
if (y % 2 === 0) {
x = 30
} else {
x = 0
}
} else {
x += 60
}
}
render.end();
Proooobably just a little too heavy to render on every screen update though 