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.