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/
I used my what I learned from my RGB block, a while back: https://scratch.mit.edu/projects/10072020/ (It lets you move the points around and it updates fast.) The RGB values are taken from the position of the three included sprites. EDIT: When I first released this, I had rearranged the sprites to a triangle pattern in the middle. It was still just one line of code. Perhaps that's ok... But I want this to be a pure entry, so I moved the sprites back to their location in the original project. Also I simplified the code more, took out an extra "*" for each color. and consolidated it to -.5 This is to put it in the correct range. If you want to play with idea and move the dots around at will, play with this project: https://scratch.mit.edu/projects/10072020/ It's also possible not use distance do this with code, as I see from https://scratch.mit.edu/projects/116453987/ Awesome. I'm new to this challenge and have not looked over everybody's yet. Man, there's quite a few. Very cool! (I've been away from scratch for a while.)