Dynamic crack branching and curving in brittle polymers