The waves crashed against the rocks, sending up white foam.
Tips
usage
口吐白沫 kǒu tǔ báimò ('mouth spitting white foam') is the standard medical/dramatic description of a seizure or rabies in Chinese — very common in TV scripts when a character collapses.