Kernel for Canvas2