Neat approach! For this kind of mesh animation on a sphere’s surface, another path worth exploring is quaternion-based orientation traversal. I’ve been experimenting with this in SpinStep[0] — a Python library that uses quaternions to step through spatial structures based on orientation rather than position.
It’s particularly helpful when you want smooth, rotation-aware transitions (like gliding across a sphere’s surface) without relying solely on angles or coordinate systems. Could be interesting to try a similar traversal heuristic in a Three.js context using Quaternion.slerp().
Well there is the whole Vegas Sphere. Haven't heard anything about it lately though...
TuringNYC [3 hidden]5 mins ago
This is the most beautiful page and site i've seen in years!
riebschlager [3 hidden]5 mins ago
I came here to say the same thing! I didn't realize how much I missed this level of detail and effort in web design.
talkingtab [3 hidden]5 mins ago
You can rotate the sphere and zoom in and out as well. Works for me on an iPhone.
Now why is it again we are not using threejs pervasively?
[edit to remove two "wells" in one sentence]
Malcolmlisk [3 hidden]5 mins ago
Wow, the whole website is amazing. Nice job, and very aesthetic.
creata [3 hidden]5 mins ago
I think calcPathPoints can be made more efficient by calculating the slerp only once (for t = 1/segments), and then maintaining stepQuat like:
// before the loop
let stepQuat = new THREE.Quaternion();
// at end of loop body
stepQuat.multiply(slerp);
Sorry if this was discussed in the article already.
delta_p_delta_x [3 hidden]5 mins ago
I remember this was the second assignment in my introductory computer graphics class. Lots of old-school fixed-function glRotated and glTranslated.
Waterluvian [3 hidden]5 mins ago
Homework challenge: adjust this so that it works for an oblate spheroid, such as when rendering the Earth and small circle paths.
Theodores [3 hidden]5 mins ago
Awesome website with so much clearly explained. I never quite understood how to do perspective in CSS and now I can see what was holding me back.
This is a website I will be stealing ideas from!!!
throwaway290 [3 hidden]5 mins ago
Is GSAP still widely used today?
geedix [3 hidden]5 mins ago
Yes it is! It was acquired by Webflow a few months ago. They made all its extra features free. I specialize in GSAP. It's common to see it used with three.js or SVG on high-profile sites.
It’s particularly helpful when you want smooth, rotation-aware transitions (like gliding across a sphere’s surface) without relying solely on angles or coordinate systems. Could be interesting to try a similar traversal heuristic in a Three.js context using Quaternion.slerp().
[0]https://github.com/VoxLeone/SpinStep/blob/main/README.md
[1] https://www.youtube.com/shorts/CpaXi9ije2k
Now why is it again we are not using threejs pervasively?
[edit to remove two "wells" in one sentence]
This is a website I will be stealing ideas from!!!