This is a 3D visualization of the Hopf Fibration, a mapping of points on
The usual three dimensional sphere,
For some
Notice that coordinates in
Similarly,
Then, the Hopf Map satisfies
It can be verified that
A possible inverse Hopf Map is then given by the following. Let
As
In summary, this project samples various points in
-
Clone this repository
-
From the root of the repository,
xcopy res build\Release\res /E /I mkdir build cd build cmake -G "Visual Studio 17 2022" -A Win32 .. -
Navigate to /build and build the project using release build either in Visual Studio or in terminal via MSBuild.
-
Run build/release/main.exe
- Clean up code
- Figure out optimizations for calculating new points
- Create more initial point distributions on
$S^2$
This project uses OpenGL abstraction classes from "The Cherno"'s tutorial series. Also, the Wikipedia Article on the subject was a very helpful resource.