From db92b95c411f32ed0bf539efa4e61d63a3a7af35 Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Fri, 30 Aug 2024 03:57:13 +0100 Subject: [PATCH] tick another item off from the to-do list in the readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6bca0a7..26a0e63 100644 --- a/README.md +++ b/README.md @@ -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 ``) and redo (with `` or ``) - [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 ``. + - 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.