Claude Opus 5.5 Colorfigures Gumball Machine in Single-File HTML Prompt and Showcases

Read the original Claude Opus 5.5 Colorfigures Gumball Machine in Single-File HTML coding prompt, inspect the published implementations, and adapt the prompt variables for your own experiment.

CodeDNA metrics

ShowcaseEngineHTML bytes Effective linesShader referencesOffline HTML
Claude Opus 5.5 Colorfigures Gumball Machine in Single-File HTMLSingle-file HTML / Colorfigures————

Engine labels for recorded showcases come from the source. CodeDNA metrics describe local HTML files.

Original prompt

Claude Opus 5.5 Colorfigures Gumball Machine in Single-File HTML

draw a gumball machine

Takeaways

  • Represent each stage as a distinct machine state.
  • Keep callouts attached to relevant moving parts.
  • Reuse one sequence clock for labels and mechanism triggers.

Arena showcases

  • Claude Opus 5.5 Colorfigures Gumball Machine in Single-File HTML

    A coin, crank, distribution wheel and chute move in sequence inside this single-file HTML gumball machine. The creator credits Claude Opus 5.5 and Colorfigures. Highlighted labels follow the currently active mechanism, providing a model for explaining familiar objects through synchronized state, positioning and callouts.