Skip to content

bloo-berries/spectrum-shift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectrum Shift

An accessible puzzle game that lets players experience the world through different vision modes, each simulating a real visual impairment. Created for the Games for Blind Gamers 5 game jam with the theme "Confidently Wrong."

About

Sighted people are often confidently wrong about what it's like to live with visual impairments. Spectrum Shift aims to educate players by letting them experience tunnel vision, color blindness, visual snow, and cataracts firsthand while solving puzzles in an ancient temple.

The game is fully accessible to low-vision and blind players through comprehensive keyboard navigation, screen reader support, and voice narration.

Play the Game

No installation required. Serve the files with any static HTTP server:

# Using Python
python3 -m http.server 8080

# Using Node.js (if http-server is installed)
npx http-server -p 8080

Then open http://localhost:8080 in your browser.

Controls

Key Action
W / Arrow Up Move North
A / Arrow Left Move West
S / Arrow Down Move South
D / Arrow Right Move East
1-5 Switch vision mode
E Examine focused object
Enter / Space Interact
Tab Navigate UI elements
Escape Pause / Open menu
H Help
R Repeat room description
M Toggle mute
N Toggle narration

Vision Modes

  1. Normal Vision - Default sight with no modifications
  2. Tunnel Vision - Simulates peripheral vision loss (glaucoma, retinitis pigmentosa)
  3. Protanopia - Red-green color blindness affecting ~8% of males
  4. Visual Snow - Persistent visual static/noise in the field of vision
  5. Cataracts - Cloudy, blurred vision with reduced contrast

Each vision mode reveals different hidden elements in the environment. Using special vision modes consumes energy, which regenerates when returning to normal vision.

Accessibility Features

  • Full keyboard navigation
  • Screen reader support with ARIA live regions
  • Voice narration using Web Speech API
  • High contrast mode
  • Adjustable font sizes (Small / Medium / Large / Extra Large)
  • Spatial audio cues for navigation
  • All visual information conveyed through multiple channels

Technical Details

  • Vanilla HTML, CSS, and JavaScript (no build step)
  • Howler.js for spatial audio
  • Web Speech API for dynamic narration
  • localStorage for save data
  • CSS filters and SVG color matrices for vision effects

Browser Support

Modern browsers with Web Audio API and Web Speech API support:

  • Chrome / Edge (recommended)
  • Firefox
  • Safari

License

Created for Games for Blind Gamers 5 game jam.

About

3D Action-Adventure Game. Vision conditions are reimagined as mystical superpowers, not disabilities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors