Text this: Anisotropy-based mechanism for zigzag striped patterns in magnetic thin films