Recently, I've delved into learning Three.js and stumbled upon some intriguing examples by Nat Geo. It got me thinking - is there a way to sync the animation progression with the scroll wheel? How did they seamlessly integrate WebGL elements with their website's design? In the first example, it appears that the webgl element is set in the background while regular HTML elements float over it. But the real puzzle lies in how they managed to time the animations so flawlessly.
If anyone has any insights or knowledge on the creation process of these fascinating visuals, I would greatly appreciate your input!
Check out the examples here: Nat Geo Example 1
And here as well: Nat Geo Example 2