Terminal Oscilloscope Art - Bringing beautiful, animated curves to the command line
Project description
termoscart
A CLI tool to draw beautiful (animated) curves in the terminal.
Created with
termoscart -r 5000 -l bright-cyan -b black -f 1 -g bright-green lissajous -a 6 -b 7
Usage
usage: termoscart [-h] [--settings] [-p <seconds>] [-r <res>]
[-R <width/height>] [-s <char>] [-l <color>] [-b <color>]
[-g <color>] [-G] [-f <frame>]
{lissajous,lissajous2,sine} ...
positional arguments:
{lissajous,lissajous2,sine}
optional arguments:
-h, --help show this help message and exit
--settings shows information about the rect-ratio and colors
(default: False)
-p <seconds>, --period <seconds>
time in seconds, until the figure finishes 1 cycle
(f=1/T) (default: 3)
-r <res>, --resolution <res>
delta between two points (default: 100)
-R <width/height>, --rect-ratio <width/height>
ratio of width/height (depending on the font, needed
that a circle appears like a circle and not like an
ellipse) (default: 0.5)
-s <char>, --symbol <char>
symbol for the curve (default: '#')
-l <color>, --line-color <color>
color of the curve (default: None)
-b <color>, --background-color <color>
color of the background (default: None)
-g <color>, --grid-color <color>
color of the grid (default: None)
-G, --grid enables grid (default: False)
-f <frame>, --frame <frame>
shows the curve at a certain frame without animation,
value must be between -1 and 1 (default: None)
LISSAJOUS
usage: termoscart lissajous [-h] [-a <a>] [-b <b>]
x(t, d) = sin(a*t + d), y(t) = sin(b*t)
optional arguments:
-h, --help show this help message and exit
-a <a> a in the ratio 'a/b' (default: 2)
-b <b> b in the ratio 'a/b' (default: 3)
LISSAJOUS2
usage: termoscart lissajous2 [-h] [-b <b>] [-n <n>]
x(t, a) = sin(a*t + d), y(t) = sin(b*t), increase the ratio 'a/b' from 0 to n
optional arguments:
-h, --help show this help message and exit
-b <b> b in the ratio 'a/b', defines the number of waves (default: 4)
-n <n> end for ratio 'a/b' (default: 1)
SINE
usage: termoscart sine [-h] [-A <A>] [-f <f>]
x(t) = t, y(t) = A*sin(2*pi*f*t)
optional arguments:
-h, --help show this help message and exit
-A <A> amplitude A (default: 1)
-f <f> frequency f (default: 1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termoscart-0.1.2.tar.gz.
File metadata
- Download URL: termoscart-0.1.2.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fd8c182e7290e34a12d1058a68160df408457f027ff4dc050ee4a2356527f71
|
|
| MD5 |
d43d4195037d159aabb6b9773c7ef8b7
|
|
| BLAKE2b-256 |
8dd3d652c68290cca2c6540fcfd63b3d8626e31ead5743e21ca0845cb8d6e386
|
Provenance
The following attestation bundles were made for termoscart-0.1.2.tar.gz:
Publisher:
cd.yml on kvnglb/termoscart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termoscart-0.1.2.tar.gz -
Subject digest:
5fd8c182e7290e34a12d1058a68160df408457f027ff4dc050ee4a2356527f71 - Sigstore transparency entry: 186847091
- Sigstore integration time:
-
Permalink:
kvnglb/termoscart@c62569c92ca5bd7e21a6d0710de73f61152040ab -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kvnglb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@c62569c92ca5bd7e21a6d0710de73f61152040ab -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file termoscart-0.1.2-py3-none-any.whl.
File metadata
- Download URL: termoscart-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dee0e4ecaedecb812b228e01ea7abcda087ccd46c6eac9eabadd309e205cc6bb
|
|
| MD5 |
ed19d577804b11b4a53c9a56575b8ff1
|
|
| BLAKE2b-256 |
2adeab0d41ea8d56281dd1eb2ee6b4f1926cf863757d30a5303095cf7211bb69
|
Provenance
The following attestation bundles were made for termoscart-0.1.2-py3-none-any.whl:
Publisher:
cd.yml on kvnglb/termoscart
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
termoscart-0.1.2-py3-none-any.whl -
Subject digest:
dee0e4ecaedecb812b228e01ea7abcda087ccd46c6eac9eabadd309e205cc6bb - Sigstore transparency entry: 186847092
- Sigstore integration time:
-
Permalink:
kvnglb/termoscart@c62569c92ca5bd7e21a6d0710de73f61152040ab -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kvnglb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@c62569c92ca5bd7e21a6d0710de73f61152040ab -
Trigger Event:
workflow_dispatch
-
Statement type: