forked from webxdc/pixel
Pixel editor
- JavaScript 85.7%
- Shell 9.8%
- HTML 4.5%
| .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 |
refactor: fix invalid HTML (<title>)
|
|
| LICENSE | Create LICENSE | |
| manifest.toml | set correct source_code_url | |
| README.md | docs: extend readme with development instruction and a demo link | |
| script.js | fix: draw first row and column of pixels | |
| webxdc.d.ts | remove "app" from naming | |
| webxdc.js | set control panel to static size | |
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.