Refactor application

- Use contexts for large-scope states
- Use OffscreenCanvas for rendering instead of hidden canvas element
This commit is contained in:
daylily
2025-04-02 12:46:40 -04:00
parent cccf761a34
commit 407ef956d4
45 changed files with 1835 additions and 1324 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
<svg version="1.1" width="256" height="256" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,0 255,0 0,255" fill="#afbabc" />
<polygon points="255,255 255,0 0,255" fill="#182435" />
<polygon points="0,0 256,0 0,256" fill="#afbabc" />
<polygon points="256,256 256,0 0,256" fill="#182435" />
</svg>

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 199 B