In 2022 I was tasked with creating a WebGL landing page for Sonos' new product, the Sub Mini.
Together with the team we decided to use the parametric line elements from their promo video as our main visual of the intro.

Three.js has a function to generate a torus, but we would need a very high number of objects to represent the lines. Add animation and a custom shading effect, and it would be costly in both memory and CPU, especially on low-end phones.
Another way to approach this would be a single cylinder geometry with all the data we needed to create a torus; then we would draw each instance and modulate the torus properties like radius and noise in the vertex shader.
The base data is simply a cylinder where we encode a value from 0 to 1, which would later be used to modulate the angle of transformation to bend the geometry into a torus.