Skip to content

Experiments with moebius transformations and non-euclidian perspectives.

License

Notifications You must be signed in to change notification settings

micahscopes/Hyperspectives

Folders and files

NameName
Last commit message
Last commit date
Jun 22, 2022
Jun 6, 2014
May 22, 2022
Apr 11, 2023
Apr 16, 2023
Sep 4, 2014
Sep 6, 2014
May 22, 2022
Feb 25, 2012
May 22, 2022
May 22, 2022

Repository files navigation

HYPERSPECTIVES 2012

hyperhorse (2012)

A collection of experiments with 3D conformal inversions. The goal is to offer unique perspectives on various aspects of what it means to be a creature living in living in space and to learn about math in the process.

Interactive demos


What's going on here?

The horse is inverse stereographically projected onto a hypersphere, rotated, and projected back again. Dragging moves the camera. Pressing the left & right arrow keys decrements and increments the rotation speed.

How does it work?

Daniel Piker’s blog posts give a great overview of this stuff.
Another big help is Moebius Transformations Revealed, which shows the 2 dimensional Moebius transformations.
It really gives an idea of what's going on in a more familiar space.
And of course Wikipedia: Stereographic projection, Möbius transformation, Isoclinic decomposition.

This GLSL code does the actual geometry work of the stereographic projection and 4 dimensional rotation. You can see that it takes two four-dimensional vectors as input. Those are the parameters for the isoclinic rotation matrices, which should each have determinants of 1 since they are rotations. So you have to be careful what you put in them! I usually generate these from a normalized quaternion representing the rotation of some dummy vector.

This basic one just shines red, green and blue lights along x, y and z respectively.

More Information

There's an amazing video series online called Dimensions Math, check it out as soon as possible.

About

Experiments with moebius transformations and non-euclidian perspectives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages