This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <canvas id="canvas" width="512" height="512"></canvas> | |
| </body> | |
| <script> | |
| /** @type {HTMLCanvasElement} */ | |
| const canvas = window.canvas; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Set these environment variables: | |
| # - ZLIB_LIB: path to directory containing libz.a | |
| # - LIBPNG_INCLUDE: path to libpng include directory | |
| # - LIBPNG_LIB: path to directory containing libpng.a | |
| # Skia version: 5b8860c391f7c3d5b09b62e0d58c45cb6fa814f0 | |
| CXX="zig c++" |