pyvista.examples.downloads.download_victorian_goblet_face_illusion

pyvista.examples.downloads.download_victorian_goblet_face_illusion#

download_victorian_goblet_face_illusion(load=True)[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:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
pyvista.UnstructuredGrid or str

DataSet or filename depending on load.

Examples

>>> from pyvista import examples
>>> import pyvista as pv
>>> mesh = examples.download_victorian_goblet_face_illusion()
>>> plotter = pv.Plotter(lighting='none')
>>> _ = plotter.add_mesh(
...     mesh, edge_color='gray', color='white', show_edges=True
... )
>>> _ = plotter.add_floor('-x', color='black')
>>> plotter.enable_parallel_projection()
>>> plotter.show(cpos='yz')
../../../_images/pyvista-examples-downloads-download_victorian_goblet_face_illusion-1_00_00.png

See also

Victorian Goblet Face Illusion Dataset

See this dataset in the Dataset Gallery for more info.