# Moiré pattern

In mathematics, physics, and art, moiré patterns (UK: /ˈmwɑːr/ MWAR-ay, US: /mwɑːˈr/ mwar-AY,[1] French: [mwaʁe] ()) or moiré fringes[2] are large-scale interference patterns that can be produced when an opaque ruled pattern with transparent gaps is overlaid on another similar pattern. For the moiré interference pattern to appear, the two patterns must not be completely identical, but rather e.g. displaced, rotated or have slightly different pitch.

A moiré pattern, formed by two sets of parallel lines, one set inclined at an angle of 5° to the other
The fine lines that make up the sky in this image create moiré patterns when shown at some resolutions for the same reason that photographs of televisions exhibit moiré patterns: the lines are not absolutely level.

Moiré patterns appear in many different situations. In printing, the printed pattern of dots can interfere with the image. In television and digital photography, a pattern on an object being photographed can interfere with the shape of the light sensors to generate unwanted artifacts. They are also sometimes created deliberately – in micrometers they are used to amplify the effects of very small movements.

In physics, its manifestation is the beat phenomenon that occurs in many wave interference conditions.

## Etymology

The term originates from moire (moiré in its French adjectival form), a type of textile, traditionally of silk but now also of cotton or synthetic fiber, with a rippled or "watered" appearance. Moire, or "watered textile", is made by pressing two layers of the textile when wet. The similar but imperfect spacing of the threads creates a characteristic pattern which remains after the fabric dries.

In French, the adjective moiré (in use since at least 1823) derives from the earlier verb moirer, "to produce a watered textile by weaving or pressing". Moirer, in turn, is a variation of the word mouaire which is an adoption of the English mohair (in use since at least 1570). Mohair comes from the Arabic mukhayyar (مُخَيَّر, lit. "chosen"), a cloth made from the wool of the Angora goat. Mukhayyar (مُخَيَّر) descends from khayyara (خيّر, lit. "he chose"). "Chosen" is meant in the sense of "a choice, or excellent, cloth". It has also been suggested that the Arabic word was formed from the Latin marmoreus, meaning "like marble".

By 1660 (in the writings of Samuel Pepys), moire (or moyre) had been adopted in English. Moire (pronounced "mwar") and moiré (pronounced "mwar-ay") are now used somewhat interchangeably in English, though moire is more often used for the cloth and moiré for the pattern.

In the liquid crystal display industry, moiré is often referred to by the Japanese word mura, which roughly translates to "unevenness; irregularity; lack of uniformity; nonuniformity; inequality."[3]

## Pattern formation

Moiré patterns are often an artifact of images produced by various digital imaging and computer graphics techniques, for example when scanning a halftone picture or ray tracing a checkered plane (the latter being a special case of aliasing, due to undersampling a fine regular pattern).[4] This can be overcome in texture mapping through the use of mipmapping and anisotropic filtering.

The drawing on the upper right shows a moiré pattern. The lines could represent fibers in moiré silk, or lines drawn on paper or on a computer screen. The nonlinear interaction of the optical patterns of lines creates a real and visible pattern of roughly parallel dark and light bands, the moiré pattern, superimposed on the lines.[5]

The moiré effect also occurs between overlapping transparent objects.[6] For example, an invisible phase mask is made of a transparent polymer with a wavy thickness profile. As light shines through two overlaid masks of similar phase patterns, a broad moiré pattern occurs on a screen some distance away. This phase moiré effect and the classical moiré effect from opaque lines are two ends of a continuous spectrum in optics, which is called the universal moiré effect. The phase moiré effect is the basis for a type of broadband interferometer in x-ray and particle wave applications. It also provides a way to reveal hidden patterns in invisible layers.

### Line moiré

Line moiré is one type of moiré pattern; a pattern that appears when superposing two transparent layers containing correlated opaque patterns. Line moiré is the case when the superposed patterns comprise straight or curved lines. When moving the layer patterns, the moiré patterns transform or move at a faster speed. This effect is called optical moiré speedup.

More complex line moiré patterns are created if the lines are curved or not exactly parallel.

### Shape moiré

Shape moiré is one type of moiré pattern demonstrating the phenomenon of moiré magnification.[7][8] 1D shape moiré is the particular simplified case of 2D shape moiré. One-dimensional patterns may appear when superimposing an opaque layer containing tiny horizontal transparent lines on top of a layer containing a complex shape which is periodically repeating along the vertical axis.

Moiré patterns revealing complex shapes, or sequences of symbols embedded in one of the layers (in form of periodically repeated compressed shapes) are created with shape moiré, otherwise called band moiré patterns. One of the most important properties of shape moiré is its ability to magnify tiny shapes along either one or both axes, that is, stretching. A common 2D example of moiré magnification occurs when viewing a chain-link fence through a second chain-link fence of identical design. The fine structure of the design is visible even at great distances.

## Calculations

### Moiré of parallel patterns

#### Geometrical approach

The patterns are superimposed in the mid-width of the figure
Moiré obtained by the superimposition of two similar patterns rotated by an angle α

Consider two patterns made of parallel and equidistant lines, e.g., vertical lines. The step of the first pattern is p, the step of the second is p + δp, with 0 < δp < p.

If the lines of the patterns are superimposed at the left of the figure, the shift between the lines increase when going to the right. After a given number of lines, the patterns are opposed: the lines of the second pattern are between the lines of the first pattern. If we look from a far distance, we have the feeling of pale zones when the lines are superimposed (there is white between the lines), and of dark zones when the lines are "opposed".

The middle of the first dark zone is when the shift is equal to p/2. The nth line of the second pattern is shifted by n δp compared to the nth line of the first network. The middle of the first dark zone thus corresponds to

${\displaystyle n\cdot \delta p={\frac {p}{2}}}$

that is

${\displaystyle n={\frac {p}{2\delta p}}.}$

The distance d between the middle of a pale zone and a dark zone is

${\displaystyle d=n\cdot (p+\delta p)={\frac {p^{2}}{2\delta p}}+{\frac {p}{2}}}$

the distance between the middle of two dark zones, which is also the distance between two pale zones, is

${\displaystyle 2d={\frac {p^{2}}{\delta p}}+p}$

From this formula, we can see that:

• the bigger the step, the bigger the distance between the pale and dark zones;
• the bigger the discrepancy δp, the closer the dark and pale zones; a great spacing between dark and pale zones mean that the patterns have very close steps.

The principle of the moiré is similar to the Vernier scale.

#### Mathematical function approach

The essence of the moiré effect is the (mainly visual) perception of a distinctly different third pattern which is caused by inexact superimposition of two similar patterns. The mathematical representation of these patterns is not trivially obtained and can seem somewhat arbitrary. In this section we shall give a mathematical example of two parallel patterns whose superimposition forms a moiré pattern, and show one way (of many possible ways) these patterns and the moiré effect can be rendered mathematically.

The visibility of these patterns is dependent on the medium or substrate in which they appear, and these may be opaque (as for example on paper) or transparent (as for example in plastic film). For purposes of discussion we shall assume the two primary patterns are each printed in greyscale ink on a white sheet, where the opacity (e.g., shade of grey) of the "printed" part is given by a value between 0 (white) and 1 (black) inclusive, with 1/2 representing neutral grey. Any value less than 0 or greater than 1 using this grey scale is essentially "unprintable".

We shall also choose to represent the opacity of the pattern resulting from printing one pattern atop the other at a given point on the paper as the average (i.e. the arithmetic mean) of each pattern's opacity at that position, which is half their sum, and, as calculated, does not exceed 1. (This choice is not unique. Any other method to combine the functions that satisfies keeping the resultant function value within the bounds [0,1] will also serve; arithmetic averaging has the virtue of simplicity—with hopefully minimal damage to one's concepts of the printmaking process.)

We now consider the "printing" superimposition of two almost similar, sinusoidally varying, grey-scale patterns to show how they produce a moiré effect in first printing one pattern on the paper, and then printing the other pattern over the first, keeping their coordinate axes in register. We represent the grey intensity in each pattern by a positive opacity function of distance along a fixed direction (say, the x-coordinate) in the paper plane, in the form

${\displaystyle f={\frac {1+\sin(kx)}{2}}}$

where the presence of 1 keeps the function positive definite, and the division by 2 prevents function values greater than 1.

The quantity k represents the periodic variation (i.e., spatial frequency) of the pattern's grey intensity, measured as the number of intensity cycles per unit distance. Since the sine function is cyclic over argument changes of , the distance increment Δx per intensity cycle (the wavelength) obtains when k Δx = 2π, or Δx = /k.

Consider now two such patterns, where one has a slightly different periodic variation from the other:

{\displaystyle {\begin{aligned}f_{1}&={\frac {1+\sin(k_{1}x)}{2}}\\[4pt]f_{2}&={\frac {1+\sin(k_{2}x)}{2}}\end{aligned}}}

such that k1k2.

The average of these two functions, representing the superimposed printed image, evaluates as follows:

{\displaystyle {\begin{aligned}f_{3}&={\frac {f_{1}+f_{2}}{2}}\\[5pt]&={\frac {1}{2}}+{\frac {\sin(k_{1}x)+\sin(k_{2}x)}{4}}\\[5pt]&={\frac {1+\sin(Ax)\cos(Bx)}{2}}\end{aligned}}}

where it is easily shown that

${\displaystyle A={\frac {k_{1}+k_{2}}{2}}}$

and

${\displaystyle B={\frac {k_{1}-k_{2}}{2}}.}$

This function average, f3, clearly lies in the range [0,1]. Since the periodic variation A is the average of and therefore close to k1 and k2, the moiré effect is distinctively demonstrated by the sinusoidal envelope "beat" function cos(Bx), whose periodic variation is half the difference of the periodic variations k1 and k2 (and evidently much lower in frequency).

Other one-dimensional moiré effects include the classic beat frequency tone which is heard when two pure notes of almost identical pitch are sounded simultaneously. This is an acoustic version of the moiré effect in the one dimension of time: the original two notes are still present—but the listener's perception is of two pitches that are the average of and half the difference of the frequencies of the two notes. Aliasing in sampling of time-varying signals also belongs to this moiré paradigm.

### Rotated patterns

Consider two patterns with the same step p, but the second pattern is rotated by an angle α. Seen from afar, we can also see darker and paler lines: the pale lines correspond to the lines of nodes, that is, lines passing through the intersections of the two patterns.

If we consider a cell of the lattice formed, we can see that it is a rhombus with the four sides equal to d = p/sin α; (we have a right triangle whose hypotenuse is d and the side opposite to the angle α is p).

Unit cell of the "net"; "ligne claire" means "pale line"
Effect of changing angle.

The pale lines correspond to the small diagonal of the rhombus. As the diagonals are the bisectors of the neighbouring sides, we can see that the pale line makes an angle equal to α/2 with the perpendicular of each pattern's line.

Additionally, the spacing between two pale lines is D, half of the long diagonal. The long diagonal 2D is the hypotenuse of a right triangle and the sides of the right angle are d(1 + cos α) and p. The Pythagorean theorem gives:

${\displaystyle (2D)^{2}=d^{2}(1+\cos \alpha )^{2}+p^{2}}$

that is:

{\displaystyle {\begin{aligned}(2D)^{2}&={\frac {p^{2}}{\sin ^{2}\alpha }}(1+\cos \alpha )^{2}+p^{2}\\[5pt]&=p^{2}\cdot \left({\frac {(1+\cos \alpha )^{2}}{\sin ^{2}\alpha }}+1\right)\end{aligned}}}

thus

{\displaystyle {\begin{aligned}(2D)^{2}&=2p^{2}\cdot {\frac {1+\cos \alpha }{\sin ^{2}\alpha }}\\[5pt]D&={\frac {\frac {p}{2}}{\sin {\frac {\alpha }{2}}}}.\end{aligned}}}
Effect on curved lines

When α is very small (α < π/6) the following small-angle approximations can be made:

{\displaystyle {\begin{aligned}\sin \alpha &\approx \alpha \\\cos \alpha &\approx 1\end{aligned}}}

thus

${\displaystyle D\approx {\frac {p}{\alpha }}.}$

We can see that the smaller α is, the farther apart the pale lines; when both patterns are parallel (α = 0), the spacing between the pale lines is infinite (there is no pale line).

There are thus two ways to determine α: by the orientation of the pale lines and by their spacing

${\displaystyle \alpha \approx {\frac {p}{D}}}$

If we choose to measure the angle, the final error is proportional to the measurement error. If we choose to measure the spacing, the final error is proportional to the inverse of the spacing. Thus, for the small angles, it is best to measure the spacing.

## Implications and applications

### Printing full-color images

In graphic arts and prepress, the usual technology for printing full-color images involves the superimposition of halftone screens. These are regular rectangular dot patterns—often four of them, printed in cyan, yellow, magenta, and black. Some kind of moiré pattern is inevitable, but in favorable circumstances the pattern is "tight"; that is, the spatial frequency of the moiré is so high that it is not noticeable. In the graphic arts, the term moiré means an excessively visible moiré pattern. Part of the prepress art consists of selecting screen angles and halftone frequencies which minimize moiré. The visibility of moiré is not entirely predictable. The same set of screens may produce good results with some images, but visible moiré with others.

### Television screens and photographs

Strong moiré visible in this photo of a parrot's feathers (more pronounced in the full-size image)
Moiré pattern seen over a cage in the San Francisco Zoo

Moiré patterns are commonly seen on television screens when a person is wearing a shirt or jacket of a particular weave or pattern, such as a houndstooth jacket. This is due to interlaced scanning in televisions and non-film cameras, referred to as interline twitter. As the person moves about, the moiré pattern is quite noticeable. Because of this, newscasters and other professionals who appear on TV regularly are instructed to avoid clothing which could cause the effect.

Photographs of a TV screen taken with a digital camera often exhibit moiré patterns. Since both the TV screen and the digital camera use a scanning technique to produce or to capture pictures with horizontal scan lines, the conflicting sets of lines cause the moiré patterns. To avoid the effect, the digital camera can be aimed at an angle of 30 degrees to the TV screen.

The moiré effect is used in shoreside beacons called "Inogon leading marks" or "Inogon lights", manufactured by Inogon Licens AB, Sweden, to designate the safest path of travel for ships heading to locks, marinas, ports, etc., or to indicate underwater hazards (such as pipelines or cables). The moiré effect creates arrows that point towards an imaginary line marking the hazard or line of safe passage; as navigators pass over the line, the arrows on the beacon appear to become vertical bands before changing back to arrows pointing in the reverse direction.[9][10][11] An example can be found in the UK on the East shore of Southampton water, opposite Fawley oil refinery (50°51′21.63″N 1°19′44.77″W).[12] Similar moiré effect beacons can be used to guide mariners to the centre point of an oncoming bridge; when the vessel is aligned with the centreline, vertical lines are visible. Inogon lights are deployed at airports to help pilots on the ground keep to the centreline of taxiways.[13]

### Strain measurement

In manufacturing industries, these patterns are used for studying microscopic strain in materials: by deforming a grid with respect to a reference grid and measuring the moiré pattern, the stress levels and patterns can be deduced. This technique is attractive because the scale of the moiré pattern is much larger than the deflection that causes it, making measurement easier.

The moiré effect can be used in strain measurement: the operator just has to draw a pattern on the object, and superimpose the reference pattern to the deformed pattern on the deformed object.

A similar effect can be obtained by the superposition of a holographic image of the object to the object itself: the hologram is the reference step, and the difference with the object are the deformations, which appear as pale and dark lines.

### Image processing

Some image scanner driver programs provide an optional filter, called a "descreen" filter, to remove Moiré-pattern artifacts which would otherwise be produced when scanning printed halftone images to produce digital images.[14]

### Banknotes

Many banknotes exploit the tendency of digital scanners to produce moiré patterns by including fine circular or wavy designs that are likely to exhibit a moiré pattern when scanned and printed.[15]

### Microscopy

In super-resolution microscopy, the moiré pattern can be used to obtain images with a resolution higher than the diffraction limit, using a technique known as structured illumination microscopy.[2]

In scanning tunneling microscopy, moiré fringes appear if surface atomic layers have a different crystal structure than the bulk crystal. This can for example be due to surface reconstruction of the crystal, or when a thin layer of a second crystal is on the surface, e.g. single-layer,[16][17] double-layer graphene,[18] or Van der Waals heterostructure of graphene and hBN[19][20], or bismuth and antimony nanostructures[21]

In transmission electron microscopy (TEM), translational moiré fringes can be seen as parallel contrast lines formed in phase-contrast TEM imaging by the interference of diffracting crystal lattice planes that are overlapping, and which might have different spacing and/or orientation.[22] Most of the moiré contrast observations reported in the literature are obtained using high-resolution phase contrast imaging in TEM. However, if probe aberration-corrected high-angle annular dark field scanning transmission electron microscopy (HAADF-STEM) imaging is used, more direct interpretation of the crystal structure in terms of atom types and positions is obtained.[22][23]

In materials science, known examples exhibiting Moiré contrast are e.g. thin films[24] or nanoparticles of MX-type (M = Ti, Nb; X = C, N) overlapping with austenitic matrix. Both phases, MX and the matrix, have face-centered cubic crystal structure and cube-on-cube orientation relationship. However, they have significant lattice misfit of about 20 to 24% (based on the chemical composition of alloy), which produces a moiré effect.[23]

## References

1. Wells, John (3 April 2008). Longman Pronunciation Dictionary (3rd ed.). Pearson Longman. ISBN 978-1-4058-8118-0.
2. Gustafsson, M. G. L. (2000). "Surpassing the lateral resolution limit by a factor of two using structured illumination microscopy". Journal of Microscopy. 198 (2): 82–87. doi:10.1046/j.1365-2818.2000.00710.x. PMID 10810003.
3. Kenkyusha's New Japanese-English Dictionary (2003), 5th edition, Tokyo: Kenkyusha, p. 2536.
4. Moiré in scanning, scantips.com, accessed July 2009
5. Figueiredo, Mário; Zerubia, Josiane (2001). Jain, Anil K. (ed.). Energy Minimization Methods in Computer Vision and Pattern Recognition. Springer. ISBN 9783540425236.
6. Miao, Houxun; Panna, Alireza; Gomella, Andrew A.; Bennett, Eric E.; Znati, Sami; Chen, Lei; Wen, Han (2016). "A universal moiré effect and application in X-ray phase-contrast imaging". Nature Physics. 12 (9): 830–834. Bibcode:2016NatPh..12..830M. doi:10.1038/nphys3734. PMC 5063246. PMID 27746823.
7. M.C. Hutley; R.F. Stevens (1999-11-16). "Optical inspection of arrays and periodic structures using moire magnification". IEE Colloquium, Microengineering in Optics and Optoelectronics. Cite journal requires |journal= (help)
8. Hala Kamal; Reinhard Völkel; Javier Alda (November 1998). "Properties of moiré magnifiers" (PDF). Optical Engineering. 37 (11): 3007–3014. Bibcode:1998OptEn..37.3007K. doi:10.1117/1.601889. Retrieved 2007-03-26.
9. "US Patent 4,629,325". Google Patents. Retrieved 5 March 2018.
10. Alexander Trabas. "Prohibited anchorage". Light of Lights. Retrieved 9 December 2016.
11. "inogen light [sic]". Hydrographic Dictionary (5 ed.). Monaco: International Hydrographic Organization. 2003. p. 113.
12. Scott, Tom (5 March 2018), The Moiré Effect Lights That Guide Ships Home, retrieved 5 March 2018
13. Kazda, Antonín; Caves, Robert (2015). Airport design and operation (3 ed.). Bingley, England: Emerald. pp. 204–205. ISBN 9781784418700.
14. Scanning Images in magazines/books/newspapers at scantips.com; visited 22 April 2010.
15. Sincerbox, Glenn T., ed. (1991). Counterfeit deterrent features for the next-generation currency design. Washington DC: National Materials Advisory Board. p. 61. ISBN 9780309050289.
16. Kobayashi, Katsuyoshi (1996-01-01). "Moiré pattern in scanning tunneling microscopy: Mechanism in observation of subsurface nanostructures". Physical Review B. 53 (16): 11091–11099. Bibcode:1996PhRvB..5311091K. doi:10.1103/PhysRevB.53.11091. PMID 9982681.
17. N’Diaye, Alpha T. (2006-01-01). "Two-Dimensional Ir Cluster Lattice on a Graphene Moiré on Ir(111)". Physical Review Letters. 97 (21): 215501. arXiv:cond-mat/0609286. Bibcode:2006PhRvL..97u5501N. doi:10.1103/PhysRevLett.97.215501. PMID 17155746.
18. K. Schouteden, N. Galvanetto (2015). "Scanning probe microscopy study of chemical vapor deposition grown graphene transferred to Au(111)". Carbon. 95: 318–322. doi:10.1016/j.carbon.2015.08.033.
19. Tang, Shujie; Wang, Haomin; Zhang, Yu (2013). "Precisely aligned graphene grown on hexagonal boron nitride by catalyst free chemical vapor deposition". Scientific Reports. 3 (1): 2666. arXiv:1309.0172. Bibcode:2013NatSR...3E2666T. doi:10.1038/srep02666. PMC 3773621. PMID 24036628 //www.ncbi.nlm.nih.gov/pmc/articles/PMC3773621 |PMC= missing title (help).
20. Tang, Shujie; Wang, Haomin; Wang, Huishan (2015). "Silane-catalysed fast growth of large single-crystalline graphene on hexagonal boron nitride". Nature Communications. 6: 6499. arXiv:1503.02806. Bibcode:2015NatCo...6.6499T. doi:10.1038/ncomms7499. PMC 4382696. PMID 25757864.
21. Le Ster, Maxime; Maerkl, Tobias; Kowalczyk, Pawel J.; Brown, Simon A. (2019). "Moiré patterns in van der Waals heterostructures". Physical Review B. 99 (7): 075422. doi:10.1103/PhysRevB.99.075422. hdl:10092/16978.
22. Williams, David B.; Carter, C. Barry (2009-01-01). Transmission electron microscopy : a textbook for materials science. Springer. pp. 393–397. ISBN 9780387765013. OCLC 876600051.
23. Heczko, M.; Esser, B.D.; Smith, T.M.; Beran, P.; Mazánová, V.; McComb, D.W.; Kruml, T.; Polák, J.; Mills, M.J. (14 March 2018). "Atomic resolution characterization of strengthening nanoparticles in a new high-temperature-capable 43Fe-25Ni-22.5Cr austenitic stainless steel". Materials Science and Engineering: A. 719: 49–60. doi:10.1016/j.msea.2018.02.004. ISSN 0921-5093.
24. Yin, Xi; Liu, Xinhong; Pan, Yung-Tin; Walsh, Kathleen A.; Yang, Hong (10 December 2014). "Hanoi Tower-like Multilayered Ultrathin Palladium Nanosheets". Nano Letters. 14 (12): 7188–7194. Bibcode:2014NanoL..14.7188Y. doi:10.1021/nl503879a. PMID 25369350.