LaserSnake
A classic snake game — cartoon snake with eyes and an animated forked tongue, red apple, menus, high scores — that plays on your screen and simultaneously burns the live game onto a real wall with a scanning laser projector. No laser? It's a perfectly good snake game anyway.
What it does
On-screen game
Fast, smooth SDL2 rendering of the cartoon snake, apple, score and menus. Resizable window, fullscreen, top-20 high scores persisted locally.
Laser projection
The same live scene is driven through an EtherDream-compatible scanning laser — snake silhouette with a bright-head-to-dim-tail gradient, apple, score readout, purple border.
Beam safety by design
The beam is disarmed by default. ARM is one explicit sticky switch; focus loss, controller errors, removal and exit all blank and disarm automatically. Double-Esc is a safety kill.
Multi-laser profiles
Connect several scanners at once. Each gets its own colour gains, global power, output window (scale + position on the wall) and beam-velocity budget, remembered per device.
Steady, flicker-free output
A continuous point-stream feeds the scanner (no frame boundaries), travels are double-blanked to kill ghost lines, and beam velocity is budgeted per laser so nothing smears.
Live preview panel
A “what the laser sees” mirror shows the exact point stream being sent — blanked travel in grey — with KPPS/point/fps readouts, test-pattern and calibration-sheet support.
Screenshots
Laser safety — read this
- Laser light is not a toy. Keep eyes out of the beam path and off the wall while it's armed. You are responsible for safe use.
- The beam is disarmed by default — nothing outputs until you connect a device and arm it deliberately.
- ARM is the only beam switch, and it is sticky in every app state; an idle armed laser draws nothing (the beam stays dark when the game isn't playing).
- TEST is load-only and is refused while disarmed; it doubles as the stop button.
- Auto-disarm on focus loss, controller errors, laser removal or app exit.
- Aim the scanner at the wall/ceiling you intend before you arm anything.
Downloads
Windows 10/11 x64. Runs fully offline — no internet needed at runtime. The game works with or without a scanner connected.
Note: I'm not buying an MS cert just to sign this free app, so you will get a SmartScreen warning when running it — that's expected.
MIT Licence with Website Attribution
Copyright (c) 2026 epicdomain.net
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- Any public distribution, publication, or redistribution of the Software, including modified versions, must include clear attribution to the original author and a link to the original project website: epicdomain.net/lasersnake.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
Go deeper
The documentation below is generated directly from the source tree — features, configuration, controls and troubleshooting, all verified against the code at generation time.