The deposits of ocean jasper in Madagascar are in a mass of rhyolite that was part of a volcanic flow that occurred millions of years ago. Later, the rhyolite was silicified, and as the silica cooled, it precipitated out of the magma as the quartz and feldspar crystallized of needle-like crystals in radial aggregates, thus creating the orbicular structures that are the hallmark of ocean jasper.