Josephbakulikira / Stereographic-projection-pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stereographic-projection-pygame

Support

checkout my youtube Channel : 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

License:MIT License


Languages

Language:Python 100.0%