Two Mathematicians
BY MA · 2022 · Factory
This project explores the highly mathematical world of Islamic geometric patterns. Islamic design is one of the world's great artistic traditions, but not much is known about the methods used by artisans in centuries past to construct them. One of the first attempts to formalize the geometry behind Islamic patterns was E.H. Hankin's seminal 1908 paper "Polygons in Contact", which remains a key technique today. Our project combines the approach described by Hankin with transformations of designs found at real-world historical sites. Two Mathematicians avoids traditional ornamentation and colouring. It seeks to find beauty in the geometry of the patterns themselves, embellishing only with subtle combinations of basic line and dot shapes. Its two archetypes contrast the precision and order found in Islamic patterns with the informality of a rough draft. In that, it reflects the personalities of its creators, alternating between the obsessive need for order and exactness, and the embrace of just winging it. Controls: - Zoom in or out with scroll wheel, or arrow up/down. - Press 'i' to see the underlying structure.
How it works
The core is the tiling of Islamic geometric patterns. It defines polygonal tiles based on real masterworks of architecture such as the Mosque of Cordoba and the Cappella Palatina, calculates angles from the midpoint of each edge and draws lines to meet one another (the Hankin method of contacting polygons), composing star forms and interlace (woven) patterns. These are laid out across a grid to fill the screen. Furthermore it swells the lines into thick bands, outlines them with hand-drawn-looking Bézier curves (spline) that have roughjs-like wobble, and fills them with hatching and dots. The hash decides the type of pattern, the angles, the fill pattern and the colour scheme, reproducing the craftsman's drafting method through mathematics to produce a different Islamic pattern for each piece.
Palette
#2a2a2a#dddddd#f5f2e3#999999#e26d5a#386641#0353a4#754db6#ffd400#fdc5f5#010204#020400#020304#070809#020001#000102 #453d44#dbd3d7#c0beb3#e3dfd5#f8f5e5#98978f#7a7973#272827 Algorithms
- Plotter-style Hatching · classification: rule-based
- Bezier / Catmull-Rom Splines primary · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16