https://github.com/nahkd123/brush-as-webassembly-module
Store brush as WebAssembly module.
https://github.com/nahkd123/brush-as-webassembly-module
brush drawing-app js wasm web webassembly
Last synced: about 1 year ago
JSON representation
Store brush as WebAssembly module.
- Host: GitHub
- URL: https://github.com/nahkd123/brush-as-webassembly-module
- Owner: nahkd123
- License: cc0-1.0
- Created: 2025-02-10T20:13:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-10T20:14:32.000Z (over 1 year ago)
- Last Synced: 2025-02-10T21:24:57.470Z (over 1 year ago)
- Topics: brush, drawing-app, js, wasm, web, webassembly
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Brush as WebAssembly Module!
An experiment to use WebAssembly module as brush file. The purpose is to embed the brush together with project file so that vector layers in projects can be rendered correctly across multiple devices, while taking little amount of storage space.
## Try it out
> [!TIP]
> For best experience, use a graphics tablet or a device with pressure-sensitive stylus support!
Open [this page](https://nahkd123.github.io/brush-as-webassembly-module) in your favorite browser. Chromium is recommended to ensure the pointer event feature working correctly (though most modern browsers should support pointer events API already).
## What's next?
- Embed brush preset inside WebAssembly module maybe?
## License
CC0 1.0 Universal (or Public domain if that license is not applicable). No Rights Reserved.