Escape from boxland: Generating a library of high-dimensional geometric shapes

Barret Schloerke, Hadley Wickham, Dianne Cook, Heike Hofmann

Research output: Contribution to journalArticleResearchpeer-review


A library of common geometric shapes can be used to train our brains for understanding data structure in high-dimensional Euclidean space. This article describes the methods for producing cubes, spheres, simplexes, and tori in multiple dimensions. It also describes new ways to define and generate high-dimensional tori. The algorithms are described, critical code chunks are given, and a large collection of generated data are provided. These are available in the R package geozoo, and selected movies and images, are available on the GeoZoo web site (

Original languageEnglish
Pages (from-to)243-257
Number of pages15
JournalThe R Journal
Issue number2
Publication statusPublished - Dec 2016

Cite this