Skip to main content
100%

Perspective Vibrations

✓ Published0🌍 Public
BBrideau
Last edited Oct 30, 2015
Created on Oct 30, 2015

Two offset grids of blue squares appear to shift rhythmically side to side, creating a faux 3D perspective effect. The far grid uses lighter, smaller squares at full opacity, while the near grid uses darker, larger squares at half opacity. An animation loop redraws the canvas every 15 milliseconds, using D3.js only for its bundled code and the Canvas 2D API's `fillRect` and `clearRect`. Square sizes and positions are computed from a sine wave and depth-based projection formulas.

AI-generated description

Exploring some ways to provide perspective and give a faux 3D effect.

Similar vizzes