Closed TomNicholas closed 4 years ago
I noticed that if I create an isosurface I can then alter it with
list(plot.objects)[0].scalar_field = new_scalar_field
If I created a data object which changed in response to an external widget, would this be a good way to animate 3D plots? Or would it likely be too slow?
Oh in this example there is a widget to update the plot, so presumably I can do something similar even without invoking VTK?
Dear Tom,
We have basically two possibilities:
But - the point is that not all objects accept timeseries. Look into code e.g. l
Thus for your case I would suggest:
If you send me more information on the dataset or example notebook, I can give you some more specific advices.
Thanks for explanation @marcinofulus !
Ideally I would like the simplest interoperability possible between the animate widget and the K3D plot, so I guess what I should do is wait for #191 to be closed (is there a corresponding pull request anywhere which I could check out?), and have a go with that first.
All of those scenarios are the same simple or complex, but they are different.
2.7.2 is out so plot.auto_rendering = False
works now.
@TomNicholas - can we close this?
Yes - I'll reopen when I have more specific difficulties.
On Thu, 26 Mar 2020 at 12:27, tgandor notifications@github.com wrote:
@TomNicholas https://github.com/TomNicholas - can we close this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/K3D-tools/K3D-jupyter/issues/200#issuecomment-604401425, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISNPIZJGIDD7TAL7XJ32X3RJNCZJANCNFSM4KN2HATQ .
-- Thomas Nicholas (he/him) | PhD Student | Computational plasma physics for nuclear fusion University of York | Based at Culham Centre for Fusion Energy http://www.ccfe.ac.uk/ (D3/2.15) GitHub https://github.com/TomNicholas | LinkedIn https://www.linkedin.com/in/tom-nicholas/
is there an example where we can move the camera and fetch some snapshots, offline ?
Is there a way to animate data? Even just with some kind of callback to an external function which resupplies the new data for the next timestep?