Hi all,
I wanted to share a figure I created in Plotly Dash using a graph objects Heatmap and a streamplot borrowed from matplotlib. The field components are expressed in polar coordinates and the figure is a bit of a hack as Heatmap only accepts Cartesian. Really I want a polar colour map as this would better show the singularity at the origin.
Isotropic Stokes Flow
I made the figure as a proof of concept for interactive vector field exploration early in my project lifecycle. The research problem I’m working on involves fluid anisotropy and microswimmers so the governing equations will be more complex and there will be more parameters to tweak when I develop a multipage app in a few months.
It’s a little slow to render as but I think there’s quite a bit of scope to optimise performance.
I’m happy to share code snippets if people are interested but I can’t share all the source code yet as the repo is private and a work in progress.
I’d be keen to hear what people think.
All the best,
Ian