improved definition of constants for toon animations