tick another item off from the to-do list in the readme

This commit is contained in:
2024-08-30 03:57:13 +01:00
parent f5b0c8e705
commit db92b95c41

View File

@@ -47,10 +47,8 @@ This isn't an exhaustive list, but these are some features I would like to add t
- [x] Redraw components when resized
- [x] Support undo (with `<Ctrl-z>`) and redo (with `<Ctrl-y>` or `<Ctrl-Shift-z>`)
- [x] Save drawn project to a custom file format and allow reloading
- [ ] Export to code
- Possibly different options like creating a flat array/vector or an index buffer
- [ ] Linear interpolation
- Instead of exporting a vector, export a function which takes `(xPos, yPos, xLength, yLength)` arguments and lengths and returns a vector where the object is fitted in these coordinates.
- [x] Export to code with `<Ctrl-E>`.
- Exports a function which takes `(xPos, yPos, xLength, yLength, windowWidth, windowHeight)` arguments and returns a vector where the object is fitted in these coordinates.
- [ ] Add right-side panel
- With options (like adjusting x/y coordinates in a number input, possibly layers, selecting export options...)
- [ ] Support setting more z coordinates and (r,g,b,a) colour values.