* Use Turbo Mode! (<Shift> key + Green Flag) Q. What is special about this pattern? A. It is made from a single simple patterned tile drawn 100 times but randomly rotated each time. <Space> key to see the single tile that makes up pattern (just two diagonal lines at opposite corners) See https://en.wikipedia.org/wiki/Truchet_tiles Pseudorandom binary digits (0 or 1) for the 100 small 36x36 squares were calculated by determining for each square whether "letter 10 of (sin of (Square Number / 37))" is even or odd. Pseudorandom numbers were needed as the same random number must be used for every pixel in a 36x36 square to draw a tile. "Pseudorandom" numbers are like random numbers except that the same sequence is generated every time using a randomizing formula. Thus we get the same random pattern each time. The code is explained inside the project.
For 1 Line Challenge projects, the colour of each pixel on the screen is calculated by the same formula in the line "set pen color to …" 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/