spherical coordinates and the golden angle
Channel:
Subscribers:
738
Published on ● Video Link: https://www.youtube.com/watch?v=x-0fcDO8oFQ
This code uses p5.js in WEBGL mode to evenly distribute points on a sphere using spherical coordinates and the golden angle. The use of acos and PI * (1 + sqrt(5)) creates a spiral arrangement, and the HSB color mode assigns colorful hues. The sphere rotates in the draw() function to give a 3D appearance.
Other Videos By sakkharin
2025-04-15 | Quantum entanglement |
2025-04-15 | 202504 youtube Deep Work Music ambient / Nature by Ralph Waldo Emerson |
2025-04-15 | Shor's algorithm |
2025-04-14 | The end begins, quietly |
2025-04-13 | GMDH uses a "LEGO-style" structure |
2025-04-13 | PoW (Proof of Work) is a consensus algorithm used in blockchain |
2025-04-12 | survival of the fittest |
2025-04-12 | Tierra is an artificial life system developed by Thomas S. Ray in 1991, |
2025-04-12 | The Book of Five Ring |
2025-04-11 | Can robots truly believe? |
2025-04-11 | spherical coordinates and the golden angle |
2025-04-11 | What is MegaZeux? |
2025-04-11 | BERT represents the encoder model, while GPT represents self-vectorization. |
2025-04-10 | #fractal #ambient t |
2025-04-10 | Depth. This determines the maximum number of steps required for search or operations |
2025-04-09 | #unity #vscode #copilot |
2025-04-09 | “pseudo-pointer.” in VB |
2025-04-09 | Memento mori、remember you must rebirth |
2025-04-09 | K: I was summoned. That’s all I know. |
2025-04-07 | zend of 🐍 |
2025-04-07 | Is the world a simulation? |