Ria Choi
← Portfolio

26 Seoul Art Festival

An interactive exhibition that uses motion, sound, and a two-step letter reveal to reward exploration.

26 Seoul Art Festival

I wanted the letter in this exhibition to feel like something a visitor had found. The walk toward the lit hut, the envelope opening, and the full-page letter form one sequence. I paid particular attention to when motion and sound give way to reading.

From discovery to reading

The entrance zoom leads into the hut. Finding a letter opens an overlay with a closed envelope. The first action opens it, and the second reveals the paper. React keeps those stages separate, and the scheduled sound follows the paper animation, with an immediate cue when reduced motion is preferred.

JavaScript
onClick={() => {
  playLetterSound();

  if (isOpened) {
    whoosh.stop();
    collectLetter();
    setIsReading(true);
    return;
  } else {
    hasOpenedRef.current = true;
    const reducedMotion = window.matchMedia(
      '(prefers-reduced-motion: reduce)',
    ).matches;
    whoosh.play(reducedMotion ? 0 : letterPaperDelayMs);
  }

  setIsOpened((opened) => !opened);
}}

Closing the letter and recording progress

I use a native dialog so the overlay takes focus while the visitor reads. The close button, Escape, and backdrop share one close path. Once the envelope has been opened, the read callback can run once. Clearing a ref before invoking it keeps a later dismissal from collecting the same letter again.

JavaScript
useEffect(() => {
  const dialog = dialogRef.current;
  dialog.showModal();

  return () => dialog.close();
}, []);

function collectLetter() {
  if (hasOpenedRef.current) {
    hasOpenedRef.current = false;
    onRead?.();
  }
}

function closeLetter() {
  collectLetter();
  onClose();
}

What I learned

An interaction feels more intentional when each stage has a purpose. Here, the animation signals discovery, then the reading surface stays still and gives the visitor a clear way back.

Related article

Depth Motion Background Tutorial