Dynamic polygon animation copied over.