Hriday fun

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.

WEB-02
Category Web
Status Verified Local Build
Year 2026
Systems lens Driven pendulum mechanics paired with live browser audio synthesis and zero external media files.
WEB-02Signal block diagram
Web Slinger 95 rooftop web targeting, pendulum motion, and live audio synthesis diagramIN1WEB TARGETINGRoofs & Ledge AssistU1PENDULUM MOTIONReal Swing · Rope TensionFixed 60 Hz Loop · FlipsGFX15-LAYER CANVAS CITYTwilight Parallax · CRTAUD1LIVE WEB AUDIO SYNTHWeb Snap · Wind · Retro
Figure WEB-02 — Rooftop web targeting, fixed-step pendulum swinging, 5-layer city rendering, and live Web Audio synth.Swipe diagram →

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.

Tools & parts

HTML5 Canvas Vanilla JavaScript Pendulum Physics Web Audio Synthesizer
Tap any item to jump hridayk.com