Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sol lewitt

Public visualization

sol lewitt

0 stars0🌍 Public
NNikhil Pratap Singh
Last edited Jun 16, 2024
Created on Jun 16, 2024
Forked from asd

This example renders a simple generative art piece in the browser using only the DOM API for SVG. It creates 100 vertical rectangles across the full width and height of the viewport, each with a fixed width of 10 pixels, producing a striped pattern. The code also builds an SVG `mask` element, though it is left incomplete, so the mask does not affect the final visual. No external libraries are used; instead, it relies on `document.createElementNS` to construct the SVG elements directly.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed