Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (January 2020)
Document stub.png This article or section may not have content matching Scratch Wiki editing standards. Please improve it according to Scratch Wiki:Guidelines and Scratch Wiki:Editing Conventions. (February 2021)
Warning.png This article or section is currently undergoing major changes by Jackson49 (talk | contribs). Please avoid largely modifying this page's contents until this template has been removed. (March 2021)
A working example

A camera in the Scratch editor takes photos using the Video Sensing Extension.

Concept

Color Detection Method

The color detection is one of the most popular methods of creating a camera on Scratch. This is an example. This method works by turning on the Video Sensing function, and moving a sprite across the screen. The sprite detects the color it is touching, stores it on a list, and moves on. It repeats this process until it's moved across the entire screen. The smaller the movement, the higher the resolution, but the longer the exposure time. One the sprite finishes scanning the picture, a pen recreates the image based on the data stored on the list. This method is low resolution, slow, and complicated, but it allows for pictures to be saved and causes no glitches to the Scratch Website.

Examples

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.