What did the first animation look like?

The first of all animation was a bunch of carvings on stone which had the animal etc. with a different position. Which slowly became stop motion and other animations.