A triple spinning wheel tool that randomly rolls a Character, a Setting, and a Plot into a complete spooky story starter — sparking creative writing, Scratch animations, and classroom storytelling.
Originally built to replace SpinTheWheel.io’s “Spin a Spooky Story” wheel (created by Tony Vincent at shapegrams.com) after our school network blocked spinthewheel.io. This version runs entirely offline as a single HTML file, no dependencies, no login, and no internet required after the initial Google Fonts load.
View and use this code / spinner on this GitHub webpage
spooky-story-spin.html in any modern web browser.All customization happens in the <script> section near the bottom of the HTML file. Look for the clearly marked CONFIGURATION block — you don’t need to touch anything else.
Each wheel item looks like this:
{ name: "a whining witch", color: "#cc5500" },
name — The label shown on the wheel, and the exact phrase used in the final story sentence. Write it so it reads naturally as “Character, Setting, Plot.” (e.g. a character phrase, a setting phrase starting with a preposition like “in” or “while,” and a plot phrase that reads like the end of a sentence).color — A hex color code for that slice. Any valid CSS hex color works.Copy any existing line and paste it inside the same array (wheel1Items, wheel2Items, or wheel3Items), then edit the name and color values.
Delete the line (including the trailing comma) for any item you want to remove.
Search for Character, Setting, and Plot in the HTML (inside the wheel-title divs) to rename any wheel.
Near the top of the <style> block you’ll find a :root section with CSS variables:
:root {
--bone: #f3ead3; /* main background color of panels */
--pumpkin: #ff7518; /* primary accent (headings, buttons) */
--witch: #7b2cbf; /* secondary accent (character wheel, Spin All button) */
--slime: #7cb518; /* tertiary accent (plot wheel, copy button) */
--ink: #241433; /* main text color */
}
Adjust these to completely re-theme the page without hunting through the CSS.
| Activity | Description |
|---|---|
| Spooky Scratch Story | Spin all three, then build a Scratch animation that tells the resulting story with sprites, speech bubbles, and sound |
| Story Swap | Spin once as a class, then have every student write their own 3-sentence version of the same prompt |
| Illustrate It | Draw or collage a single scene from your spun story |
| Sequel Spin | Spin again for “What happened next?” and continue the story |
| Genre Remix | Spin, then rewrite the same Character/Setting/Plot as a comedy instead of a spooky story |
.html file (HTML + CSS + JS)spooky-story-spin.html ← the entire app, one file
README.md ← this file
Feel free to use, modify, and share this freely for educational purposes. A credit link back is appreciated but not required.