Skip to content

NitroGuy10/Cool-Curses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cool-Curses

Fun graphical demos in the terminal with Curses.

"python3 main.py balls" demo

Written in Python for no reason other than convenience.

Usage

Clone the repository and make sure you have Python 3 installed.

If you're on Windows, install windows-curses (tested with version 2.3.1):

pip3 install windows-curses

NOTE: The speed of these demos has been found to vary GREATLY from environment to environment. In general, they seem to run fast on MacOS, decently in WSL, and very slowly on Windows.

Run a demo using one of the following commands (on windows, use "py" instead of "python3"):

python3 main.py balls
python3 main.py balls auto
python3 main.py spiral
python3 main.py spiral_sand

My favorite is "python3 main.py balls". You can control the direction of gravity using the arrow keys. I use it like a fidget toy when I'm bored in class. :)

Also "screen.py" is a helper class I use for simplifying the curses workflow as well as storing the screen in a 2x2 list (useful for things like "spiral_sand").

About

Fun graphical demos in the terminal with Curses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages