cliifs
Command Line Interface Iterated Function Systems
Render and view fractals, using the chaos game, from iterated functions systems right on your terminal.
Screenshots
Installation
Install via pip with pip install cliifs or download the appropriate binary from releases
How To Use
cliifs reads in a plaintext file that contains the univariate linear functions you wish to use for your IFS.
The first line must begin with either 1D or 2D.
The following lines each represent the coefficients of linear equations, and you may add as many as you like.
See below for specifics on how to write these files.
See the included examples for more details.
Invocation example
To render the IFS stored in a file called exampleFile, simply cd into the directory that contains exampleFile and run:
cliifs exampleFile
To render, with animation and color, runthe command:
cliifs exampleFile -c -a
Flags
cliifs accepts the following flags
-hfor help.-cto render in random colors.-i Nto render using N iterations.-ato animate.-d Dto delay each frame by D milliseconds if animating.-m Mto set the collection of markers to be used at random.
1 Dimensional Systems
One dimensional systems are given as a test file whose first line reads simply 1D.
Each subsequent line has the form a b which represents the function f(x) = ax+b.
For example, the Cantor set, generated by f(x) = x/3+0 and g(x) = x/3+2/3, would be given as a text file with the following lines:
1D
0.333 0
0.333 0.666
2 Dimensional Systems
Two dimensional systems are given as a test file whose first line reads simply 2D.
Each subsequent line has the form a1 b1 a2 b2 c1 c2 which represents the vector function f(v) = Av+b.
In this function, A is the matrix with rows {a1, b1} and {a2, b2}, b is the vector {c1, c2} and v is the position vector {x,y}.
For example, the Sierpinski Gasket, generated by f(x,y) = (0.5x+0y, 0x+0.5y)+(0,0), g(x,y) = (0.5x+0y,0x+0.5y)+(0.5,0),
and h(x,y) = (0.5x+0y,0x+0.5y)+(0.25,0.5) would be given as a text file with the following lines:
2D
0.5 0 0 0.5 0 0
0.5 0 0 0.5 0.5 0
0.5 0 0 0.5 0.25 0.5
Metadata
Release files for cliifs 0.61
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cliifs-0.61.tar.gz | 5.2 kB | Without provenance | Details for cliifs-0.61.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cliifs-0.61-py3-none-any.whl | Python 3 | none | any | Details for cliifs-0.61-py3-none-any.whl |
Total release size: 23.9 kB
Release files / cliifs-0.61.tar.gz
| Download URL | cliifs-0.61.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b873696d337b442e42a31d6fa36be10addf865fb756f4284aeb6430135aa5a42
|
|
BLAKE2b-256 checksum How to use checksums |
9fb6c72bf8d9e07a47b7c02d8ef9d93e25f1fbe7cc942235e50239f89689bc3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / cliifs-0.61-py3-none-any.whl
| Download URL | cliifs-0.61-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d14cee6cecdcb235a3b09ebd031a6baaf32734e4735389c1c82be90df8dfe4a8
|
|
BLAKE2b-256 checksum How to use checksums |
5eb4d97242d6b631b1f4fb51871215abf925ca94363a542b1a1e9f55f3c468f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for cliifs 0.61
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.