working on preprocessor for gradient-driven animations