The main trick there is animating the stroke on a copy of the tile: https://css-tricks.com/svg-line-animation-works/
I also animate the size and color of the stroke and scale and translate the entire tile