VisualPIC 0.5 (preview 2)
Pre-releaseA couple of productive coding weeks thanks to the current coronavirus "retreat" make it worth publishing another release with some brand-new features:
-
First things first: there's a new "main" image for VisualPIC!
This new render (entirely made in VisualPIC with no additional editing), apart from looking nice, showcases that now you can not only display fields in 3D but also... -
... particles! Yes, now the
ParticleSpecies
can also be shown along volumetric fields. This has been implemented using the efficientvtkOpenGLSphereMapper
, which allows displaying millions of particles as spheres with a high framerate even in a conventional laptop. Each of these particles can have individual size and color, allowing for a high tunability of the appearance of each species. The visual properties of the displayed species can be interactively modified in the GUI as well as in the code.
-
There is now a new example which showcases the basics of particle rendering.
-
The size of the 3D render can now be scaled along any direction (thanks @delaossa for the suggestion!). This can be seen in the new example, where the particle beam is stretched along
z
. -
pyvista
has now been added as a requirement. This simplifies the implementation ofvtk
components, but whether it is truly needed will be reevaluated before finally releasingv0.5
. -
The implementation of the internal normalization applied by VisualPIC to scale the dimensions of 3D fields and particles from the original units to
vtk
units has been changed. -
As always, several bug fixes and changes here and there.