Pixel editor
https://webxdc.codeberg.page/pixel/@main/
- JavaScript 93%
- Shell 4.1%
- HTML 2.9%
| .github/workflows | also update the comand in the ci | |
| .gitignore | create a script to create a .xdc | |
| create-xdc.sh | Fix shellcheck warnings on create-xdc.sh | |
| icon.png | add a basic icon | |
| index.html | Also center vertically | |
| LICENSE | Create LICENSE | |
| manifest.toml | set correct source_code_url | |
| README.md |
deno fmt everything
|
|
| script.js | Do not allow to draw outside the canvas | |
| webxdc.d.ts | Update webxdc.js to support realtime | |
| webxdc.js | Update webxdc.js to support realtime | |
Pixel editor
WebXDC editor for 1-bit pixel graphics.
This is a sample app demonstrating synchronization of pixel array using Last-Write-Wins conflict resolution.
Each participant can toggle pixels on and off, which results in sending an update for the pixel to other participants.
Development
To run this WebXDC app in the emulator, simply open index.html in the browser.
To create an .xdc file that can be sent into the chat, execute
./create-xdc.sh.