Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskaliert680/tofuparametricvisualizer
A visualizer for parametric curves in R2!
https://github.com/eskaliert680/tofuparametricvisualizer
calculus curves-animation parametric tkinter-gui turtle-graphics
Last synced: 13 days ago
JSON representation
A visualizer for parametric curves in R2!
- Host: GitHub
- URL: https://github.com/eskaliert680/tofuparametricvisualizer
- Owner: eskaliert680
- License: other
- Created: 2024-11-02T06:49:23.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T17:41:10.000Z (2 months ago)
- Last Synced: 2024-12-19T15:11:18.795Z (18 days ago)
- Topics: calculus, curves-animation, parametric, tkinter-gui, turtle-graphics
- Language: Python
- Homepage:
- Size: 149 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Logo](static/tofu.png)
# Tofu Parametric VisualizerA visualizer for parametric curves in R2.
## Run Locally
Clone the project
```bash
git clone https://github.com/letlovewin/tofuparametricvisualizer.git
```Go to the project directory
```bash
cd tofuparametricvisualizer
```From here you may need to install Python3, Tkinter, ttkthemes, and SymPy.
```bash
sudo apt install python3
sudo apt install python3-tk
sudo apt install python3-ttkthemes
sudo apt install python3-sympy
```Finally,
```bash
./run.sh
```## Usage/Examples
SymPy functions are supported, e.g., sin(t), besselj(1,t), etc.
Suppose you wanted to plot the curve C : (cos(t),sin(t)) over the interval [0,2pi]. It would look like this in the program:
![Circle Parametric Curve](static/circle_screenshot.png)
The automatic scaling factor checkbox gives your curve an automatic multiplier that makes it appear larger. Not all functions work with this, as it works by finding the minimum and maximum of the functions you give and then doing some algebra on it. If your function isn't differentiable or SymPy otherwise can't find extrema over it for some reason, your drawing may not work. If that's the case, just turn off that setting and multiply it by some scalar and you should be fine.
## Screenshots
![Flower & Circle Polar Curves](static/example_screenshot_1.png)