Evaluating Bokeh - How easy are 3D Wireframe Animations?

Hi Bokeh People,

MPL has an example floating around of animating a wireframe in 3D (my modified version of that sample code is attached). It just so happens that the combination of these 3 components (wireframe, 3D, animation) in one piece of code in MPL is almost exactly what we need for a project, so we used it almost verbatim. Now, we are evaluating Bokeh for our needs, and I’ve been having some trouble figuring out whether Bokeh comes with those three high-level components built-in, or whether they have to be built from lower-level primitives.

It seems that at least animations are supported, as indicated by this: http://bokeh.pydata.org/en/0.8.1/docs/user_guide/examples.html#animated-plots though this is for 0.8.1, and that example is no longer included in documentation for 0.10.0, so it’s unclear whether bokeh-server is still necessary, so my precise questions are:

  1. Is bokeh-server still necessary for animations?

  2. Is there a 3D projection primitive?

  3. Is there a wireframe plot primitive?

Thanks!

wire3d_animation_demo.py (729 Bytes)

  1. bokeh-server is not
    necessary for animations, but its eas y
    to code with it

           2) 3D - no
    
                               3) wireframe - I don't know
    

what this is - I don’t think so though

                  seems like MPL is going to work for you.
···

On 11/10/15 11:14 PM,
wrote:

[email protected]

Hi Bokeh People,

      MPL has an example floating around of animating a

wireframe in 3D (my modified version of that sample code is
attached). It just so happens that the combination of these 3
components (wireframe, 3D, animation) in one piece of code in
MPL is almost exactly what we need for a project, so we used
it almost verbatim. Now, we are evaluating Bokeh for our
needs, and I’ve been having some trouble figuring out whether
Bokeh comes with those three high-level components built-in,
or whether they have to be built from lower-level primitives.

      It seems that at least animations are supported, as

indicated by this:
though this is for 0.8.1, and that example is no longer
included in documentation for 0.10.0, so it’s unclear whether
bokeh-server is still necessary, so my precise questions are:

  1. Is bokeh-server still necessary for animations?
  1. Is there a 3D projection primitive?
  1. Is there a wireframe plot primitive?

Thanks!

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected].

  To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/a7796a6c-d8a4-45b2-8a5c-0b86535fd025%40continuum.io?utm_medium=email&utm_source=footer)      .

For more options, visit .

http://bokeh.pydata.org/en/0.8.1/docs/user_guide/examples.html#animated-plotshttps://groups.google.com/a/continuum.io/d/msgid/bokeh/a7796a6c-d8a4-45b2-8a5c-0b86535fd025%40continuum.io
https://groups.google.com/a/continuum.io/d/optout

Yuri,

First I will say what you want to do is not impossible, but alot of of what you need is not currently "built in" to Bokeh. So it really depends on how much effort you have available able to put in, whether Bokeh would make sense. A few comments:

There is a new Bokeh server that will land in 0.11 that is much smaller, simpler, easier to use and deploy. It definitely supports streaming and animation, in fact much more efficiently since the protocol is not purely over websocket. Note that it is also possible to stream data in without the server, using AjaxDataSource objects.

Adding GIS projection support (in the client) is on our roadmap. I don't recall having discussed a 3D projection but it's not unreasonable. We have started to add initial 2D webGL support with the intention to add some level of 3D charting later. But this is a long term initiative. That said, we just added the capability for users to create their own custom, user models:

  https://github.com/bokeh/bokeh/blob/master/examples/glyphs/custom.py

This should allow everyone to experiment on lots of novel new things without having to be tied to our dev schedule, or to have things need to be "built in" all the time. So, e.g., someone could make a new "wireframe" renderer that is easy to spell and use in python just like any Bokeh glyph, and has a full BokehJS implementation to do most of the actual work.

Thanks,

Bryan

···

On Nov 11, 2015, at 5:14 AM, [email protected] wrote:

Hi Bokeh People,

  MPL has an example floating around of animating a wireframe in 3D (my modified version of that sample code is attached). It just so happens that the combination of these 3 components (wireframe, 3D, animation) in one piece of code in MPL is almost exactly what we need for a project, so we used it almost verbatim. Now, we are evaluating Bokeh for our needs, and I've been having some trouble figuring out whether Bokeh comes with those three high-level components built-in, or whether they have to be built from lower-level primitives.

It seems that at least animations are supported, as indicated by this: http://bokeh.pydata.org/en/0.8.1/docs/user_guide/examples.html#animated-plots though this is for 0.8.1, and that example is no longer included in documentation for 0.10.0, so it's unclear whether bokeh-server is still necessary, so my precise questions are:

1) Is bokeh-server still necessary for animations?
2) Is there a 3D projection primitive?
3) Is there a wireframe plot primitive?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/a7796a6c-d8a4-45b2-8a5c-0b86535fd025%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<wire3d_animation_demo.py>