/pystars

A project to learn Python and the Doryen library.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PyStars

image.PNG

This is a private project for learning and exploring both Python and the Doryen library (libtcod).

PyStars uses procedural generation to render an ASCII-style star map. It also computes the positions of the planets in our solar system and renders a view either from above or from the perspective of Earth using a simple equirectangular projection.

Requirements

  • Python 3.7.3
  • python-tcod

Installation

To install python-tcod:

pip3 install tcod

To run the project:

cd pystars-master
python pystars

Keys

tab: toggle view
up/down: increase/decrease time scale
pause: pause
space: reset

References