Kind of strange to call it browserless as though Skia requires one to begin with. Been using the .NET Skia library in CLI and desktop applications for a while.
They're not saying Skia itself is browserless; they're saying that "Skia Canvas" is a non-browser-based implementation of what people would normally call the browser Canvas API.
Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
11–20 of 91 posts
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#12Is this like a wrapper for the Rust crate? https://rust-skia.github.io/doc/skia_safe/canvas/struct.Canv...
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#13Huh, it's more than just a rendering API: "can render to windows using an OS-native graphics pipeline and provides a browser-like UI event framework". They could add wgpu to get WebGPU support and ANGLE to get WebGL support.
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#14Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#15Earlier quoted context omitted.
Node is a browserless JS engine. I don’t see why saying browserless is weird.
I don’t think anyone ever thought Node was a browser thing though
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#16Earlier quoted context omitted.
They're not saying Skia itself is browserless; they're saying that "Skia Canvas" is a non-browser-based implementation of what people would normally call the browser Canvas API.
Automattic created node-canvas a long time ago which was based around Cairo.
Looks like it would have been a lot easier if this existed back then. (haven't worked on the site for 5+ years)
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#17Kind of strange to call it browserless as though Skia requires one to begin with. Been using the .NET Skia library in CLI and desktop applications for a while.
They're not saying Skia itself is browserless; they're saying that "Skia Canvas" is a non-browser-based implementation of what people would normally call the browser Canvas API.
It was created by Apple as a wrapper for CoreGraphics back around Mac OS X Tiger 10.4. (IIRC, Canvas even debuted in Apple's Dashboard widgets rather than Safari? I'm not 100% sure.)
I remember writing my own Canvas implementation around 2008-2009 using JavaScriptCore and CoreGraphics. It took maybe two days. I used it for a video application where JS plugins needed to render 2D graphics but I couldn't provide a browser engine because that would have been too slow and unpredictable for render functions that get called in the video render loop.
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#18Could this be consumed by Konva js for SSR ?
Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#19Re: Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
#20It'll also be interesting to see how well this slots into things like VS Code for live-rendering canvas code (or code that has a translation layer for running on a web canvas)