https://github.com/calebmadrigal/truthygraph.py
A starting point for doing art with math and Python.
https://github.com/calebmadrigal/truthygraph.py
Last synced: 5 months ago
JSON representation
A starting point for doing art with math and Python.
- Host: GitHub
- URL: https://github.com/calebmadrigal/truthygraph.py
- Owner: calebmadrigal
- Created: 2025-05-16T14:31:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-05-16T18:45:03.000Z (8 months ago)
- Last Synced: 2025-05-16T19:44:28.991Z (8 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# truthygraph.py
Truthygraph is a self-contained math equation graphing script, which graphs not only where an equation is true, but also where it is nearly true (the error gradient of the function).
Truthygraph is intended as a starting point for doing art using math and code. The recommended way to use it is to copy the `truthygraph.py` script to a new file name, and modify it. Truthygraph is the fundamental starting point that Caleb Madrigal uses for doing art at .
## Usage
pip install pillow
cp truthygraph.py my_equation.py
# Modify the equation() function to some equation you want to graph
python my_equation.py
## License
You are free to copy `truthygraph.py` as a starting point for doing your own art, or graphing equations, or whatever else you want. If you do use truthygraph to do art, or as a starting point for other software, giving credit is appreciated, but not required.