RecordableDrawing.js, which might help with recording shadows