vis3dvf
Dependencies
pygamePyOpenGLPyOpenGL_accelerate
Quickstart
A simple example of a time-dependent vector field can be found in the example.py file. To quickstart this example, run:
pip install vis3dvf # installs vis3dvf (and dependencies)
git clone https://github.com/LukasDrsman/vis3dvf.git # fetches repo with example.py
cd vis3dvf
python3 example.py # runs example.py
Usage
vis3dvf.plot.Figure(window width, window height)
- Figure constructor, necessary for rendering.
- "Public" methods:
- add(plot) - adds plot object to the render que (plot object must have an implemented render() method)
- show() - creates a window and starts rendering
vis3dvf.vectorfield.VectorField(u, v, w, density)
- Static vector field plot object constructor
- Parameters:
- u = u(x,y,z) - the x component of the vector field at (x,y,z) (function)
- v = v(x,y,z) - the y component of the vector field at (x,y,z) (function)
- w = w(x,y,z) - the z component of the vector field at (x,y,z) (function)
vis3dvf.vectorfield.VectorFieldT(u, v, w, density, initial time, final time, time delta)
- Time-dependent vector field plot object constructor
- Parameters:
- u = u(x,y,z,t) - the x component of the vector field at (x,y,z) and time t (function)
- v = v(x,y,z,t) - the y component of the vector field at (x,y,z) and time t (function)
- w = w(x,y,z,t) - the z component of the vector field at (x,y,z) and time t (function)
Metadata
Release files for vis3dvf 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vis3dvf-1.0.2.tar.gz | 44.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vis3dvf-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.6 kB
Release files / vis3dvf-1.0.2.tar.gz
| Download URL | vis3dvf-1.0.2.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cbe48be0ac025df4cb9387d728710752e5b91b758c991f89369bd6c435b89000
|
|
BLAKE2b-256 checksum How to use checksums |
e87b274e9f9cec661fa4126d86c8a43eb3dcdfa543b565bdaae8d754accadf51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / vis3dvf-1.0.2-py3-none-any.whl
| Download URL | vis3dvf-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56af0ffd5e2c31ff409b1a115ccfc4be69c13dfe858f8e04f0e9f03928aaf87d
|
|
BLAKE2b-256 checksum How to use checksums |
a50840f6b4b9a901ce3e0fc500860257ea1706112a97ca496a2325f7143d8aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|