run({
program: {
boot(context, buffer, data) {
data.charset = sort.sort(
"○◌◍◎●◐◑◒◓◔◕◖◗◘◙◚◛◜◝◞◟◠◡◴◵◶◷◯◦",
context.metrics.fontFamily,
true
);
data.playing = false;
},
main(coord, context, cursor, buffer, data) {
const { x, y } = coord;
const { t, i, ...n } = normalize({ coord, context });
const value = 1 / (Math.hypot(x - (t % 100), y - (t % 16)) - (t % 2) * 16);
const char = pick({ value, from: data.charset });
return value > 0 ? secondary(char) : accent(char);
}
},
settings: {
fps: 60,
once: false,
rows: 30,
fontSize: "10px",
backgroundColor: "#222"
}
})