This project makes use of a little-known block that requires either hacking or backpacking to obtain. While originally intended for micro:bit, it is able to tell us the binary sequence for any 5x5 image! Awesome! This project is designed to make this block more useful by rendering it on the stage with the pen extension. It is very fast and concise. In the block, 0 is an unshaded square and 1 is a shaded square. Feel free to reach out if you need help using it. Forums: https://scratch.mit.edu/discuss/topic/826303/
I waved my magic wand and made this in 15 minutes because why not :P cx and cy = center coordinates; represented by [13] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] To convert from RGBA to the format this project uses: ((((((A * 256) + R) * 256) + G) * 256) + B) or go to this project: https://scratch.mit.edu/projects/72084406/ Hexadecimal in AARRGGBB format is also supported. And finally, for those of you wondering, for complete transparency put in the number 16777216. Use with credit please, all code and arithmetic done by me. NOTE: In theory, this method could be applied to any binary grid and not just 5x5, but I'll leave that to some other Scratcher to discover because it is much easier to make a 5x5 binary due to this hacked block.