Thank you @OSUblake, yes now it's much better with transform x
https://codepen.io/gianpiero-di-lullo/pen/yLBJYrB
Thanks Mikel, I tried but I cannot replicate this with any 3d software so I didn't even try three.js. The first frame of the sprite is a logo, which at first glance seems a 2d shape until you hover it. The perspective is so distorted that I couldn't recreate it with 3d apps