Skip to main content
100%

Fork of lewis art with D3

✓ Published1🌍 Public
Pparag776
Last edited Jan 23, 2023
Created on Jan 22, 2023
Forked from Fork of lewis art

This example generates a geometric pattern of horizontal and vertical rectangles overlaid on an SVG canvas. The rectangles are masked by circular regions, creating an intersecting grid with a circular reveal effect centered within the 960 by 500 viewport. The code uses D3.js version 7.8.2 to build the SVG elements, compute range data for the grid lines, and apply SVG masks to control visibility. The pattern emerges from alternating masks: one with a white circle on a transparent background and another with a black circle on a white background, producing a crosshatch-like composition.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes