Use TURBO mode to see the demonstration pattern. (Press the <Shift> key and click the Green Flag for TURBO mode). The "1 Line Challenge" is to produce an interesting pattern using only ONE line of code to calculate the color of each pixel. YOU MAY ONLY CHANGE THE "set pen color to ..." LINE IN THIS PROJECT TO MEET THE CHALLENGE! "See Inside" for more Rules, Rewards, Tutorials etc. Please put your remixed "1 Line Challenge" Projects in the Studio https://scratch.mit.edu/studios/2825709/ If you just had to break the rules please put your "Not Quite A 1 Line Project" projects in this studio instead https://scratch.mit.edu/studios/2825759/
change the scratch cat sprite to anything and watch as a monochrome copy is printed out! the sprite hitbox was changed for the 1 line sprite, the hide block was changed to a show block in the same sprite and a message send block was added to hide the sprite at the end this actually doesn't use numbers to determine the color- Infinity and NaN are used. (0 x infinity is NaN, which leads to the red, and 1 x infinity is infinity)