So LeWitt Reproduction
✓ Published0🌍 Public
This visualization reproduces a minimalist So LeWitt drawing using React and D3 v7. It shows a single black circle that follows the mouse cursor across an SVG canvas, with the circle’s position driven by React state updates from a `mousemove` event handler. The code uses React’s `useState` and `useCallback` hooks to manage pointer coordinates, and renders the circle as an SVG element within a 960×500 viewport. The yellow background circle and static black outlines visible in the commented code suggest an intentional homage to LeWitt’s geometric wall drawings, but the active behavior focuses solely on the interactive dot.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed