convert to svg animation file
convert to svg animation file (refactoring)