Ultra Fast Colour Image Scanner | Scratch How-to Tutorial

Опубликовано: 19 Октябрь 2024
на канале: griffpatch
498,993
8.8k

The Fastest Colour Image to List Scanner for Scratch, up to x400 faster than the previous method - You'll be amazed! Image scanning is useful for making textures for use in games, as well as for paint programs, and many other imaginative projects! In this tutorial we walk through how colour scanning in Scratch is achieved, and then look at how we can make it so much better!

My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!

🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 https://griffpatch.academy 👈

😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu

👀 Previous GET COLOR tutorial -    • How to GET COLOR value at point | Scr...  
🐱 Scratch Studio for this tutorial - https://scratch.mit.edu/studios/31533...
🐱 Blue Line Scanning Filter - https://scratch.mit.edu/projects/6785...

👀 Quick and Fun Tutorials -    • Quick and Fun Scratch Tutorials  

❤️ Scratch Addons - https://scratchaddons.com/
📹 Video Editing Software - https://techsmith.pxf.io/c/2682566/50...

-------------Video Chapters-------------
0:00 Intro
1:43 Scanning
6:20 Using Pen to Draw an Image from a List
9:49 Colour Caching
11:36 Pixel Accurate Scanning
14:09 The theory of Binary Search for Colour Scanning
17:30 Image Brightness
24:05 The Initial Scan
26:26 Possible Colour Values
30:04 Testing the Initial Scan
31:53 2nd Scan Pass
36:56 3rd Scan Pass
38:58 Correcting Edge Case Scanning Errors
43:31 Scanning with 3, 4 & 5 passes
45:47 Outro