A Bokeh implementation of Conway's Game of Life

Hi

Wondering if there was a good example implementation of Conways game of Life using Bokeh to practise with? Google search keeps returning numpy and matplotlib such as these GitHub - thearn/game-of-life: Simple Python implementation of Conway's game of life and other cellular automata, computed using numpy.fft and many others.

Would prefer to use Bokeh then invest my time in Matplotlib, since Bokeh clearly the future.

If not I will give it a go, just prefer to copy on the first learn and then re-implement differently once working.

Cheers

Sayth

Hi,

···

On Mon, May 2, 2016 at 5:25 AM, Sayth [email protected] wrote:

Hi

Wondering if there was a good example implementation of Conways game of Life using Bokeh to practise with? Google search keeps returning numpy and matplotlib such as these https://github.com/thearn/game-of-life and many others.

Would prefer to use Bokeh then invest my time in Matplotlib, since Bokeh clearly the future.

If not I will give it a go, just prefer to copy on the first learn and then re-implement differently once working.

I’m not aware of any implementation, so I hacked this one https://gist.github.com/mattpap/e553df314c6091fb10955f8466822e1e (reusing logic from the given repo). It uses bokeh server to allow continuous updates in a web browser. There are other possibilities as well, by creating non-server version or using directly bokehjs (0.12dev).

Mateusz

Cheers

Sayth

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/484b7235-e0da-44a7-b7b1-765eb92a4371%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

I like that Bokeh really doesn’t get in the way at all its readable and clear.

Thanks
Sayth

···

On Mon, May 2, 2016 at 5:25 AM, Sayth [email protected] wrote:

Hi

Wondering if there was a good example implementation of Conways game of Life using Bokeh to practise with? Google search keeps returning numpy and matplotlib such as these https://github.com/thearn/game-of-life and many others.

Would prefer to use Bokeh then invest my time in Matplotlib, since Bokeh clearly the future.

If not I will give it a go, just prefer to copy on the first learn and then re-implement differently once working.

I’m not aware of any implementation, so I hacked this one https://gist.github.com/mattpap/e553df314c6091fb10955f8466822e1e (reusing logic from the given repo). It uses bokeh server to allow continuous updates in a web browser. There are other possibilities as well, by creating non-server version or using directly bokehjs (0.12dev).

Mateusz

Cheers

Sayth

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/484b7235-e0da-44a7-b7b1-765eb92a4371%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.