I recently started doing digital portraits a bit more seriously. Look at a portrait of Benedict Cumberbatch that I made in ProCreate using a borrowed iPad.
Have you used Processing before? It allows you to create sketches using programming. Take a look at some looping GIFs I made using Processing. I will share some resources that you can use to make your own perfectly looping GIFs.