Each circle that forms the text goes around in its own circle.
Each circle is a particle that rotates in a circle by using cos and sin waves.
let x = cos(angle) * circleRadius;
let y = sin(angle) * circleRadius;
// and
angle +=0.02
The size of the circles also leverage some variability to make them 'glimmer'.
function draw() {
background("#130108");
for (let i = 0; i < xPos.length; i += 1) {
let x = cos(i + mult) * diam;
let y = sin(i + mult) * diam;
fill(n[i]);
ellipse(xPos[i] + x, yPos[i] + y, (noise(x) * 30) / 2.2); // I think the division is redundant but somehow it reduced speed of the particles (?)
}
mult += inc;
}