How it's done? Just a ton of graphics that loop. There's no special magic ingredient here. The snake is it's own pre-comp and so is the background and anything else. Any basic tutorial can teach you this stuff. The rest is just a choice of graphical style.