PyWaveCLI is a python-based CLI application that allows for mathematical plotting in the terminal. It is stable and functional but currently under very heavy development. All one-variable continuous functions seem to be working.
-
PyWaveCLI depends on Blessed, which you can install with the command
pip install blessed -
The terminal emulator Alacritty is highly recommended due to its formidable speed.
Clone this repo with:
git clone https://github.com/FrickTown/PyWaveCLI/ && cd PyWaveCLI
After this you can run the program with
python main.py
To edit the example waves, take a look at the example.py module.
A wave can be added by copying one of the lines preceeding with term.graphspaces[0].addWave and modifying it.
If you wish to understand further, I've documented the code a little bit to help you.
- Blessed
- Alacritty
- StackOverflow user Ohan for his answer on how to speed up the eval function
