Skip to main content
100%

Fork of Tweak the Face: Clown Pumpkin

✓ Published0🌍 Public
Aantoniojl-kemaro
Last edited Dec 8, 2022
Created on Dec 8, 2022

This interactive visualization renders a stylized clown pumpkin using React and D3.js, with SVG output. The pumpkin face is centered on a canvas, featuring a radial gradient fill for the body, a D3 arc path for the mouth, triangular polygons for eyes, and a circular nose. The D3 `arc()` API calculates the mouth’s curved shape, which is then drawn as a path element. The design uses predefined gradient stops for the orange body and red nose, with all geometry positioned relative to the canvas center.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes