The red-eyed tree frog lives in the rainforests between Mexico and Colombia. It lays its eggs in a clump of jelly on a leaf above a pond. Left alone, they hatch in six to eight days, and the tadpoles drop into the water.
But if a snake starts eating the clump, the tadpoles do not wait. They wriggle out of their eggs days early and fall into the pond while the snake is still feeding. The red-eyed tree frog is not poisonous. Its bright colours are a bluff.
A rainstorm shakes the leaf too, yet the eggs stay put. The scientist Karen Warkentin recorded both kinds of shaking and played them back to eggs in a laboratory. The eggs hatched far more often for the snake than for the rain. The difference is the rhythm. A snake's shaking comes in longer bursts with longer gaps, as it pauses to swallow.
The eggs do not hatch early unless they must, because the pond has dangers too. Fish and shrimp wait below, and a tadpole that arrives too young is easy to catch.
