strokeDash animation translator and basic example