The merging of math in art and art in math is an idea of antiquity that has become radically popularized over the last couple years with the improvement of technological machinery. Ancient peoples of Greek and Babylon tradition used mathematical sciences to improve not only the structure of their architecture, but also the aesthetic appeal. The Greek construction of temples was something that used precise angles to maximize the stability of the structure, ensuring that it would be lasting. Even now, thousands of years after the construction of the first temples, many structures remain standing, almost perfectly intact, despite the wear and tear caused by severe weather and heavy human traffic during religious ceremony. The Babylonians likewise used mathematical means to maximize the space and load bearing capacity of the palace at Babylon. The Queen Semiramis and Nebuchadnezzar were said to have commissioned the building of the hanging gardens, and did so using the idea of maximizing efficiency of space through squares. The structure was supposedly built up by constructing square upon square in decreasing size from top to bottom, as displayed in this reconstruction:
Also utilizing science and technology, the architects were able to irrigate the gardens by using water lifted from the Euphrates River.