|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.|
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. The Scratch Team also announced the news via the Front Page and the Announcements topic. The Scratch Lab homepage can be found at 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
|Caution:||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 because the extensions are not in Scratch's default and main editor. Doing so will result in a crash in the site. Opening a Scratch Lab project with the offline editor will cause it to load infinitely.|
There are currently three experimental features 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 Lab was announced.
show text [Welcome to my project!]:: extension— Prints text.
[rainbow v] text [Here we go!]:: 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 (200) aligned [left v]:: extension— Aligns text to left, center, or right.
It is possible to use any installed font in Scratch Lab. To do this:
- Create a new Scratch Lab 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 Lab, 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 Lab 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 a [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.
New Block Colors
New Block Colors changes block colors to be lighter and text to be black to be more accessible for users with eyesight disabilities, as well as following W3 WCAG Guidelines. The feature was released on 13th October 2022.
There is a "Give Feedback" button on each project page using the Lab Editor. This redirects the user to a Google Form. There are 2 different Forms, one for the Face Sensing extension, and another for the 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.
When Scratch Lab was first released, there was no homepage. As a result, there was a "Whoops! This Scratch Lab page doesn't exist" error when visiting lab.scratch.mit.edu The homepage was later added on April 30th, 2021.
- topic:481046 "Going to to the scratch lab front page (https://lab.scratch.mit.edu/) displays a 404 error."
- post:5186466 "Scratch Lab finally has a front page!"