I created Zillij Islamic Geometry Studio (fredini.linearlife.com/zillij/) as a tool for drawing. Traditional geometric patterning is still done with compass, ruler, pencil and paper. You sit down, place compass points, and build the pattern line by line. It takes a lot of repetition and there were no digital tools that catered to these kinds of patterns, either with precise point snapping or the ability to automate symmetrical repetition. Zillij was the software I needed but could not buy anywhere.
Following tutorials and studying with various teachers, I worked with Claude Code, to add new features every time I encountered pain points in my study of geometric patterning. But there's still a lot of painstaking work, and I had seen other geometers who were able to use mathematical graphing tools like GeoGebra to manipulate whole patterns all at once. This seemed kind of magical, but totally gear headed based on lots of mathematical equations. How could I take the work out of pattern creation and just create these mesmerising and everchanging patterns?
That's why I made PolyTiler, based on mathematical research into polygon fields and geometric patterning. Polytiler is a companion to Zillij, it runs right in your browser, and it's been my obsession. I’m moving towards generating 3D tesselated surfaces, and this is the next step in that inquiry.
Polygons in contact
What the heck is polygonal field theory? Pick any tiling of polygons, all with the same length sides and any number of sides. These can be fields made of triangles, squares, pentagons, hectoagons, octagons, decagons and so on.. On the middle of every edge, draw two lines at an angle. Let the lines run into each other inside each tile, and stars and shapes appear. When you play with that angle of incidence, magic happens and the whole pattern begins to shift. Its magic and mesmerising!
I can't fully explain how good this feels. It's part math, part kaleidoscope, it can introduce a hypnotic trance. Press play and the angle sweeps back and forth on its own while the curve breathes in and out. Go ahead and trip out. That's what it's for.
Standing on the shoulders of giants
All this would not be possible without the prior work of many others before me. For months, I have been hunting down mathematical research papers, trying to learn everything I can about how these patterns actually work. A lot of it is over my head. PolyTiler would not exist without the people who did the real work first, so some acknowledgement is in order:
Ameet Hindocha is a geometer, scholar, artist and designer who I’ve had the luck of studying with. He turned me onto the proportioning work of Tony Lee, and also Jay Bonner, arguably the main proponent of polygonal field theories on patterning, and whose book, Islamic Geometric Patterns, which was an invaluable reference for Polytiler, as well as his classification of the polygonal systems is built into this tool.
Craig Kaplan at the University of Waterloo took a classical construction and turned it into a computable method he calls "polygons in contact." PolyTiler was inspired by his YouTube talk Computer based design of Islamic geometric patterns. Lastly, Brian Galebach's tiling catalogue gave me the raw material, the comprehensive list of polygonal tilings.
1,332 tilings to start from
PolyTiler ships with every edge-to-edge tiling by regular polygons with up to six kinds of vertex. That's 1,248 of them from Brian Galebach's catalogue, plus 84 irregular tilings from the four polygonal systems that Jay Bonner identified. Browse them, filter by the shapes you like, and heart your favorites into a personal collection.
Make your own tilings
There are three ways to build your own tiling. By hand, you can place tiles edge to edge and the tool helps by telling you what fits. In the system builder, you can pick a fold and an arrangement and it generates the field. In star-first, you choose the star and it finds the tiling around it. These are great for creating non repeating compositions.
Curve it, bend it, wrap it
I’m not really into just rehashing the work of the masters who have gone before. I’m interested in pushing the artform forward with my own Fredini flair, so I’ve added some new things into the mix. Curve control is one such feature. It bends every line into a pair of arcs. Push it far enough and the hard geometry goes soft and organic, like cells under a microscope.
Image: 04-fire-curved-lines.png Caption: Same tiling, same angle, with Curve pushed to one side.
Then there's the Poincaré view, which squeezes the whole field into a circle as if under a wide angle lens.
Color, and rings inside rings
You can fill each cell with colors and have them flow and shift color, level after level, each level its own color. Color flows can be organized by rings, rosettes and shapes. Nested outlines draw concentric rings inside every closed cell. Combine fills and nested lines to get something closer to glazed tiles. There are several palettes built in, but you can customize them and make your own too. My favorites are Isfahan, Fire, Pearl and Lagoon.
Saving
Everything exports as SVG with or without the color field fills, ready for pen plotting, laser cutting or CAD modeling, or as a Zillij file you can keep editing in the original application. There's also a recorder for making video exports too.
AI for making tools not content
Like Zillij, PolyTiler was built with Claude AI as my coding partner. I'm not a programmer… at least not one capable of this complexity. Vibe coding is like being a blend of a project manager, creative director and QA tester all in one. I amke all the decisions about what the tool should do, what it feels like. I know AI is getting a bad rap these days and I think its mainly because you can’t tell what's real anymore. So, I’ve come to a position of using it to make the tools I need to make what I want, but never using it to generate the actual content.
Try it, you’ll like it!
Play with it yourself- It runs in your browser, nothing to install. Laptops, desktops and Tablets. Works on a phone too but the screen is way too small. If you make something you love, send it to me. I'd like to see what you make.
fredini.linearlife.com/zillij/polytiler