|This article has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the internet, as we cannot guarantee the safety of other websites.|
|Warning:||Despite the fact that all Scratch Lab projects are saved in an SB3 file, it is not possible to upload them in the default Scratch editor, for the extensions are not in Scratch's default and main editor. Doing so will result in a crash in the site.|
Scratch Lab is a website created by the Scratch Team to share experimental features and new ideas. Scratch Lab showcases potential new features for Scratch to get the public's opinion on them, however, not all Scratch Lab blocks get added to Scratch. The Scratch Team announced Scratch Lab on February 2nd 2021 at 12:46 PM Eastern Time. The Scratch Team also announced the news via the Front Page and the Announcements topic. Scratch Lab is accessible at lab.scratch.mit.edu, but there currently is no homepage. As a result, there is a "Whoops! This Scratch Lab page doesn't exist" error when visiting lab.scratch.mit.edu.
|“||Scratch Lab is a space for our team to tinker, test, and play with new ideas. But most importantly, Scratch Lab is a space for you! We’d love to hear what you think with the feedback forms on the Scratch Lab website. Have fun with these experimental features, and stay tuned to find out what’s next for Scratch Lab!||”|
– Scratch Team
There are currently two experimental extensions on Scratch Lab:
Animated Text allows writing of text using special blocks and uses all the fonts from the paint editor, except the 中文 (Chinese), 日本語 (Japanese) and 한국어 (Korean) fonts. It was released on February 2nd 2021 along with the Face Sensing experimental feature, the day Scratch Labs was announced.
show text () :: extension— Prints text.
[rainbow v] text () :: extension— Prints text with a type, rainbow, or zoom effect.
show sprite :: extension— Erases text and returns to the sprite.
set font to [Pixel v] :: extension— Sets text font to Sans Serif, Serif, Handwriting, Marker, Curly, Pixel or a random font.
set text color to [#0000ff] :: extension— Sets text color.
set width to () aligned [left v] :: extension— Aligns text to left, center, or right.
It is possible to use any installed font in Scratch Labs. To do this:
- Create a new Scratch Labs project with a
set font to [Pixel v] :: extensionblock.
- Save the project to the computer.
- Decompress the .sb3 file.
- Open the project.json file in a text editor.
- Locate the text.setFont section of the json.
- Replace the code specifying the font (should say "Pixel") to the name of a font installed.
- Compress the project folder into a .zip.
- Rename the .zip file to an .sb3 file (Optional, but faster)
- In Scratch Labs, open the .sb3.
set font to [Pixel v] :: extensionblock should now be set to the font that has been selected.
Face Sensing tracks a face's movement using special blocks and can detect if a face or certain facial features (eg: a nose) is present. It was released on February 2nd 2021 along with the Animated Text experimental feature, the day Scratch Labs was announced.
go to [nose v] :: extension— Makes the sprite follow a detected face's nose, mouth, left and right eyes, between eyes, left and right ear, or top of head.
point in direction of face tilt :: extension— Points the sprite in the direction of the detected face.
set size to face size :: extension— Sets the size of the sprite to the size of the detected face.
when face tilts [left v] :: extension hat— Activates when the detected face tilts left, or right.
when this sprite touches [nose v] :: extension hat— Activates when a sprite touches a detected face's nose, mouth, left and right eyes, between eyes, left and right ear, or top of head.
when a face is detected :: extension hat— Activates when a face is detected.
<a face is detected? :: extension>— Senses if a face is detected.
(face tilt :: extension)— Returns the detected face's tilt.
(face size :: extension)— Returns the detected face's size.
There is a "Give Feedback" button on each project page using the Labs Editor. This redirects the user to a Google Form. There are 2 different Forms, one for the Face Sensing extension, and another for Animated Text extension.  It asks what the user liked and disliked about the blocks, what could be improved on, and their username and browser that they were using to test out these features (the last two questions are optional.) Those that have entered their username in their response may get followed up on their feedback.