Website Special Effects: Reverse Engineering

A growing collection of website special effects recreated through reverse engineering. Each entry pairs a live demo with implementation notes and a downloadable source file.

Elastic Image

WebGL JavaScript GLSL

Grab the artwork, stretch it in any direction, and release it to watch it spring back. Adjust the stretch, affected area, and bounce, or upload your own image.

How it works

  • A 64-by-64 mesh gives the image enough vertices to deform smoothly. A vertex shader applies a local pull that fades with distance from the grab point.
  • A damped spring controls the return motion after release. Displacement is limited to help prevent the mesh from folding over itself.
  • Pointer events handle mouse and touch input. The standalone HTML file includes its shaders, controls, and generated sample artwork, with no external dependencies.