Sol Lewitt in only JS
✓ Published0🌍 Public
This example recreates Sol LeWitt’s geometric wall drawings using only JavaScript and D3. It renders a series of abstract, rule-based compositions—lines, arcs, grids, and color bands—on an SVG canvas. The code implements each drawing as a separate function that generates SVG elements using D3’s selection and data-binding methods, with shapes built from `d3.line`, `d3.arc`, and `d3.area` generators. Coordinates are computed mathematically, and the drawings are displayed in a grid layout, showcasing how algorithmic instructions translate into visual form without external data sources.
AI-generated descriptionMIT Licensed