go-canvas
go-canvas copied to clipboard
Make this work with TinyGo
In progress. Currently Fails to run ( TinyGo 0.13), and Fails to compile (0.14-DEV).
This is due to missing support in TinyGo for sync/Atomic package, parts of which are used by std Lib "image" library, which is in turn used by image/png
See: https://github.com/tinygo-org/tinygo/issues/1262
A second issue is the embedded Font causes tinyGo to take ages to compile (20 mins) rather than 10s.
Will look to refactor this to separate into an example, as really fonts should be an add-in, not part of the base library.