JSFiddle - React, Tailwind, and code Playground

by vcsjones

HTML

<script src="https://raw.github.com/DmitryBaranovskiy/raphael/master/raphael-min.js"></script>
<div id="thepaper"></div>

CSS

#thepaper {
width: 300px;
height: 300px;    
}

JavaScript

var paper = Raphael("thepaper", 300, 300);
var theImage = paper.image("", 0, 0, 128, 128);
theImage.animate({"transform": "R45"}, 10000);