Heart animation

i want to make a animation of a heart image which can beat front and back front and back then sidesways… juz like how normal heartbeat. is there anyway to go about ding that?