SP4CEBAR 2022-09-02 17:08 (Edited)
This line drawing program saves the four coordinates that make up the line to a file, this is essentially what a vector image is. Vector images have the advantage that they can easily be scaled and rotated, as an added bonus, vector images have a really small file size.
- Autosave is on, so you can safely exit (give it a second just in case)
- To delete the last line you should delete the last 8 characters (4 bytes) of the file on your disk that you were editing
- The file supports an image size of 256x256 pixels, but the usable screen area is only 128x128 pixels
A flood filling algorithm is needed to fill the vector images with a color, but I think NX is going to be too slow to fill the whole image real-time (some tricks should be used), also I haven't made one in NX
SP4CEBAR 2022-09-02 17:14
Here's the airplane file:
#9:VECTORS V1 SP4CEBAR
0A4A063D063C09390A380F3C0F3C1442
1542353E363F513D523E624163416B48
6B486A4E6A4E52520A47094C0F470C4E
0B4C084C464B356A344D2769266A2A70
2C71356A4F3C592F3A3C4D304D31562F
54534353344E3D4A484A3F4A30531951
1A520B4E3F594359455A436044613E5F
3F603F5B5239543B563B513C59415747
59475F4A614A68480747054E044F094D
10470946
SP4CEBAR 2022-09-02 17:22 (Edited)
Here's a file viewer (stripped version)
was8bit 2022-09-03 05:41
Wowzers!!!
G-9 2022-09-03 14:14
Amazing 🥲