Spider-Man: Web Slinger '95
A zero-dependency 1990s-style 2D arcade swinging game in HTML5 Canvas featuring rigid-rope pendulum physics, raycast rooftop anchoring, five-layer parallax, and live Web Audio chiptune synthesis.
┌──────────────────────┐
┌──▶│ GFX1 · 5-LAYER CITY │
┌──────────────────┐ ┌────────────────────┐ │ │ Canvas · CRT Toggle │
│ IN1 · WEB AIM │────▶│ U1 · PENDULUM 60Hz │───┤ └──────────────────────┘
│ Roofs + Ledges │ │ Swing + Tension │ │ ┌──────────────────────┐
└──────────────────┘ └────────────────────┘ └──▶│ AUD1 · LIVE SYNTH │
│ Web · Wind · Retro │
└──────────────────────┘Why I built it
When a 2D swinging game fakes motion along a preset spline, you feel the missing gravity immediately. As a physics and synthesis exercise, I wrote a 1990s-inspired arcade game in plain JavaScript with zero game engines, sprite sheets, or audio files, driven by angular pendulum dynamics at a fixed 60 Hz step.
How it works
- Pendulum Mechanics & Raycast Anchors: Firing a web casts a ray against procedural rooftops, cornices, antennas, and water towers (with slight angular forgiveness near ledges so high-speed shots stay responsive). Once tethered, the character integrates angular acceleration under gravity, pumps kinetic energy through the bottom of the arc, launches tangentially on release, and chains into wall runs and slides.
- Five-Layer Parallax Cityscape: Twilight gradients, drifting cloud bands, distant beacon skylines, neon mid-ground roofs, and foreground streetlamps scroll at depth-scaled velocities while the camera dynamically pulls back at high speed inside an optional CRT scanline bezel.
- Procedural 16-Bit Web Audio Synth: All sound effects and music are synthesized live from oscillators and filtered noise buffers in the browser’s Web Audio API—including the percussive web-thwip transient, velocity-modulated wind rush, and a three-voice arcade loop.
What I tested & current scope
The game runs directly in modern desktop browsers with zero external media assets or build steps. Unlike the systems and study tools in this archive, it was built as a standalone physics-and-audio study without automated unit tests or recorded frame-time logs.
Stack & parts