-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
- A browser (Chrome recommended; Firefox and Safari work)
- Git (optional — you can also just download the ZIP)
- A text editor or IDE (VS Code works great)
No Node.js. No npm. No build toolchain.
git clone https://github.com/ibrews/spatial-deck.git
cd spatial-deck
open index.htmlThe presentation loads immediately. Press → or Space to advance.
Serving locally:
file://works for almost everything. The only case where you need a local server is Three.js (the constellation map) in Chrome — if you see a same-origin warning, runpython3 -m http.server 8080and openhttp://localhost:8080.
When you open index.html you see the sample deck — "Is XR Right For Your Project?". This is the built-in demo content. You'll replace it with your own.
The UI has:
- A slide counter (top-left) —
01/NNformat - A slide grid button (top-right, grid icon) — see all slides at once
- A settings icon — opens the theme editor (or press
#0in the URL) - A search icon (or press
/) — full-text search across all slides
In presentation mode (default) most chrome is hidden. Press ?edit in the URL to see everything.
spatial-deck/
├── index.html ← THE ENTIRE PRESENTATION
├── media/ ← Your images and videos go here
├── images/ ← AI-generated images shipped with the template
├── tools/ ← Optional Python scripts for importing/exporting
└── docs/ ← Screenshots and this wiki
Open index.html in your editor. The file has two <script> blocks:
-
First script (~50 lines near the top) — the
SECTIONSarray andBONUSconstant. This is where you write your content. - Second script (~750 lines) — the engine: slide builder, navigation, media cycler, move mode, annotations, presenter tools. You usually don't touch this unless adding custom animations.
Find the SECTIONS array in the first script block. It looks like this:
const SECTIONS = [
{
year: 2023, accent: 'teal',
lesson: {
title: 'Your Lesson\nGoes Here',
tagline: 'A short explanation of what this lesson is about.',
short: 'SHORT TAG',
tags: 'Topic · Tag · Another',
notes: 'What to say when this slide appears.'
},
cases: [
{
title: 'Case Study Title',
subtitle: 'One-line description',
img: '', // empty = gradient placeholder
bullets: ['First bullet', 'Second bullet', 'Third bullet'],
notes: 'Talking points for this case study.'
}
]
}
];Change title to something else, save, and reload the browser. The slide updates.
That's the entire editing model. See Content Authoring for the full SECTIONS reference.
The recommended workflow: one GitHub repo per talk, forked from this template.
# Create your fork
gh repo create my-talk-2026 --public --clone
cd my-talk-2026
# Copy the template
cp /path/to/spatial-deck/index.html .
cp -r /path/to/spatial-deck/media . # optional sample media
git add -A && git commit -m "Fork from spatial-deck" && git push
# Your talk lives here now — edit SECTIONS in index.htmlWhen the template gets new features later:
git remote add template https://github.com/ibrews/spatial-deck.git
git fetch template && git merge template/main
# Resolve conflicts in SECTIONS (your content vs. sample content)- Open
index.htmlin a browser on the presentation machine. - Press
Hto hide all UI chrome for a clean audience view. - Use
→/Spaceto advance,←to go back. - Press
Nto open the Presenter Popup in a second window (speaker notes + timer). - On mobile: tap to advance, swipe left/right to navigate.
See Presenter Tools for the full presenting workflow.
| URL | What it does |
|---|---|
index.html |
View mode — clean, no edit chrome |
index.html?edit |
Edit mode — all chrome visible, starts at Settings slide |
index.html?edit#5 |
Edit mode, starting at slide 5 |
index.html?vertical |
Vertical scroll mode — slides flow top-to-bottom (great for sharing as a web doc) |
index.html?notes |
Phone speaker companion — notes-only view |
index.html#15 |
Jump directly to slide 15 |
- Content Authoring — fill in your SECTIONS
- Media — add images and videos
- Theme & Settings — customize colors and fonts
- Presenter Tools — set up your presenter workflow
Getting started
Presenting
Editing & design
Workflow
Reference