2722083cbe
This removes the buggy .then() constructor, primarily. Docs-Preview: https://skia.org/?cl=195126 Bug: skia: Change-Id: Ie20512267ce3f822eb0d68e71fc07f3d3245c1e9 Reviewed-on: https://skia-review.googlesource.com/c/195126 Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com>
11 KiB
11 KiB
CanvasKit - Skia + WebAssembly
Skia now offers a WebAssembly build for easy deployment of our graphics APIs on the web.
CanvasKit provides a playground for testing new Canvas and SVG platform APIs, enabling fast-paced development on the web platform. It can also be used as a deployment mechanism for custom web apps requiring cutting-edge features, like Skia's Lottie animation support.
Features
- WebGL context encapsulated as an SkSurface, allowing for direct drawing to an HTML canvas
- Core set of Skia canvas/paint/path/text APIs available, see bindings
- Draws to a hardware-accelerated backend
- Security tested with Skia's fuzzers
Samples
Lottie files courtesy of the lottiefiles.com community: Lego Loader, I'm thirsty, Confetti, Onboarding
Test server
Test your code on our CanvasKit Fiddle
Download
Get CanvasKit on NPM