First implementation of code-rendering on canvas