python - How to create a layer over a surface with mayavi? -


i made program python displays animation of propagation of fire spreading in forest in 2d (the forest array):

  • no tree = 0.0
  • a tree = 1.0
  • a tree in fire = 2.0

and made surface plot mayavi, python , gdal using post (https://gis.stackexchange.com/questions/223129/dem-plot-with-matplotlib-is-too-slow).

now want know how put propagation made array (in 2d) on surface of mountain if kind of layer able move , grow on surface fire growing in forest.

i not asking algorithm can make simulation of forest fire.

i asking way create kind of layer on surface plot made.

for instance, in next photo can see red layer (the spreading fire) on surface: https://i.stack.imgur.com/rc5dt.png


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -