Magic 8 Ball

December 15, 2025

A voice-controlled Magic 8 Ball running entirely in the browser. No server, no API keys, no data leaving your device.

Magic 8 Ball screenshot Magic 8 Ball interface Magic 8 Ball response

Three models run locally via Transformers.js and WebGPU:

  • Whisper-tiny.en (~40MB) - speech-to-text
  • Qwen3-0.6B (~150MB) - LLM
  • Supertonic-TTS (~60MB) - text-to-speech

Qwen at 0.6B is fast but not smart. It can’t reason or follow complex instructions. A Magic 8 Ball turned out to be a good fit—it just needs to produce mystical-sounding responses to yes/no questions.

Speak a question, Whisper transcribes it, Qwen generates an answer, TTS reads it back. Shader effects complete the aesthetic. Requires Chrome with WebGPU.