I was pulling out some weeds and must have touched something, because all of a sudden something was coming out of the ground. I thought it was a snake, but then it became like a white and black sphere. Then the black parts poofed one at time and made like small windows. I left it out in the garden and it shriveled up, but I found some more round ones growing out of the ground. I dug those out, and they were rubbery and actually looked like brains. Then they started to do the same as the first one. What was it?
I've seen the same thing...it probably is a Sculptured Puffball mushroom or Calbovista subsculpta. Native mushroom in Western forests; Pacific Coast mountain ranges and the Rocky Mountains. Actually a good edible species while the inside is white. Once it matures and the interior darkens it loses its flavor. Nasty but efficient way to spread spores. Amazing puff of black smoke-looking stuff. But totally harmless.
If this is the same thing it should look like a wad of dough, no stem, wider than it is tall...warts? Warts have little brownish hairs coming out of their center...eeeyuuuu!
A note of caution about mushrooms. I took wilderness survival classes and the last thing you should ever eat when lost in the wilderness are mushrooms. They do have nutrition but too few calories to take a risk.