A simple web component that uses 3D CSS Transforms to animate the triforce on to the screen.
Although JS is used to describe the component and apply resize behaviours, the 3D and animation are implemented in CSS. A properly lit and textured version of this could easily be created using threejs or similar.
The component is written to draw centrally on the page, but could be amended to animate to a particular origin. To use it, include triforce.js
on the page (ideally with defer
) and then use the <animated-triforce />
node in your HTML.
You can apply attributes to the component: