Canvas rendering engine featuring script compilation, an embeddable player and convenient drawing api