Fork of HTML Starter
This example demonstrates a generative visual pattern using SVG masking: a set of horizontal and vertical striped rectangles is clipped by two circular masks, producing a crosshatched effect with overlapping rings. The page window dimensions determine the SVG size, and all elements are created dynamically via the native DOM API (`document.createElementNS`). Two masks—one with a white circle on black, the other with a black circle on white—alternately reveal and hide the stripes, creating contrasting circular regions in the center of the viewport. This is a minimal, dependency-free HTML/CSS/JavaScript visualization that highlights basic SVG compositing techniques.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.