dancing in the dark

2024

custom software

Thought

Saw light glimmering on a waterbody at night and wondered what typographic messages would look like if they glimmered on water the same way.

Logic

Lines are drawn on the piece of text and manipulated by a wave passing through each line.


  for (let i = 0; i < xPos.length; i += 2) {
    let wave = sin(i + waveOffset) * waveHeight;

    line(xPos[i] + wave, yPos[i], xPos[i], yPos[i]);
  }
  // updated wave offset for animation
  waveOffset += waveSpeed;

One can even play around with the parameters to modify its legibility.