Skip to main content
100%

Curran's Face a Là Sol LeWitt - Getting it Right

✓ Published1🌍 Public
FFelipe Maion
Last edited Mar 24, 2021
Created on Mar 24, 2021

An interactive game challenges players to time a screen freeze so that only black-and-white patterns are visible, referencing Sol LeWitt's art. The animation cycles through colorful horizontal and vertical stripe groups masked by a face-shaped SVG path. Using the SVG Mask API and `createElementNS`, the code builds layered `<rect>` elements and toggles their visibility via `getComputedStyle` and `setInterval`. A score increments on correct timing, and the timer accelerates after each success, increasing difficulty.

AI-generated description

Simple game based on the Exercise of Curran's Course 2021 Get it Right in Black and White

So, the goal of the game is to stop the screen only on ALL Black&White patterns.

ToDo: Implement lives.

Refs: Sol LeWitt art piece.

MIT Licensed

Similar vizzes