rsabbarton / PixelFlux

Pixel Art Sprite Creator
0 stars 0 forks source link

Performance issues with larger image sizes #51

Closed rsabbarton closed 1 year ago

rsabbarton commented 1 year ago

Anything above 64x64 seems to lag really badly despite hardware acceleration. Need to find ways of optimizing the code to run on all devices smoothly.

rsabbarton commented 1 year ago

Improved setPixelRGBA() by drawing single pixel to the canvas rather than updating the entire pixel array to the layer canvas.

[master 910dc8f] Improvements to setPixelRGBA() performance 5 files changed, 29 insertions(+), 14 deletions(-)

rsabbarton commented 1 year ago

Still need optimize other functions that are causing visible lag when processing and drawing.

rsabbarton commented 1 year ago

Improvements in [master 910dc8f] have increased performance enough to close this one out for now. Will continue to review performance as we go.