dragen1860 / Stereographic-Projection-PyGame

Stereographic Projection Visualization using Numpy

Repository from Github https://github.comdragen1860/Stereographic-Projection-PyGameRepository from Github https://github.comdragen1860/Stereographic-Projection-PyGame

Stereographic-projection-pygame

Support

Video for underlying theory : Complex Analysis
Video describing the code : Auctux

simple stereographic projection with python

Requirements

pygame : pip install pygame

numpy : pip install numpy

COMMANDS


  • ESC close the window
  • SPACE toggle UI panel
  • hold Mouse left Button down and move the mouse to rotate The sphere
  • Press S to toggle transition animation from sphere to projection
  • Press I to toggle transiton animation from projection to sphere (Inverse)

issues & Bugs

  • This code need a lot of optimization
  • Some refactoring
  • maybe also implementing Quaternions can help

Screenshot (404) Screenshot (407) Screenshot (394) Screenshot (393) Screenshot (392) Screenshot (399) Screenshot (398) Screenshot (397)

About

Stereographic Projection Visualization using Numpy

License:MIT License


Languages

Language:Python 100.0%