Girih Workbench: User’s Guide

Open the workbench

Girih Workbench lets you design Islamic geometric patterns the traditional way: one compass-and-straightedge step at a time. You build a scaffolding of circles and lines, draw the pattern on top of it, repeat it across the page, and color it.

1. The screen

The workbench with a design open
Tools on the left, the drawing in the middle, the construction steps on the right.

O, U and the unit length

Every design starts with two points: the center O and the unit point U. The distance from O to U is the unit length that everything else is built from. With the Select tool you can drag U to resize or turn the whole design.

2. Your first pattern

  1. Click New and choose Circle in a square. You get a circle around O with a square drawn around it.
  2. Open View and turn on Show points so you can see where lines and circles cross.
  3. Choose the Line tool. Tap two points to draw a line through them. Notice that the line is repeated around the center: that is the symmetry at work.
  4. A new step appears on the right as a draft. Adjust it if you like, then click Save (or press Enter). Drawing the next thing also saves it.
  5. Add a few more lines and circles until you have crossings where you want the pattern to go.
  6. Choose the Pattern tool and tap from point to point to draw the pattern lines. Tap the last point again to stop.
  7. Click the eye next to Scaffolding to hide the construction and see the pattern on its own.
  8. Choose Fill, pick a color, and tap inside the regions to color them.
  9. Click Save.
Not sure where to begin? Open My designs and try one of the Example designs. Step through it with the arrows in the steps panel to see how it was built.

3. The drawing tools

All drawing is done by tapping points. Points snap, so you don’t need to be exact. Tapping anywhere along a line or circle makes a new point at that spot.

ToolWhat it does
SelectTap a line, circle, point or colored region to open its step. Tap an empty region between pattern lines to start a new fill. Drag U to resize or turn the design.
LineA straight line through two points, extended across the page. Lines are scaffolding.
SegmentA straight line that stops at its two end points. Segments are scaffolding. A segment can be changed into a full line later, from its step.
CircleTwo ways to set the compass. Through a point: tap the center, then a point on the circle. Copy a length: tap two points to set the compass width, then tap the center.
PointA point you place freely on a line or circle. If you tap near a crossing, the point snaps onto it. It gets a letter (A, B, …), and you can drag it along the object it sits on.
PatternThe finished design. Tap from point to point; tap the last point again, or click Finish this line, to stop. Pattern lines are drawn as bands and close off the regions you can fill.
FillPick a color, then tap inside a region to color it.
EraseTap something to remove the step that made it, along with all its symmetric copies.

Changing your mind mid-line

If you’ve tapped the first point of a line and want to cancel, click Cancel in the bar under the drawing, press Backspace or Esc, or right-click the drawing.

4. Symmetry

Islamic patterns repeat around a center, so you only draw one slice and the workbench repeats it for you.

A pattern-line step open for editing
An open step: its instructions, a picture, the points it uses, and its symmetry. The shaded slice and the purple mirror lines show on the drawing.

5. Working with steps

The panel on the right lists the whole construction. Click a group’s heading to open or close it; Show all and Fold open and close every group.

If you delete or change a step that later steps depend on, the workbench tells you how many steps now need fixing.

6. Tiling: repeating the design

Tiling slides copies of your design across the page to make a continuous pattern.

  1. Open the Tiling group and click Pick the repeat directions.
  2. Tap two points for the first direction, then two points for the second, for example from one star center to the next. The points you can use are shown in orange: they are the ends and crossings of your pattern lines.
  3. Use Copies in each direction to choose how far the pattern spreads.

7. Fills: coloring regions

The numbered colors come from the palette you choose under Style, so changing the palette recolors the whole design.

8. Style

Style opens a side panel for the look of the finished drawing. The drawing stays visible so you can watch it change.

The Style panel beside a finished design
Style settings apply to the whole design.

9. View

View controls what you see while you work. These settings don’t change the design itself.

10. Saving and My designs

The My designs window
My designs lists what you’ve saved, with the example designs underneath.

If you start a new design or open another one with unsaved changes, the workbench asks first.

11. Export

ExportWhat you get
SVG imageA picture that stays sharp at any size and opens in design apps.
PNG imageA picture at 2,000, 4,000 or 8,000 pixels on its long side.
Illustrated stepsThe whole construction with a picture for every step, as a PDF or a web page. Good for printing and teaching.
Construction stepsThe written steps as plain text, with point names.
Design fileEverything, to open in the workbench again later.

Images show what is on screen at that moment, so zoom and pan to frame the picture first. Tick Include the scaffolding lines if you want the construction in the image.

12. Shortcuts and tips

KeyAction
Ctrl/⌘ + ZUndo
Ctrl/⌘ + Shift + ZRedo (also Ctrl + Y)
EnterSave the step you just drew
Backspace or EscCancel a line you’ve started
Shift + clickSelect several steps in the list