Wolfram Language

Cloud & Web Interfaces

Create a Gallery of Polyhedra

Sometimes it is useful to visualize a large number of images at the same time.

In[1]:=
Click for copyable input
polyhedra = EntityValue[ EntityValue[Entity["Polyhedron"], "Entities"], {"Name", "Image"}];

To create a gallery of those images on the web, you can use GalleryView.

In[2]:=
Click for copyable input
CloudDeploy[GalleryView[polyhedra[[All, 2]]]]
Out[2]=

Visit the gallery yourself.

You can improve the GalleryView by adding titles.

In[3]:=
Click for copyable input
CloudDeploy[ GalleryView[<|"Title" -> #1, "Content" -> #2|> & @@@ polyhedra, AppearanceRules -> <|"Title" -> "A bunch of polyhedra"|>]]
Out[3]=

See the improved gallery.

Related Examples

de es fr ja ko pt-br ru zh