Remove line function name
Generate shapes in animations to allow caching