Mixeyka,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
</head>
<body>
<div id="myTile"></div>
<script>
var imageShip = document.createElement("img");
imageShip.onload = function() {
imageShip.style.transform = "rotate(100deg)";
}
imageShip.style.transition = "all 2s";
myTile.appendChild(imageShip);
imageShip.src = "http://www.stihi.ru/pics/2016/04/15/31.jpg";
</script>
</body>
</html>