as the waves broke , beautiful rainbow veils formed and fell over the collapsing curls ; what was left then formed painfully bright white foaming lines that raced shoreward before being pulled back out by a new , advancing front .