Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
dolfin
trimesh
README.md
animation1.py
animation2.py
colorpalette.py
create_logo.py 2020.0.1 Jan 8, 2020
downloading.py 1.0 Dec 19, 2019
export_numpy.py
export_x3d.py
flag_labels.py
icon.py
inset.py
makeVideo.py
menger_fractal.ipynb
menger_fractal.py 1.0 Dec 19, 2019
meshio_read.py
printc.ipynb
printc.py
pygmsh_extrude.py
qt_tabs.py
qt_tabs_ui.py
qt_window.ipynb
qt_window.py
qt_window_split.py
remesh_ACVD.py 2020.0.1 Jan 8, 2020
remesh_meshfix.py
run_all.sh 1.0 Dec 19, 2019
save_as_numpy.py
self_org_maps2d.py
self_org_maps3d.py
sierpinski.ipynb 1.0 Dec 19, 2019
sierpinski.py
spherical_harmonics1.py
spherical_harmonics2.py
tf_learn_volume.py
value-iteration.ipynb 1.0 Dec 19, 2019
value-iteration.py
voronoi3d.py 2020.0.1 Jan 8, 2020

README.md

Other examples

In this directory you will find other special examples, or examples that might need other external modules.

git clone https://github.com/marcomusy/vtkplotter-examples.git
cd vtkplotter/examples/other
python example.py  # on mac OSX try 'pythonw' instead

(click thumbnail image to get to the python script)

colorpalette
colorpalette.py
Generate a list of N colors starting from color1 to color2 in RGB or HSV space.
icon
icon.py
Make an icon image and place it in one of the 4 corners.
inset
inset.py
Generate a draggable inset rendering of a set of actors.
logosh
spherical_harmonics1.py
Expand an arbitrary closed shape in spherical harmonics using package SHTOOLS and truncate the expansion to a specific order.
makevideo
makeVideo.py
Make a video of a rotating spider (needs linux ffmpeg).
Set offscreen=True to only produce the video without any graphical window showing.
printc
printc.py
Printing in colors to the terminal.
Available colors:
0-black, 1-red, 2-green, 3-yellow, 4-blue, 5-magenta, 6-cyan, 7-white
Available modifiers:
c (foreground color), bc (background color), hidden, bold, blink, underline, dim, invert, box
som2d
self_org_maps2d.py
Self organizing maps (by N. Rougier).
maze
value-iteration.py
Solve a random maze with Markovian Decision Process (by N. Rougier).
expo
export_x3d.py
Embed a 3D scene in a webpage with x3dom.
You can’t perform that action at this time.