Using mathematics for construction and analysis of quasicrystal structures is a difficult task for most experimentalists. Computer modeling, based on the existing theories of quasicrystals, however, greatly facilitated this task. Advanced programs have been developed allowing one to construct, visualize and analyze quasicrystal structures and their diffraction patterns. The aperiodic nature of quasicrystals can also make theoretical studies of physical properties, such as electronic structure, difficult due to the inapplicability of Bloch's theorem. However, spectra of quasicrystals can still be computed with error control.