Skip to main content
100%

Propeller2

✓ Published0🌍 Public
AAsrar Al Qassem
Last edited Feb 29, 2024
Created on Feb 29, 2024
Forked from Propeller

A rotating three-blade propeller is visualized with D3.js, rendered as SVG shapes over a grey background. The visualization shows a central black hub with three silver blades and yellow tips spinning continuously. The rotation is achieved using D3’s `transition.attrTween` with a linear easing function, updating the group’s `transform` attribute by incrementing the rotation angle by 360 degrees per cycle and recursively restarting the animation on end. The code uses D3 v6 to append circle and rectangle elements, constructing the propeller geometry via explicit coordinate attributes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes