ScratchData LogoScratchData
Back to MINEMAN_C's profile

Scanner 36x36 for 1 Line Challenge remix

MIMINEMAN_C•Created July 18, 2022
Scanner 36x36 for 1 Line Challenge remix
1
1
7 views
View on Scratch

Instructions

1) Use the arrow keys to select a background picture. * You can add your own pictures over the grid area. * Your pictures do not need to be pixellated! 2) Press <space> to scan. 3) Triple click on the 1LC list item to select it all, copy and paste the long text into the sprite costume name in one of the 1 Line Challenge projects below, then remix. - 1 Line Challenge Project with 1 fullsize picture: https://scratch.mit.edu/projects/701930009/ or https://scratch.mit.edu/projects/701936539/ or https://scratch.mit.edu/projects/701919706/ - 1 Line Challenge Project with 4 smaller pictures: https://scratch.mit.edu/projects/702001160/ - 1 Line Challenge Project with 4 rotated pictures: https://scratch.mit.edu/projects/702343648/ 4) That's all! The 1LC projects will draw the picture! Notes ===== - You can use any picture within the grid square. The scan does not go outside the grid square. - If you want an exact copy of an already pixellated picture, you should align that picture with the squares. How it Works ========== The scan samples the colours from a central pixel in each of the 10x10 squares of the 360x360 grid. The scan puts the 36x36 RGB colour values into a list. Then 10000000 is added to each RGB colour value to make them each 8 digits long. The 36x36 list of coded 8 digit colours is joined into 1 long data value. 36x36 pixels x 8 digits per pixel = 10,368 characters This is the long text value that you copy from the list. These 1 Line Challenge projects colour each 10x10 pixel square (of the 360x360 drawing area) using a decoded 8 digit colour from the data value. Decoding is simply subtracting 10000000. The 1 Line Challenge projects access the long text in the costume name 8 times for each pixel using the "letter ... of ..." block. The 8 digits are joined with "join" blocks before 10000000 is subtracted.

Description

use the mouse to draw something then press space.

Project Details

Project ID715030257
CreatedJuly 18, 2022
Last ModifiedJuly 18, 2022
SharedJuly 18, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root