Customized depolarization spatial patterns with dynamic retardance functions