Load GSAP and three.js first
The script reads window.gsap (only for its ticker) and window.THREE. Load both before code.js. Without them the CSS gradient stays.
Pick colours that sit close together
The mesh blends every point into every other, so three to five related colours look richest. Mix one dark colour in to give the light ones depth; the default is two oranges and a near-black.
Add more points with variables
Set --msg-colour-4 up to --msg-colour-8 on the root for more points. Every one that is set is used. The CSS fallback only paints the first three.
Keep the text readable
A soft shade, --msg-scrim, sits behind the text. Check contrast against your lightest colour, and strengthen the scrim or darken --msg-colour-2 if the text washes out.
A sentence is optional
It ships with the heading alone. To add a line, put <p class="msg_text"> after the heading, or pass text in React.
Tune the fluid
data-au-push sets how hard the pointer shoves, data-au-swirl how much the stir curls, and data-au-heal how fast it settles back. data-au-speed sets the orbit speed; 0 holds the mesh still and stops the loop once it settles, but the stir still works.