Embedding ChakraHost (c#) for WebGL example
问题 I have looked into the example involving embedding the javascript framework (paper.js) for drawing output to XAML's CanvasControl through the JsBridge implementation of ChakraHost. To include the paper.js framework and the javascript to call the framework (e.g. the paper.js's tadpoles example), we only need these statements: await host.ReadAndExecute("paper-core.js", "paperjs-refs"); await host.ReadAndExecute("tadpoles.js", "paperjs-refs"); To embed a WebGL javascript framework using e.g.