Geometric patterns were often used in the architecture of Islamic civilisations from the 7th century-20th century , to visually connect spirituality with science and art . Aligned with and often used in the architecture of Islamic civilations spanning the 7th century-20th century , geometric patterns were used to visually connect spirituality with science and art , both of which were key to Islamic thought of the time .