siinghd/void

Single-file HTML canvas toy: click to spawn singularities, hold to grow, explode

★ 0Forks 0HTMLGitHub ↗Compare

README

void

A single-page canvas toy: click to spawn gravitational singularities, hold to grow them, right-click to explode.

What it does

  • HTML5 canvas particle/gravity sandbox in one self-contained file
  • Click creates a singularity, hold to grow, right-click triggers an explosion
  • No build step, no dependencies, no server

Stack

Plain HTML + CSS + vanilla JS in a single index.html.

Run it

Open the file directly in a browser:

xdg-open index.html      # linux
open index.html          # macOS

Or serve the directory with anything static:

python3 -m http.server 8000

Notes

Pure static page — nothing to install, nothing to configure.

Contributors

siinghd

Issues