Jasper is a compact quartz with inclusions of various extraneous substances. During the conversion of silica into quartz, fine particles of clay and sand are trapped in the Jasper being formed, making it opaque and generating its characteristic surface patterns.