Rock microstructure intrusions are a result of uninterrupted slow cooling. When a rock cools too quickly the liquid freezes into a solid glass, or crystalline groundmass. Often vapor loss from a magma chamber will cause a porphyritic texture. "Embayments" or 'corroded' margins to phenocrysts infer that they were being resorbed by the magma and may imply addition of fresh, hotter magma. Ostwald ripening is also used to explain some porphyritic igneous textures, especially orthoclase megacrystic granites. A crystal growing in a magma adopts a habit (see crystallography) which best reflects its environment and cooling rate. The usual phenocryst habit is the ones
Igneous rock commonly erupt explosively, and rhyolitic lava flows are typically of limited extent and have steep margins, because the magma is so viscous. Felsic and intermediate magmas that erupt often do so violently, with explosions driven by the release of dissolved gases—typically water vapour, but also carbon dioxide. Explosively erupted pyroclastic material is called tephra and includes tuff, agglomerate and ignimbrite. Fine volcanic ash is also erupted and forms ash tuff deposits, which can often cover vast areas. Because lava usually cools and crystallizes rapidly, it is usually fine-grained. If the cooling has been so rapid as to prevent the formation