kei-lisp-plugin-graphics - v4.0.0
    Preparing search index...

    Function createGraphicsPlugin

    • Creates a Canvas2D drawing plugin bound to the given canvas. Register it on a LispInterpreter via interpreter.use(plugin) to make the g… drawing primitives callable from Lisp source.

      Parameters

      • options: { canvas: HTMLCanvasElement | OffscreenCanvas }

        the canvas to draw to

      Returns GraphicsPlugin

      a KeiLispPlugin that handles the g… symbols