The shape of the hamon is affected by many factors, but is primarily controlled by the shape of the clay coating at the time of quenching. Although each school had its own methods of application, and kept secret the process, the exact mixture of the clay, the thickness of the coat, and even the temperature of the water, the clay was usually applied by painting it on in very thin layers, to help prevent shrinking, peeling, and cracking as it dried. Often, the clay is applied to the entire blade by piling up the layers very thickly over the entire sword, and then the clay was carefully cut away from the edge. However, in ancient times
tempering was rarely used in Asia, and a fully exposed edge would cool too fast and become far too brittle, thus a thinner layer of clay was usually applied to the edge so as to achieve the correct hardness upon quenching without the need for tempering afterwards. The smith shapes the hamon at the time of coating the blade. There are two basic styles, which are "straight edge" () and "irregular pattern" ( or ). Straight-edge hamons simply follow the edge of the sword with little deviation, except at the tip. This was by far the most popular style in every era and in every province, whereas the more complex patterns that were in themselves works of art tended to be reserved for the wealthy and elite. Straight patterns are usually classified by the width of the hardened zone (), and divided into "wide" (), "medium" (), "narrow" (), and extremely narrow or "string" () hamons. Conversely, irregular hamons do not simply follow the edge, but deviate from it considerably in various ways. The two main groups are "undulating" or "wavy" () and tooth-like or "zig-zag" (), and these are often classified by the
wavelength or breadth of the irregularities. Sometimes hamons can consist of one style, a mixture of two, or all three (e.g. , , , etc.), with many other differences sometimes added in for effect. resembled saw teeth, whereas resembled horse teeth. consists of multiple sizes and shapes of teeth mixed with areas of regularly sized and shaped teeth. appears as a combination of tooth and wave, resembling rows of plunging
breaking waves. consists of waves with wide valleys and steep crests, and were mainly found on swords of the
Muromachi period. The specific shape and style of the hamons were often unique and served as a sort of signature of the various swordsmithing schools or even for individual smiths that produced them. originated with Osafune Kagemitsu and was carried on by Kunimitsu, whereas (very orderly and pointed peaks) were mainly found on swords of the Sue-Seki school. On the most ancient swords, the hamon typically ended just before the sword guard, but on most later and contemporary swords the hamon extends far past the guard, under the handle, and ends with the tang, which provided added strength to the tang. The shape of the hamon is affected by other factors as well. If a sword is made of a composite steel (as most ancient swords were) consisting of alternating layers of steel with different carbon contents, then the steel with higher hardenability will change into martensite deeper underneath the clay coating than the lower-carbon steel. This leaves a pattern of bright streaks that jut a short distance away from the hamon, called , which give it a wispy, misty, or foggy appearance. Likewise, complex swords that consist of sections of different steels welded together may show evidence of the welds near the hamon. ==Origins==