Drawing with JavaScript and CSS