Mathematical visualizations are beautiful representations of technical phenomena. From the visual “perfection” of the golden spiral to the pattern generation of fractals, so many works of art can be boiled down to formulas and equations. Such is the case with N.G. de Bruijn’s medallion and frieze patterns. Given two starting values, two lines of mathematical formulae produce a recursive sequence of complex numbers. We can associate these numbers with the four cardinal directions, following the steps on a plot to produce beautiful patterns. The patterns are of two different types, the closed medallion or repeating frieze, depending on the starting values.

When you need a complex math visualization, Maple is a perfect place to go. A demonstration of medallion and frieze patterns is available in the Maple Application Center, in which you can vary the starting values and watch the outcome change, along with more detailed background information. However, there’s an even simpler way to explore this program with the help of Maple Learn. Maple Learn has the same computational power as Maple, streamlined into an easy-to-use notebook style.

Maple Learn includes many core features, and anything missing can be ported in through Maple. This is done using Maple’s DocumentTools:-Canvas package. The package contains the necessary procedures to convert Maple code into a “canvas”, which can be opened as a Maple Learn sheet. This makes the whole document look cleaner and allows for easy sharing with friends.

The medallion and frieze document, along with the additional contextual information, is now also available in Maple Learn’s Document Gallery, home to over one thousand example documents covering calculus, geometry, physics, and more.