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/
This is a challenge response for Scratch-Minion's One Line Challenge thing. I think this pattern, which consists of 5 gradients, looks pleasing. My explanation for this gradient pattern is the fact that I used the "log" block, and if the x position is 1 and the y position is 9, the color will be log(19), but if the y position is 10 instead, then the number will be log(110). This creates three different, linear-looking gradients. You may also notice that the pixel in the very center is black. This is because the system is trying to figure out the log of 0, which doesn't work out.