geode cakes are meant to mimic the natural rock formation, with the baker typically carving out chunks from the cake and filling the cut-outs with "edible crystals" made out of rock candy or isomalt shards. the crystals are then painted multiple colors to emulate the look of real geodes themselves.