Write network code for EnvironmentAnimations.