* Click the stage to make buttons appear that let you select other pictures to scan and transform into a Scratch Cat photomosaic. * To make a Scratch Cat photomosaic with your own picture, just add it to the project backdrops. Run the project, click the stage, select your picture, scan and transfrorm into a Scratch Cat photomosaic. Remix to save. How it Works ========== The project does a low resolution scan of your picture to detect its colours. (It only scans every 10th pixel of your picture both horizontally and vertically). The colours are detected as RGB (Red Green Blue) colours; each of Red Green Blue has a range 0-255. The RGB (Red Green Blue) colours are converted to hsb (Hue Saturation Brightness) colours which more closely match the colours that most Scratch blocks use. The project contains red costumes for each quarter Scratch Cat costume with each of the saturations 100,90,80,70,60,50,40,30,20,10 and 0. The hsb colours of the picture are matched to the red Scratch Cat costume with the closest saturation. We use the "set color effect" block to change the red colour to match the hue (of hue saturation brightness) We use the "set brightness effect" block to match the brightness (of hue saturation brightness) We stamp this red Scratch Cat quarter with saturation, hue/color and brightness to match the scanned picture. There are 4 pieces to each Scratch Cat picture. Scratch Cats in the final picture are often not a single hue, saturation and brightness but are made up of 4 coloured pieces corresponding to the original picture.
Notes: The photomosaics in this project are more accurately coloured than those in the project "griffpatch yourself" https://scratch.mit.edu/projects/528040750/ as there are costumes of many saturations for each of the 4 (2x2) Scratch Cat pieces. - the Scratch Cats would look better if I had created smaller costumes rather than 100x100 costumes which lost detail when resized to 10%. - See also "Photomosaic with small Scratch Cats" https://scratch.mit.edu/projects/528740594/ - The sample pictures are: mres (creator of Scratch and leader of the Scratch Team), a trefoil knot, Mario, Scratch-Minion, and Goofy. Sometimes the photomosaic pictures can be viewed better when sitting back from the screen.