Another "1 Line Challenge" project. (2 years after the original challenge). The colour of each pixel on the screen is calculated by one formula in the line "set pen color to …" RGB Colour = Red * 65536 + Green * 256 + Blue where Red, Green and Blue can each take values 0-255. For Grayscale, the Red, Green and Blue components are equal. So we multiply 65536 + 256 + 1 = 65793 by a value from 0-255.
A "1 Line Challenge project". See the "1 Line Challenge" rules in the original project. 1 Line Challenge Studio: https://scratch.mit.edu/studios/2825709/ Scratch-Minion's favourite 1 Line Challenge projects: https://scratch.mit.edu/projects/126161130/ More favourite projects: https://scratch.mit.edu/projects/163476084/