JSFiddle - React, Tailwind, and code Playground
by Chris Wilson
HTML
<div id="paint"></div>
JavaScript
//Interested in Raphael? There's a book!
//http://shop.oreilly.com/product/0636920029601.do
var paper = Raphael("paint", 300, 300);
var wall = paper.rect(0, 0, 300, 300).attr("fill", "#CCFFFF");
var dry = function(hours) {
var duration = 1000 * 60 * 60 * hours;
wall.animate({ fill: "#99CCFF" }, duration);
}
dry(5);