Skip to main content

FieldAnimation: animate 2D vector fields

Project description

FIELDANIMATION

FIELDANIMATION a Python package to animate 2D vector fields.

What is it?

Field Animation is a Python package for the visualization of 2D vector fields that exploits the capabilities of modern graphic cards. Vector fields are represented through particles that move along the flow lines of the field at a speed and color proportional to its modulus in an OpenGL window.

Interactive control of speed, color and number of animated particles is possible as the whole rendering process happens in the GPU in real time. A background image can be shown to add information for the interpretation of the results.

Highlights:

  • Animation parameters can be changed in real time

  • The OpenGL window can be embedded in any Python application.

Field Animation was published on SoftwareX, Volume 9, January–June 2019, Pages 211-216.

Where is the documentation?

Here!

How can I see it in action?

Field Animation comes with an example application. Run it with:

python3 -m fieldanimation.examples.app -g

NOTE:

This application example uses Pillow, imgui and glfw so please install these packages to run it:

pip3 install pillow imgui glfw

Who do I talk to?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fieldanimation-0.1.3a0.tar.gz (30.8 kB view hashes)

Uploaded Source

Built Distribution

fieldanimation-0.1.3a0-py3-none-any.whl (36.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page