download_victorian_goblet_face_illusion#
- download_victorian_goblet_face_illusion(load: bool = True) PolyData | str[source]#
Download Victorian Goblet face illusion.
This is a replica of a Victorian goblet with an external profile which resembles that of a face.
- Parameters:
- Returns:
- output
pyvista.UnstructuredGridorstr DataSet or filename depending on
load.
- output
Examples#
Download Python source code | Download Jupyter notebook
>>> from pyvista import examples
>>> import pyvista as pv
>>> mesh = examples.download_victorian_goblet_face_illusion()
>>> pl = pv.Plotter(lighting='none')
>>> _ = pl.add_mesh(mesh, edge_color='gray', color='white', show_edges=True)
>>> _ = pl.add_floor('-x', color='black')
>>> pl.enable_parallel_projection()
>>> pl.show(cpos='yz')
See also
- Victorian Goblet Face Illusion Dataset
See this dataset in the Dataset Gallery for more info.