Added some optimizations to improve scanning & render speed of @geotale/@griffpatch's scanner Tap on picture to scan each background Press up and down to change render resolution Press space to render from encoded string Griffpatch's reference scanner project: https://scratch.mit.edu/projects/827805681
The update added a reasonable fast method for encoding with a fast method to decode frames using a branchless RLE structure based on @awesome-llama data structure -Moves per line: 3 decimal -XChange: 2 hex (0-255) -Color: 4 hex (as 16k colors is the limit of scratch scan precision) Circle Food example using this fast decode method https://scratch.mit.edu/projects/922728675 Scan Speed up from using LastY, merge the first 3 scan pass's, hardcoded check8 numbers, use custom block calls versus using broadcast. Render speedup: use branchless RLE render Decode from string is only 50% slower than using the 3 fully expanded RLE lists