Jump to content

Scratch (programming language): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5) (Whoop whoop pull up - 22367
 
(745 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{short description|Programming language learning environment}}
{{Short description|Programming language learning environment}}
{{about|the programming language|other uses|Scratch (disambiguation)}}
{{about|the programming language|other uses|Scratch (disambiguation)}}
{{pp-semi-indef|small=yes}}
{{Use dmy dates|date=October 2019}}
{{Multiple issues|
{{primary sources|date=February 2022}}
{{user-generated|date=October 2023}}
}}
{{Use dmy dates|date=February 2022}}

{{Infobox programming language
{{Infobox programming language
| logo = Scratchlogo.svg
| logo = Scratchlogo.svg
| logo caption = Logo used since 16 October 2015
| logo_alt = Scratch logo
| logo_alt = Scratch logo
| screenshot = Scratch 3.0 editor.png
| paradigm = [[Event-driven programming|Event-driven]], [[Visual programming language|visual]], [[Block-based programming language|block-based]] programming language
| screenshot caption = Scratch 3.0 editor
| year = {{Start date|2003}} (first prototype)<br />{{Start date|2004}} (second prototype)<br />{{Start date and age|2007|5|15}} (public launch)<ref>https://en.scratch-wiki.info/wiki/Scratch_Timeline#May</ref><br />{{Start date and age|2013|5|9}} (Scratch 2.0)<br /> {{Start date and age|2019|1|2}} (Scratch 3.0)|
| paradigm = [[Event-driven programming|Event-driven]], [[Visual programming language|block-based]] programming language
| year = {{plainlist|
* {{Start date and age|2003|10|11|df=y}} (prototype Scratch 0.1)<ref>{{cite conference|first1=John|last1=Maloney|first2=Leo|last2=Burd|first3=Yasmin|last3=Kafai|first4=Natalie|last4=Rusk|first5=Brian|last5=Silverman|first6=Mitchel|last6=Resnick|title=Scratch: A Sneak Preview|date=29-30 January 2004|url=https://www.researchgate.net/publication/221338134|via=ResearchGate|at=Section 6: Project status and next steps|conference=Second International Conference on Creating, Connecting and Collaborating through Computing|doi=10.1109/C5.2004.33}}</ref>
* {{Start date and age|2007|5|15|df=y}} (Scratch 1.0)<ref>{{cite web|url=https://en.scratch-wiki.info/wiki/Scratch_Timeline#May|title=Scratch Timeline – Scratch Wiki|website=en.scratch-wiki.info}}</ref>
* {{Start date and age|2013|5|9|df=y}} (Scratch 2.0)
* {{Start date and age|2019|1|2|df=y}} (Scratch 3.0)
}}
| latest_release_version = {{plainlist|
* Scratch 3.0 (online editor) / {{Start date and age|2019|1|2|df=y}}
* Scratch 3.29.1 (offline editor) / {{Start date and age|2022|2|27|df=y}}
}}
| developer = [[Scratch Foundation]]
| discontinued = No|
| influenced by = [[Logo (programming language)|Logo]], [[Smalltalk]], [[HyperCard]], [[StarLogo]], [[AgentSheets]], [[AgentCubes]], [[Etoys (programming language)|Etoys]]
| influenced by = [[Logo (programming language)|Logo]], [[Smalltalk]], [[HyperCard]], [[StarLogo]], [[AgentSheets]], [[AgentCubes]], [[Etoys (programming language)|Etoys]]
| influenced = [[ScratchJr]]<ref>https://www.scratchjr.org/</ref>, [[Snap! (programming language)|Snap''!'']]<ref>https://snap.berkeley.edu/</ref><ref>https://snap.berkeley.edu/about</ref>, [[mBlock]]
| influenced = [[Catrobat]],<ref>{{cite web|url=https://catrobat.org/|title=Catrobat Home|website=catrobat.org}}</ref>
[[ScratchJr]],<ref>{{cite web|url=https://scratchjr.org/|title=ScratchJr – Home|website=scratchjr.org}}</ref> [[Snap! (programming language)|Snap''!'']],<ref>{{cite web|url=https://snap.berkeley.edu/|title=Snap! Build Your Own Blocks|website=snap.berkeley.edu}}</ref> [[mBlock]], [[Turtlestitch]]
| programming language = [[Squeak (programming language)|Squeak]] (Scratch 0.x, 1.x)<br />[[ActionScript]] (Scratch 2.0)<br />[[JavaScript]] (Scratch 3.0)
| programming language = [[Squeak]] (Scratch 1.x)<br />[[ActionScript]] (Scratch 2.0)<ref name="david lee scratch 3.0">{{cite web|last=Lee |first=David| date=2018-12-28| title=What you need to know about Scratch 3.0|url=https://www.computhink.com.sg/what-you-need-to-know-about-scratch-3-0/|access-date=2024-02-09 |website=Computhink}}</ref><br />[[HTML5]], [[JavaScript]] (Scratch 3.0)<ref name="david lee scratch 3.0" /><ref name="flash to js">{{Cite web |last=Frang |first=Corey |date=2019-02-28 |title=Porting Scratch from Flash to JavaScript: Performance, Interoperability and Extensions |url=https://bocoup.com/blog/porting-scratch-from-flash-to-javascript-performance-interoperability-and-extensions |access-date=2024-02-09 |website=bocoup}}</ref>
| operating system = [[Microsoft Windows]], [[macOS]], [[Linux]] (via renderer), [[HTML5]]
| operating system = [[Microsoft Windows]], [[macOS]], [[Linux]] (via renderer), [[HTML5]] (via web browser), [[iOS]], [[iPadOS]], and [[Android (operating system)|Android]].
| license = [[GNU General Public License|GPLv2]] and Scratch Source Code License
| license = {{plainlist|*
| file_ext = .scratch (Scratch 0.x)<br />.sb, .sprite (Scratch 1.x)<br />.sb2, .sprite2 (Scratch 2.0)<br />.sb3, .sprite3 (Scratch 3.0)<br />
[[AGPLv3|GNU Affero General Public License]] (Scratch 3.0)<ref>{{cite web |title=Strengthening Our Commitment to Free and Open Source Software |url=https://www.scratchfoundation.org/open-source-license |website=Scratch Foundation |access-date=6 December 2024}}</ref>
*[[BSD licenses|BSD 3-Clause]] (earlier versions of 3.0),
*[[GNU General Public License|GPLv2]] and Scratch Source Code License (1.x)}}
| file_ext = .sb, .sprite (Scratch 1.x)<br />.sb2, .sprite2 (Scratch 2.0)<br />.sb3, .sprite3 (Scratch 3.0)
| website = {{URL|https://scratch.mit.edu/}}
| website = {{URL|https://scratch.mit.edu/}}
| latest version = Scratch 3.3.5.4 alpha (on [[Lego]])<br /> Scratch 3.0 (online)<br /> Scratch 3.6.0 (offline)
| repository = https://github.com/LLK/scratch-gui/
}}
}}


'''Scratch''' is a block-based [[visual programming language]] and website targeted primarily at children to help learn code.<ref name="MaloneyResnick2010">{{cite journal|last1=Maloney|first1=John|last2=Resnick|first2=Mitchel|last3=Rusk|first3=Natalie|authorlink3=Natalie Rusk|last4=Silverman|first4=Brian|last5=Eastmond|first5=Evelyn|title=The Scratch Programming Language and Environment|journal=ACM Transactions on Computing Education|volume=10|issue=4|year=2010|pages=1–15|issn=19466226|doi=10.1145/1868358.1868363|url=http://web.media.mit.edu/~jmaloney/papers/ScratchLangAndEnvironment.pdf}}</ref><ref name=all>{{cite journal |first1=Mitchel |last1=Resnick |first2=John |last2=Maloney |first3=Andrés |last3=Hernández |first4=Natalie |last4=Rusk|authorlink4=Natalie Rusk |first5=Evelyn |last5=Eastmond |first6=Karen |last6=Brennan |first7=Amon |last7=Millner |first8=Eric |last8=Rosenbaum |first9=Jay |last9=Silver |first10=Brian |last10=Silverman |first11=Yasmin |last11=Kafai |title=Scratch: Programming for All |url=https://web.media.mit.edu/~mres/papers/Scratch-CACM-final.pdf|journal=[[Communications of the ACM]] |volume=52 |issue=11 |pages=60–67 |year=2009 |doi=10.1145/1592761.1592779}}</ref> Users of the site can create online projects using a block-like interface. The service is developed by the [[MIT Media Lab]], has been translated into 70+ languages, and is used in most parts of the world.<ref name="statistics">{{cite web |url=https://scratch.mit.edu/statistics/ |title=Community statistics at a glance |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20160406023520/https://scratch.mit.edu/statistics/ |archive-date=2016-04-06 |url-status=live }}</ref> Scratch is taught and used in after-school centers, schools, and colleges, as well as other public knowledge institutions. As of September 2020, community statistics on the language's official website show more than 59 million projects shared by over 58 million users, and almost 36 million monthly website visits.<ref name="statistics" />
'''Scratch''' is a [[High-level programming language|high-level]], block-based [[visual programming language]] and website aimed primarily at children as an educational tool, with a target audience of ages 8 to 16.<ref>{{Cite web |title=KS1 / KS2 Computing: Programming a robot crocodile |url=https://www.bbc.co.uk/teach/class-clips-video/articles/z4hpy9q |access-date=2024-12-08 |website=BBC Teach |language=en-GB}}</ref><ref name=":3">{{cite web |last=scratch |first=scratch |date=11 October 2022 |title=Scratch About |url=https://scratch.mit.edu/about#:~:text=but%20is%20used%20by%20people%20of%20all%20ages. |website=scratch.mit.edu}}</ref> Users on the site can create projects on the website using a block-like interface. Scratch was conceived and designed through collaborative [[National Science Foundation]] grants awarded to [[Mitchel Resnick]] and [[Yasmin Kafai]].<ref name=":0" /> Scratch is developed by the [[MIT Media Lab]] and has been translated into 70+ languages, being used in most parts of the world. Scratch is taught and used in after-school centers, schools, and colleges, as well as other public knowledge institutions. As of 15 February 2023, community statistics on the language's official website show more than 123 million projects shared by over 103 million users, and more than 95 million monthly website visits.<ref name="statistics">{{cite web |title=Community statistics at a glance |url=https://scratch.mit.edu/statistics/ |url-status=live |archive-url=https://web.archive.org/web/20160406023520/https://scratch.mit.edu/statistics/ |archive-date=6 April 2016 |access-date=18 May 2019 |website=scratch.mit.edu}}</ref> Overall, over 1 billion total projects have been created (including unshared projects), with the site reaching its 1,000,000,000th project in April 2024.


Scratch takes its name from a technique used by [[disk jockey]]s called "[[scratching]]", where vinyl records are clipped together and manipulated on a turntable to produce different sound effects and music. Like scratching, the website lets users mix together different media (including graphics, sound, and other programs) in creative ways by creating and remixing projects, like [[video games]] and animations.<ref name="ScholarWorks">{{cite journal |last1=Lamb |first1=Annette |last2=Johnson |first2=Larry |date=April 2011 |title=Scratch: Computer Programming for 21st Century Learners |url=https://scholarworks.iupui.edu/bitstream/handle/1805/8622/38-4.pdf?sequence=1 |format=PDF |journal=Teacher Librarian |volume=38 |issue=4 |pages=64–68 |access-date=2019-05-18}}</ref><ref>{{cite news |url=https://news.mit.edu/2007/resnick-scratch |title=Creating from Scratch |newspaper=MIT News |first=Stephanie |last=Schorow |date=2007-05-14 |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20181013032644/http://news.mit.edu/2007/resnick-scratch |archive-date=2018-10-13 |url-status=live }}</ref>
Scratch takes its name from a technique used by [[disk jockey]]s called "[[scratching]]", where vinyl records are clipped together and manipulated on a turntable to produce different sound effects and music. Like scratching, the website lets users mix together different media (including graphics, sound, and other programs) in creative ways by creating and "remixing" projects, like [[video games]], [[animations]], [[music]], and [[simulations]].<ref>{{cite news |url=https://news.mit.edu/2007/resnick-scratch |title=Creating from Scratch |newspaper=MIT News |first=Stephanie |last=Schorow |date=14 May 2007 |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20181013032644/http://news.mit.edu/2007/resnick-scratch |archive-date=13 October 2018 |url-status=live }}</ref>


== Scratch 3.0 ==
== Scratch 3.0 ==

=== Scratch Updates ===

Scratch 3.0 was made because they were switching versions from Flash to HTML5. And to note, Scratch is updated every once in a while. Sometimes the only thing that would show on Scratch would be a thumbnail that says the Scratch Team is making changes to the website.

=== User interface ===
=== User interface ===
[[File:Dialogo scratch Best Friends 1.png|thumb|A program to change the background and make a sprite speak]]
The Scratch interface is divided into three main sections: a ''stage area'', ''block palette'', and a coding area to place and arrange the blocks into scripts that can be run by pressing the green flag or clicking on the code itself.
Users may also create their own code blocks and they will appear in "My Blocks".
The Scratch interface is divided into three main sections: a ''stage area'', ''block palette'', and a coding area to place and arrange the blocks into scripts that can be run by pressing the green flag or clicking on the code itself. Users may also create their own code blocks, which will appear in the "My Blocks" section.


The ''stage area'' features the results (e.g., [[animation]]s, [[turtle graphics]], either in a small or normal size, with a full-screen option also available) and all [[Sprite (computer graphics)|sprites]]' thumbnails being listed in the bottom area. The stage uses x and y [[Coordinate system|coordinates]], with 0,0 being the stage center.<ref name="LearnToProgram" />
[[File:Scratch 3.0.jpg|alt=|thumb|The Scratch 3.0 development environment on startup.]]
The ''stage area'' features the results (e.g., animations, [[turtle graphics]], either in a small or normal size, with a full-screen option also available) and all sprites thumbnails being listed in the bottom area. The stage uses x and y [[Coordinate system|coordinates]], with 0,0 being the stage center.<ref name="LearnToProgram" />


With a sprite selected at the bottom of the staging area, blocks of commands can be applied to it by dragging them from the block palette into the coding area. The Costumes tab allows users to change the look of the sprite in order to create various effects, including animation.<ref name="LearnToProgram" /> The Sounds tab allows attaching sounds and music to a sprite.<ref name="sciencebuddies.org" />
With a sprite selected at the bottom of the staging area, blocks of code can be applied by dragging them from the block palette into the coding area. The Costumes tab allows users to change the look of the sprite with a [[Vector graphics|vector]] and [[bitmap]] editor in order to create various effects, including animation.<ref name="LearnToProgram" /> The Sounds tab allows attaching sounds and music to a sprite.<ref name="sciencebuddies.org" />


When creating sprites and backgrounds, users can draw their own sprite manually,<ref name="LearnToProgram" /> choose a Sprite from the library, or upload an image.<ref name="sciencebuddies.org">{{cite web |title=Science Buddies: Scratch User Guide: Installing & Getting Started with Scratch |url=https://www.sciencebuddies.org/science-fair-projects/references/installing-getting-started-with-scratch |website=ScienceBuddies.org |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123252/https://www.sciencebuddies.org/science-fair-projects/references/installing-getting-started-with-scratch |archive-date=2019-05-18 |url-status=live }}</ref>
When creating sprites and also backgrounds, users can draw their own sprites manually,<ref name="LearnToProgram" /> choose a sprite from the library, or upload an image.<ref name="sciencebuddies.org">{{cite web |title=Science Buddies: Scratch User Guide: Installing & Getting Started with Scratch |url=https://www.sciencebuddies.org/science-fair-projects/references/installing-getting-started-with-scratch |website=ScienceBuddies.org |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123252/https://www.sciencebuddies.org/science-fair-projects/references/installing-getting-started-with-scratch |archive-date=2019-05-18 |url-status=live }}</ref>


The table below shows the categories of the programming blocks:
The table below shows the categories of the programming blocks:
{| class="wikitable" style="text-align: left"
{| class="wikitable"
|+Block categories in Scratch
! colspan="2" | Category
! Notes
|-
|-
| style="background:#4c97ff;" |
! colspan="2" style="background: #efefef;" | Category !! Notes !! style="background:white;" | &nbsp;&nbsp; !! colspan="2" style="background: #efefef;" | Category !! Notes
| Motion
|- valign="top"
| Movements of sprites, like angles and directions.
| bgcolor="#3385ff" | &nbsp; || Motion || Movements of sprites like angles and position || rowspan="5" bgcolor="white"| &nbsp;&nbsp; || bgcolor="#4da6ff" | &nbsp; || Sensing || Sprites can interact with the surroundings
|-
|- valign="top"
| style="background:#9966ff;" |
| bgcolor="#8000ff" | &nbsp; || Looks || Controls the visuals of the sprite|| bgcolor="#00b300" | &nbsp; || Operators || Mathematical operators, comparisons
| Looks
|- valign="top"
| Controls the visuals of the sprite.
| bgcolor="#b300b3" | &nbsp; || Sound || Plays [[audio files]] and effects|| bgcolor="#e68a00" |&nbsp; || Variables || Variable and List usage and assignment
|-
|- valign="top"
| style="background:#cf5acf;" |
| bgcolor="#ffd633" | &nbsp; || Events || Event handlers || bgcolor="#ff4d88" | &nbsp; || My Blocks || Allows defining [[functions (computer science)|functions]] which have no return value
| Sound
|- valign="top"
| Plays [[audio files]] and effects.
| bgcolor="#ff8c1a" | &nbsp; || Control || Conditionals and loops etc. || bgcolor="#0fbd8c" | &nbsp; || Extensions || Explained below
|-
| style="background:#ffbf00;" |
| Events
| Event handlers and broadcasters.
|-
| style="background:#ffab19;" |
| Control
| Conditionals, loops, and cloning.
|-
| style="background:#5cb1d6;" |
| Sensing
| [[Sprite (computer graphics)|Sprites]] can interact with other sprites, the mouse pointer, and the backdrop.
|-
| style="background:#52b55a;" |
| Operators
| Mathematical [[operator (computer programming)|operators]], conjunctions, and comparisons .
|-
| style="background:#ff8c1a;" |
| Variables
| Blocks to access and set [[variable (computer science)|variables]]. Cloud variables are synced across all running versions of the project.
|-
| style="background:#ff4c00;" |
| Lists
| Blocks to access and interact with [[Array (data type)|lists]].
|-
| style="background:#ff4d88;" |
| My Blocks
| User-defined [[Subroutine|functions]], accessible as blocks. They can have inputs and have the option to run without a screen refresh.
|-
| style="background:#0fbd8c;" |
| Extensions
| Extra categories (e.g. Pen, Music) of blocks that can be added to a project at any time.
|}
|}


=== Offline editing ===
=== Offline editing ===
[[File:Scratch Beginner Scripts.png|alt=One of the 4 different scripts for the getting started built-in tutorial.|thumb|Four different scripts for the getting started built-in tutorial.]]
An offline "desktop editor" is available for Microsoft Windows 10 in Microsoft store and Apple's macOS 10.13;<ref>{{cite web |title=Scratch Desktop |url=https://scratch.mit.edu/download |accessdate=19 September 2019}}</ref> this allows the creation and playing of Scratch programs locally, without an Internet connection. The offline editor can also be downloaded in previous versions, such as [https://scratch.mit.edu/download/scratch2 Scratch 2.0] and [https://scratch.mit.edu/scratch_1.4 Scratch 1.4].
An offline "Desktop Editor" for Scratch 3.0 is available for Microsoft [[Windows 10]] and above in the Microsoft Store, Apple's macOS, ChromeOS, and Android;<ref>{{cite web |title=Scratch Desktop |url=https://scratch.mit.edu/download |access-date=19 September 2019}}</ref> this allows the creation and playing of Scratch programs offline. The offline editor can also be downloaded in previous versions, such as Scratch 2.0 and Scratch 1.4 (an archive of older versions is found [https://scratcharchive.naleksuh.com/ here]).


=== Extensions ===
=== Extensions ===
In Scratch, extensions add extra blocks and features that can be used in projects. In Scratch 2.0 and 3.0, the extensions were all hardware-based. Software-based extensions were added in Scratch 3.0, such as text-to-speech voices, along with some new hardware-based extensions like the [[Micro Bit|micro:bit]]. The extensions are listed below.
In Scratch, extensions add extra blocks and features that can be used in projects. In Scratch 2.0, the extensions were all hardware-based and Pen was a normal category. Software-based extensions were added in Scratch 3.0, such as text-to-speech voices, along with some new hardware-based extensions like the [[Micro Bit|micro:bit]]. The extensions are listed below.


[[File:Scratch Extensions Page.png|thumb|389x389px|An example of the Scratch 3 Extensions Page.]]
[[Music]], [[Pen]], [[Video sensor technology|Video Sensing]], Text to Speech, [[Translation|Translate]], [[BBC micro:bit|BBC Micro:bit]], [[Lego Mindstorms EV3|LEGO Mindstorms EV3]], LEGO WeDo 2.0, LEGO SPIKE Prime, LEGO BOOST, and Go Direct Force & Acceleration


==== Physical ====
==== Physical ====
* [[Lego Mindstorms EV3]] – control motors and receive sensor data from the Lego Mindstorms EV3
* [[Lego Mindstorms EV3|LEGO Mindstorms EV3]] – Control motors and receive sensor data from the Lego Mindstorms EV3
* [[Makey Makey]] – use the Makey Makey to control projects
* [[Makey Makey]] – Use Makey Makey to control projects
* [[LEGO|Lego]] Education WeDo 2.0 – control motors and receive sensor data from the Lego WeDo
* [[Lego Education#WeDo|LEGO Education WeDo 2.0]] – control motors and receive sensor data from the Lego WeDo
* [[Micro Bit|micro:bit]] – Use of a micro:bit to control projects
*[[Lego]] Education SPIKE Prime -- The main programming language for the Lego SPIKE Prime, including motor control and receiving sensor data
* LEGO BOOST – Bring robotic creations to life
* [[BBC micro:bit]] – use of a BBC micro:bit to control projects
* Go Direct Force & Acceleration – Sense pull, push, motion, and spin
* Lego BOOST – bring robotic creations to life
* Go Direct Force & Acceleration – Sense pull, push, motion, and spin.
* Go Direct Force & Acceleration - Sense pull, push, motion, and spin.


==== Digital ====
==== Digital ====
Many of the digital extensions in Scratch 3.0 used to be regular block categories that were moved to the extensions section to reduce clutter. These include:
Many of the digital extensions in Scratch 3.0 used to be regular block categories that were moved to the extensions section to reduce clutter. These include:
* Music – Play digital instruments (drums, trumpets, violins, pianos and more)
* Music – Play digital instruments (drums, trumpets, violins, pianos, and more). Previously part of the Sound category.
* Pen – Draw on the Stage with a variety of thicknesses and color
* Pen – Draw on the Stage with a variety of thicknesses and color. Previously a normal block category.
* Video Sensing – Detect motion with the camera.
* Video Sensing – [[Optical flow|Detect motion]] with the camera. Previously in the Sensing category.


New digital extensions have also been added in collaborations with commercial companies. These include:
New digital extensions have also been added in collaborations with commercial companies. These include:
* Text to Speech – Converts words in a text into voice output (variety of voices, supplied by [[Amazon (company)|Amazon]])
* Text to Speech – Converts words in a text into voice output (variety of voices, supplied by Amazon)
* Translate – Uses [[Google Translate]] to translate text from one language into a variety of other languages, including Arabic, Chinese, Dutch, English, French, Greek, and Japanese
* Translate – Uses [[Google Translate]] to translate text from one language into a variety of other languages, including Arabic, Chinese, Dutch, English, French, Greek, Norwegian, and Japanese
* Makey Makey – Options for better key pressing and press multiple keys in order. You can grab a join block if you want more control on the extension.
A paper published in 2019 by [[New York University|NYU]] argues and illustrates, for coding music with Scratch, "that the music and sound blocks as currently implemented in Scratch may limit and frustrate meaningful music-making for children, the core user base for Scratch."<ref>{{cite web |date=16 May 2019 |title=Music Making in Scratch: High Floors, Low Ceilings, and Narrow Walls? / |url=https://jitp.commons.gc.cuny.edu/music-making-in-scratch-high-floors-low-ceilings-and-narrow-walls/ |accessdate=2022-02-27 |publisher=Jitp.commons.gc.cuny.edu}}</ref>


=== Scratch Lab ===
Users can also create their own extensions for Scratch 3.0 using [[JavaScript]].<ref>{{cite web |title=Scratch 3.0 Extensions |url=https://github.com/LLK/scratch-vm/blob/develop/docs/extensions.md |website=Github |publisher=MIT |accessdate=19 September 2019}}</ref>
The Scratch Lab<ref>{{Cite web |title=Scratch Lab |url=https://lab.scratch.mit.edu/ |access-date=27 September 2023 |website=lab.scratch.mit.edu}}</ref> displays experiments from the Scratch Team, intended to explore whether new features may be added to the full website in the future. Experimental features currently under development include:

* Video Sprites – Fill sprites with live video.
=== Code base ===
* Face Sensing – Make animated costumes and games that interact with your face.
Scratch 3.0 is a completely new JavaScript-based codebase made up of multiple components such as "Scratch-GUI," now based on a library from [[Blockly]],<ref>{{cite news |last1=Pasternak |first1=Erik |title=Scratch 3.0's new programming blocks, built on Blockly |url=https://developers.googleblog.com/2019/01/scratch-30s-new-programming-blocks.html |accessdate=2 October 2019 |date=17 January 2019}}</ref> "Scratch-VM," which interprets code, and "Scratch-Render," the rendering engine.<ref>{{cite news |last1=Frang |first1=Corey |title=Porting Scratch from Flash to Javascript |url=https://bocoup.com/blog/porting-scratch-from-flash-to-javascript-performance-interoperability-and-extensions |accessdate=21 September 2019 |date=28 February 2019}}</ref> The Scratch Blocks are made using Blockly.<ref>[https://developers.google.com/blockly "Google and the MIT Media Lab’s Scratch Team are collaborating on the development of a new generation of graphical programming blocks, called Scratch Blocks. Scratch Blocks builds on Google’s Blockly technology and the Scratch team’s expertise in designing creative interfaces for young learners."]</ref>
* Animated Text – Bring words to life with colours, fonts, and animations.


== Community of users ==
== Community of users ==
[[File:Scratch (programming language) 2007.PNG|thumb|The Scratch website after the release of public project sharing in late 2007]]
[[File:The MADE Scratch Workshop.jpg|left|thumb|A Scratch programming workshop]]
Scratch is used in many different settings: schools,<ref>{{cite news |url=https://www.ctvnews.ca/sci-tech/canadian-schools-starting-to-teach-computer-coding-to-kids-1.1799365 |title=Canadian schools starting to teach computer coding to kids |publisher=[[CTV.ca]] |access-date=2019-05-18 |date=2014-04-30 |first=Michael |last=Oliveira |archive-url=https://web.archive.org/web/20190518123251/https://www.ctvnews.ca/sci-tech/canadian-schools-starting-to-teach-computer-coding-to-kids-1.1799365 |archive-date=2019-05-18 |url-status=live }}</ref> [[museum]]s,<ref>{{cite web |url=http://www.smm.org/ltc/scratchday |title=Scratch Day |website=Science Museum of Minnesota |access-date=2019-05-18 |url-status=dead |archive-url=https://web.archive.org/web/20130408060603/http://www.smm.org/ltc/scratchday |archive-date=2013-04-08}}</ref> [[library|libraries]],<ref name="ScholarWorks" /> [[Community centre|community centers]], and homes. Although Scratch's targeted user age group is 8–16<ref>https://scratch.mit.edu/about</ref> years of age, but is used by all ages. Scratch has also been created for educators and parents. This wide outreach has created many surrounding communities, both physical and digital.<ref name="statistics" /> In April 2020, the Tiobe ranking of the world’s programming languages included Scratch into the top 20. According to Tiobe, there are 50 million projects written in Scratch, and every month one million new projects are added.<ref>{{Cite web|url=https://devclass.com/2020/04/06/kids-programming-language-scratch-nails-top-20-in-latest-dev-rankings/|title=Kids programming language Scratch nails top 20 in latest dev rankings • DEVCLASS|last=Fay|first=Joe|date=2020-04-06|website=DEVCLASS|language=en-GB|access-date=2020-04-27}}</ref>
Scratch is used in many different settings: schools, [[museum]]s, [[library|libraries]], [[Community centre|community centers]], and homes.<ref>{{cite news |url=https://www.ctvnews.ca/sci-tech/canadian-schools-starting-to-teach-computer-coding-to-kids-1.1799365 |title=Canadian schools starting to teach computer coding to kids |publisher=[[CTV.ca]] |access-date=2019-05-18 |date=2014-04-30 |first=Michael |last=Oliveira |archive-url=https://web.archive.org/web/20190518123251/https://www.ctvnews.ca/sci-tech/canadian-schools-starting-to-teach-computer-coding-to-kids-1.1799365 |archive-date=2019-05-18 |url-status=live }}</ref><ref>{{cite web |url=http://www.smm.org/ltc/scratchday |title=Scratch Day |website=Science Museum of Minnesota |access-date=18 May 2019 |url-status=dead |archive-url=https://web.archive.org/web/20130408060603/http://www.smm.org/ltc/scratchday |archive-date=2013-04-08}}</ref><ref name="ScholarWorks">{{cite journal |last1=Lamb |first1=Annette |last2=Johnson |first2=Larry |date=April 2011 |title=Scratch: Computer Programming for 21st Century Learners |url=https://scholarworks.iupui.edu/bitstream/handle/1805/8622/38-4.pdf?sequence=1 |format=PDF |journal=Teacher Librarian |volume=38 |issue=4 |pages=64–68 |access-date=18 May 2019}}</ref> Scratch is designed primarily for users aged 8–16, but it is used by all ages and has a sizeable adult user base as of 2009.<ref name=":3" /><ref name="all">{{cite journal|last1=Resnick|first1=Mitchel|last2=Maloney|first2=John|last3=Hernández|first3=Andrés|last4=Rusk|first4=Natalie|author-link4=Natalie Rusk|last5=Eastmond|first5=Evelyn|last6=Brennan|first6=Karen|last7=Millner|first7=Amon|last8=Rosenbaum|first8=Eric|last9=Silver|first9=Jay|last10=Silverman|first10=Brian|last11=Kafai|first11=Yasmin|year=2009|title=Scratch: Programming for All|url=https://web.media.mit.edu/~mres/papers/Scratch-CACM-final.pdf|journal=[[Communications of the ACM]]|volume=52|issue=11|pages=60–67|doi=10.1145/1592761.1592779|s2cid=229934947 }}</ref> This wide outreach has created many surrounding communities, both physical and digital.<ref name="statistics" /> In April 2020, the Tiobe ranking of the world's programming languages included Scratch in the top 20. According to Tiobe, there are 50 million projects written in Scratch, and every month one million new projects are added.<ref>{{cite web|url=https://devclass.com/2020/04/06/kids-programming-language-scratch-nails-top-20-in-latest-dev-rankings/|title=Kids programming language Scratch nails top 20 in latest dev rankings • DEVCLASS|last=Fay|first=Joe|date=6 April 2020|website=DEVCLASS|language=en-GB|access-date=2020-04-27}}</ref>


=== Educational users ===
=== Educational users ===
Scratch is popular in the United Kingdom and United States through [[Code Club]]s. Scratch is used as the introductory language because the creation of interesting programs is relatively easy, and skills learned can be applied to other programming languages such as [[Python (programming language)|Python]] and [[Java (programming language)|Java]].
Scratch is used as the introductory language because the creation of interesting programs is relatively easy, and skills learned can be applied to other programming languages such as [[Python (programming language)|Python]] and [[Java (programming language)|Java]].
[[File:Comparison of Scratch 1.4 and Scratch 2.png|thumb|Comparison of Scratch 1.4 and Scratch 2]]


Scratch is not exclusively for creating games. With the provided visuals, programmers can create animations, text, stories, music, and more. There are already many programs which students can use to learn topics in math, history, and even photography. Scratch allows teachers to create conceptual and visual lessons and science lab assignments with animations that help visualize difficult concepts. Within the social sciences, instructors can create quizzes, games, and tutorials with interactive elements. Using Scratch allows young people to understand the logic of programming and how to creatively build and collaborate.<ref>{{cite web |url=https://www.avinteractive.com/features/blogs/scratch-av-25-06-2015/ |title=What is Scratch? Is it AV or IT? |date=2015-06-25 |access-date=2019-05-18 |website=AV Magazine |last=Martin |first=Neil |archive-url=https://web.archive.org/web/20190518123255/https://www.avinteractive.com/features/blogs/scratch-av-25-06-2015/ |archive-date=2019-05-18 |url-status=live }}</ref>
Scratch is not exclusively for creating games. With the provided visuals, programmers can create animations, text, stories, music, art, and more. There are already many programs that students can use to learn topics in math, history, and even photography. Scratch allows teachers to create conceptual and visual lessons and science lab assignments with animations that help visualize difficult concepts. Within the social sciences, instructors can create quizzes, games, and tutorials with interactive elements. Using Scratch allows young people to understand the logic of programming and how to creatively build and collaborate.<ref>{{cite web |url=https://www.avinteractive.com/features/blogs/scratch-av-25-06-2015/ |title=What is Scratch? Is it AV or IT? |date=25 June 2015 |access-date=18 May 2019 |website=AV Magazine |last=Martin |first=Neil |archive-url=https://web.archive.org/web/20190518123255/https://www.avinteractive.com/features/blogs/scratch-av-25-06-2015/ |archive-date=18 May 2019 |url-status=live }}</ref>


Scratch is taught to more than 800 schools and 70 colleges of [[D.A.V. College Managing Committee|DAV organization]] in [[India]] and across the world.<ref>{{cite web |title=DAV CS Syllabus |url=http://davnewpanvel.com/File/5651/Syllabus%20Std-VII%202018-19.pdf |format=PDF |access-date=2019-05-18 |url-status=dead |archive-url=https://web.archive.org/web/20180713122300/http://davnewpanvel.com/File/5651/Syllabus%20Std-VII%202018-19.pdf |archive-date=2018-07-13}}</ref><ref>{{cite web |title=DAV Jharkhand Syllabus |url=https://drive.google.com/file/d/0BzYkgDPSlegKbFFncEdwV3czVU0/view |access-date=2019-05-18}}</ref>
Scratch is taught to more than 800 schools and 70 colleges of the [[D.A.V. College Managing Committee|DAV organization]] in India and across the world.<ref>{{cite web |title=DAV CS Syllabus |url=http://davnewpanvel.com/File/5651/Syllabus%20Std-VII%202018-19.pdf |access-date=2019-05-18 |url-status=dead |archive-url=https://web.archive.org/web/20180713122300/http://davnewpanvel.com/File/5651/Syllabus%20Std-VII%202018-19.pdf |archive-date=2018-07-13}}</ref><ref>{{cite web |title=DAV Jharkhand Syllabus |url=https://drive.google.com/file/d/0BzYkgDPSlegKbFFncEdwV3czVU0/view |access-date=18 May 2019}}</ref>


In higher education, Scratch is used in the first week of Harvard University's [[CS50]] introductory computer science course.<ref>{{cite news |title=Fun, Not Fear, Is at the Heart of Scratch, a New Programming Language |url=https://www.chronicle.com/article/Fun-Not-Fear-Is-at-the-Heart/34008/ |newspaper=The Chronicle of Higher Education |date=2007-07-20 |access-date=2019-05-18 |issn=0009-5982 |first=Jeffrey R. |last=Young |archive-url=https://web.archive.org/web/20190518123249/https://www.chronicle.com/article/Fun-Not-Fear-Is-at-the-Heart/34008/ |archive-date=2019-05-18 |url-status=live }}</ref><ref>{{cite web |title=CS50 Syllabus |url=https://cdn.cs50.net/2015/x/references/syllabus/syllabus.html |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20150317075307/http://cdn.cs50.net/2015/x/references/syllabus/syllabus.html |archive-date=2015-03-17 |url-status=live }}</ref>
In higher education, Scratch is used in the first week of Harvard University's [[CS50]] introductory computer science course.<ref>{{cite news |title=Fun, Not Fear, Is at the Heart of Scratch, a New Programming Language |url=https://www.chronicle.com/article/Fun-Not-Fear-Is-at-the-Heart/34008/ |newspaper=The Chronicle of Higher Education |date=20 July 2007 |access-date=18 May 2019 |issn=0009-5982 |first=Jeffrey R. |last=Young |archive-url=https://web.archive.org/web/20190518123249/https://www.chronicle.com/article/Fun-Not-Fear-Is-at-the-Heart/34008/ |archive-date=18 May 2019 |url-status=live }}</ref><ref>{{cite web |title=CS50 Syllabus |url=https://cdn.cs50.net/2015/x/references/syllabus/syllabus.html |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20150317075307/http://cdn.cs50.net/2015/x/references/syllabus/syllabus.html |archive-date=17 March 2015 |url-status=live }}</ref>


=== Online community ===
=== Online community ===
[[File:Jumper platformer.png|thumb|"Jumper", an example of a game created with Scratch]]
[[File:Jumper platformer.png|thumb|[https://scratch.mit.edu/projects/103069687/ "Jumper"], an example of a game created with Scratch 2.0]]
[[File:Shadow on Scratch.png|thumb|alt=Shadow on Scratch|[https://scratch.mit.edu/projects/674693575/ "Shadow"], an example of a game created with Scratch 3.0]]
On Scratch, members have the capability to share their projects and get feedback. Projects can be uploaded directly from the development environment to the Scratch website and any member of the community can download the full source code to study or to remix into new projects.<ref>{{cite book |title=Proceedings of the 29th International Conference on Human Factors in Computing Systems (CHI '11) |last1=Monroy-Hernandez |first1=Andres |last2=Hill |first2=Benjamin Mako |last3=Gonzalez-Rivero |first3=Jazmin |last4=Boyd |first4=Danah |publisher=ACM |year=2011 |pages=3421–30 |chapter=Computers Can't Give Credit: How Automatic Attribution Falls Short in an Online Remixing Community |doi=10.1145/1978942.1979452 |arxiv=1507.01285}}</ref><ref>{{cite book |title=ICWSM 2010 : Proceedings of the Fourth International Conference on Weblogs and Social Media, May 23–26, 2010 |last1=Hill |first1=B.M |last2=Monroy-Hernández |first2=A. |last3=Olson |first3=K.R. |publisher=AAAI Press |year=2010 |isbn=978-1-57735-445-1 |location=Washington, D.C. |chapter=Responses to remixing on a social media sharing website |oclc=844857775 |arxiv=1507.01284 |bibcode=2015arXiv150701284M}}</ref> Members can also create project studios, comment, tag, favorite, and "love" others' projects, follow other members to see their projects and activity, and share ideas. Projects range from games to animations to practical tools. Additionally, to encourage creation and sharing amongst users, the website frequently establishes "Scratch Design Studio" challenges.<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_Design_Studio |title=Scratch Design Studio |website=wiki.scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123252/https://en.scratch-wiki.info/wiki/Scratch_Design_Studio |archive-date=2019-05-18 |url-status=live }}</ref>
Users of Scratch are called "Scratchers". Scratchers have the capability to share their projects and receive feedback. Projects can be uploaded directly from the development environment to the Scratch website and any member of the community can view and download the full source code to study or to remix into new projects.<ref>{{cite book |title=Proceedings of the 29th International Conference on Human Factors in Computing Systems (CHI '11) |last1=Monroy-Hernandez |first1=Andres |last2=Hill |first2=Benjamin Mako |last3=Gonzalez-Rivero |first3=Jazmin |last4=Boyd |first4=Danah |publisher=ACM |year=2011 |pages=3421–30 |chapter=Computers Can't Give Credit: How Automatic Attribution Falls Short in an Online Remixing Community |doi=10.1145/1978942.1979452 |arxiv=1507.01285|s2cid=7494330 }}</ref><ref>{{cite book |title=ICWSM 2010: Proceedings of the 4th International Conference on Weblogs and Social Media, May 23–26, 2010 |last1=Hill |first1=B.M |last2=Monroy-Hernández |first2=A. |last3=Olson |first3=K.R. |publisher=AAAI Press |year=2010 |isbn=978-1-57735-445-1 |location=Washington, D.C. |chapter=Responses to remixing on a social media sharing website |oclc=844857775 |arxiv=1507.01284 |bibcode=2015arXiv150701284M}}</ref> Scratchers can also create project studios, comment, favorite, and "love" others' projects, follow other members to see their projects and activity, and share ideas. Projects range from games and animations to practical tools. Additionally, to encourage the creation and sharing amongst users, the website frequently establishes "Scratch Design Studio" challenges.<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_Design_Studio |title=Scratch Design Studio |website=wiki.scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123252/https://en.scratch-wiki.info/wiki/Scratch_Design_Studio |archive-date=18 May 2019 |url-status=live }}</ref>


The MIT Scratch Team works to ensure that this community maintains a friendly and respectful environment for all people.<ref name="parents">{{cite web |url=https://scratch.mit.edu/parents/ |title=For Parents |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190404210527/https://scratch.mit.edu/parents |archive-date=2019-04-04 |url-status=live }}</ref><ref>{{cite web |url=https://scratch.mit.edu/community_guidelines |title=Scratch Community Guidelines |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190407171658/https://scratch.mit.edu/community_guidelines/ |archive-date=2019-04-07 |url-status=live }}</ref>
The MIT Scratch Team works to ensure that this community maintains a friendly and respectful environment for all people.<ref name="parents">{{cite web |url=https://scratch.mit.edu/parents/ |title=For Parents |website=scratch.mit.edu |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190404210527/https://scratch.mit.edu/parents |archive-date=4 April 2019 |url-status=live }}</ref><ref>{{cite web |url=https://scratch.mit.edu/community_guidelines |title=Scratch Community Guidelines |website=scratch.mit.edu |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190407171658/https://scratch.mit.edu/community_guidelines/ |archive-date=7 April 2019 |url-status=live }}</ref>


Educators have their own online community called ScratchEd, developed and supported by the Harvard Graduate School of Education. In this community, Scratch educators share stories, exchange resources, and ask questions.<ref>{{cite web |url=https://scratch.mit.edu/educators |title=Scratch for Educators |website=scratch.mit.edu |access-date=2010-05-18 |archive-url=https://web.archive.org/web/20081005234300/http://scratch.mit.edu/educators |archive-date=2008-10-05 |url-status=live }}</ref>
Educators have their own online community called ScratchEd, developed and supported by the Harvard Graduate School of Education. In this community, Scratch educators share stories, exchange resources, and ask questions.<ref>{{cite web |url=https://scratch.mit.edu/educators |title=Scratch for Educators |website=scratch.mit.edu |access-date=18 May 2010 |archive-url=https://web.archive.org/web/20081005234300/http://scratch.mit.edu/educators |archive-date=5 October 2008 |url-status=live }}</ref>


=== Scratch Wiki ===
=== Scratch Wiki ===
The Scratch Wiki is a support resource for Scratch and its website, history, and phenomena surrounding it. Although supported by the Scratch Team (developers of Scratch), it is primarily written by Scratchers (users of Scratch) for information regarding the program and website.<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_Wiki |title=Scratch Wiki |website=en.scratch-wiki.info |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190512210211/https://en.scratch-wiki.info/wiki/Scratch_Wiki |archive-date=2019-05-12 |url-status=live }}</ref>
The Scratch Wiki is a support resource for Scratch and information about its website, history, and phenomena surrounding it. Although supported by the Scratch Team (the developers of Scratch), it is primarily written by Scratch users (Scratchers) and is hosted independently of the main Scratch website.<ref name=":1">{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_Wiki |title=Scratch Wiki |website=en.scratch-wiki.info |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190512210211/https://en.scratch-wiki.info/wiki/Scratch_Wiki |archive-date=12 May 2019 |url-status=live }}</ref> There are other wikis in languages besides English available on the Scratch Wiki [https://scratch-wiki.info/ base domain].


=== Developers ===
=== Roles ===
Roles are displayed as a label under a user's username on profile pages and on forum posts. To prevent [[vandalism]], new accounts have the "New Scratcher" role, as opposed by the usual "Scratcher" role. Some restrictions are imposed onto New Scratcher accounts, including the inability to use cloud data and a minimum 30 second cooldown period between posting comments.<ref>{{cite web|title=An explanation of the 'New Scratcher' status|url=https://scratch.mit.edu/discuss/post/44802/|website=Discuss Scratch|date=June 1, 2013|author=jvvg|access-date=January 11, 2024}}</ref> After a period of time of interacting and creating projects, an account will be eligible to gain the Scratcher role.<ref>{{Cite web |url=https://mitscratch.freshdesk.com/en/support/solutions/articles/4000177710 |title=What is a Scratcher and how do I become one? |date=2021-11-04 |access-date=2024-02-10 |website=mitscratch.freshdesk.com}}</ref>
Both Scratch 2.0 and 3.0 are open source on [[GitHub]], and developers may contribute to Scratch.<ref>{{cite web|url=https://scratch.mit.edu/developers|title=For developers}}</ref>

Official [[Internet forum#Moderators|moderators]] and developers of Scratch are labeled as part of the "Scratch Team" and usually have an asterisk at the end of their username.<ref>{{Cite web |title=Scratch Team - Scratch Wiki |url=https://en.scratch-wiki.info/wiki/Scratch_Team |access-date=2023-05-26 |website=en.scratch-wiki.info |language=en}}</ref> The site also has special types of accounts for Students and Educators to use Scratch in the classroom.<ref>{{Cite web |title=Student and Teacher Accounts - Scratch Wiki |url=https://en.scratch-wiki.info/wiki/Student_and_Teacher_Accounts |access-date=2023-05-26 |website=en.scratch-wiki.info |language=en}}</ref>

=== Censorship ===
In August 2020, [[GreatFire]] announced that the [[Internet censorship in China|Chinese government had blocked access]] to the Scratch website. At the time, it was estimated that more than three million people in China were using it.<ref name=":2">{{cite web |last=Liao |first=Rita |date=7 September 2020 |title=China bans Scratch, MIT's programming language for kids |url=https://techcrunch.com/2020/09/07/scratch-ban-in-china/ |access-date=27 April 2021 |website=TechCrunch |language=en-US}}</ref>{{Citation needed|date=September 2023}} The outlet cited the fact that [[Macau]], [[Hong Kong]] and [[Taiwan]] were listed as countries on the website.<ref name=":2" /><ref>{{cite web |date=8 September 2020 |title=China blocks MIT's kid-friendly programming language Scratch |url=https://developer-tech.com/news/2020/sep/08/china-blocks-mit-kid-friendly-programming-language-scratch/ |access-date=19 November 2020 |website=Developer Tech News |language=en-GB}}</ref> They also contain [[Abkhazia]], [[Somaliland]], [[South Ossetia]], and [[Faroe Islands]] are locations, but they only seem to be seen in [https://scratch.mit.edu/statistics Scratch Statistics] on the Scratchers Worldwide section, and nobody has made an account in these countries.

== Code base ==
The [[source code]] for the project editor in all three major versions, as well as a majority of the current website, is hosted publicly on [[GitHub]] across various [[Software repository|repositores]].<ref>{{cite web |title=Scratch Source Code |url=https://en.scratch-wiki.info/wiki/Scratch_Source_Code |website=Scratch Wiki |access-date=8 April 2024}}</ref> Scratch 3.0 is [[JavaScript]]-based, 2.0 is programmed in [[ActionScript]],<ref name="flash to js" /> and the 1.x versions were based on Squeak, which itself is based on [[Smalltalk]]-80.<ref name="Squeak" />

2.0 had an experimental JavaScript-based interpreter that was being developed in parallel with the ActionScript version.<ref>{{cite web|title=We're seeking contributors to help finish our HTML5 Scratch player (now open sourced!)|url=https://scratch.mit.edu/discuss/post/174127/|website=Discuss Scratch|author=Lightnin|date=Oct 29, 2013|access-date=18 May 2019}}</ref>

In 3.0, Scratch blocks are implemented using [[Blockly]], a JavaScript library developed by Google for creating block-based [[visual programming language]]s.<ref>{{cite web |title=Blockly |url=https://developers.google.com/blockly |website=Google Developers}}</ref><ref>{{cite news |last1=Pasternak |first1=Erik |date=17 January 2019 |title=Scratch 3.0's new programming blocks, built on Blockly |url=https://developers.googleblog.com/2019/01/scratch-30s-new-programming-blocks.html |access-date=2 October 2019}}</ref>

On 13 May 2014, a year after the release of Scratch 2.0, it was announced by a developer on the Scratch Forums that 2.0 would become open source.<ref>{{cite web|title=Scratch 2.0 Offline Open Source Code!|author=speakvisually|date=May 13, 2014|url=https://scratch.mit.edu/discuss/post/322347/|website=Discuss Scratch|access-date=Jan 13, 2024}}</ref>


== Events ==
== Events ==
Scratch Educators can gather in person at Scratch Educator Meetups. At these gatherings, Scratch Educators learn from each other and share ideas and strategies that support computational creativity.<ref>{{cite web |url=https://www.meetup.com/pro/scratched/ |title=Scratch Educator |website=Meetup.com |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190421144408/https://www.meetup.com/pro/scratched |archive-date=2019-04-21 |url-status=live }}</ref>
Scratch Educators can gather in person at Scratch Educator Meetups. At these gatherings, Scratch Educators learn from each other and share ideas and strategies that support computational creativity.<ref>{{cite web |url=https://www.meetup.com/pro/scratched/ |title=Scratch Educator |website=Meetup.com |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190421144408/https://www.meetup.com/pro/scratched |archive-date=21 April 2019 |url-status=live }}</ref>


An annual "Scratch Day" is declared in May each year. Community members are encouraged to host an event on or around this day, large or small, that celebrates Scratch. These events are held worldwide, and a listing can be found on the Scratch Day website.<ref>{{cite web |url=https://day.scratch.mit.edu/ |title=Scratch Day |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190407171614/https://day.scratch.mit.edu/ |archive-date=2019-04-07 |url-status=live }}</ref>
An annual "Scratch Week", formerly known as "Scratch Day", is declared in May each year. Community members are encouraged to host an event on or around this day, large or small, that celebrates Scratch. These events are held worldwide, and a listing can be found on the Scratch Day website. Scratch Week is a series focusing on Scratch activities on the Scratch website.<ref>{{cite web |url=https://day.scratch.mit.edu/ |title=Scratch Week|access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190407171614/https://day.scratch.mit.edu/ |archive-date=7 April 2019 |url-status=live }}</ref>

Every [[April Fools' Day]], the Scratch Team will play pranks on users and add Easter eggs, one example being that all event blocks in projects turn into cat versions of the same blocks.


== History ==
== History ==
The [[MIT Media Lab]]'s ''Lifelong Kindergarten'' group, led by [[Mitchel Resnick]], in partnership with the [[Montreal]]-based consulting firm, the Playful Invention Company, co-founded by [[Brian Silverman]] and [[Paula Bonta]], together developed the first desktop-only version of Scratch in 2003. It started as a basic coding language, with no labeled categories and no green flag.<ref name="Dev1.0">{{cite web |url=https://en.scratch-wiki.info/wiki/Development_of_Scratch_1.0 |title=Development of Scratch 1.0 |website=en.scratch-wiki.info |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190103004838/https://en.scratch-wiki.info/wiki/Development_of_Scratch_1.0 |archive-date=2019-01-03 |url-status=live }}</ref> Scratch was made with the intention to teach kids to code.<ref name="Dev1.0" />
In the early 2000s, the [[MIT Media Lab]]'s ''Lifelong Kindergarten'' group (LLK) was developing visual programming languages targeted towards children.<ref>{{cite web|title=LLK – Projects – Building-Block Programming|url=http://llk.media.mit.edu:80/projects/summaries/bbp.shtml|access-date=19 December 2021|website=llk.media.mit.edu|archive-url=https://web.archive.org/web/20010430112136/http://llk.media.mit.edu:80/projects/summaries/bbp.shtml|archive-date=30 April 2001}}</ref> In 2003, [[Mitchel Resnick]], [[Yasmin Kafai]], and [[John Maeda]] were awarded a [[National Science Foundation]] grant for the development of a new programming environment for children to express themselves with code.<ref name=":0">{{cite web|title=NSF Award Search: Award # 0325828 – ITR: A Networked, Media-Rich Programming Environment to Enhance Informal Learning and Technological Fluency at Community Technology Centers|url=https://www.nsf.gov/awardsearch/showAward?AWD_ID=0325828|access-date=15 April 2021|website=www.nsf.gov}}</ref> The LLK, led by Mitchel Resnick, in partnership with [[Yasmin Kafai]]'s team at [[University of California, Los Angeles|UCLA]] worked closely with [[The Clubhouse Network|Computer Clubhouses]] in Boston and Los Angeles to develop Scratch, grounding its design in the practices and social dynamics of these after-school youth centers.<ref name=":0" /> It started as a basic programming language, with no labeled categories and no green flag.<ref name="Dev1.0">{{cite web |url=https://en.scratch-wiki.info/wiki/Development_of_Scratch_1.0 |title=Development of Scratch 1.0 |website=en.scratch-wiki.info |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190103004838/https://en.scratch-wiki.info/wiki/Development_of_Scratch_1.0 |archive-date=3 January 2019 |url-status=live }}</ref> Similar to AgentSheets<ref name="AgentSheets">{{cite web |url=https://www.researchgate.net/publication/3651308 |title=Tactile Programming: A Unified Manipulation Paradigm Supporting Program Comprehension, Composition and Sharing|access-date=15 October 2021}}</ref> Scratch employed concepts of Tactile Programming later known as blocks-based programming. Scratch was made with the intention to teach kids to program.<ref name="Dev1.0" />

The philosophy of Scratch encourages the sharing, reuse, and combination of code, as indicated by the team slogan, "Imagine, Program, Share".<ref>{{cite web |url=https://scratch.mit.edu/ |title=Scratch – Imagine, Program, Share |website=scratch.mit.edu |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20110222201702/http://scratch.mit.edu/ |archive-date=22 February 2011 |url-status=live }}</ref> Users can make their own projects, or they may choose to "[[remix]]" someone else's project. Projects created and remixed with Scratch are licensed under the [[Creative Commons Attribution-Share Alike License]].<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Creative_Commons_License |title=Creative Commons License |website=wiki.scratch.mit.edu |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190518123252/https://en.scratch-wiki.info/wiki/Creative_Commons_License |archive-date=18 May 2019 |url-status=live }}</ref> Scratch automatically gives credit to the user who created the original project and program in the top part of the project page.<ref name="ScholarWorks" />


Scratch was developed based on ongoing interaction with youth and staff at Computer Clubhouses. The use of Scratch at Computer Clubhouses served as a model for other after-school centers demonstrating how informal learning settings can support the development of technological fluency.<ref>{{cite web |title=ITR: A Networked, Media-Rich Programming Environment to Enhance Informal Learning and Technological Fluency at Community Technology Centers |url=https://www.nsf.gov/awardsearch/showAward?AWD_ID=0325828 |website=National Science Foundation |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20151230194131/https://www.nsf.gov/awardsearch/showAward?AWD_ID=0325828 |archive-date=30 December 2015 |url-status=live }}</ref>
The philosophy of Scratch encourages the sharing, reuse, and combination of code, as indicated by the team slogan, "Imagine, Program, Share".<ref>{{cite web |url=https://scratch.mit.edu/ |title=Scratch – Imagine, Program, Share |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20110222201702/http://scratch.mit.edu/ |archive-date=2011-02-22 |url-status=live }}</ref> Users can make their own projects, or they may choose to "[[remix]]" someone else's project. Projects created and remixed with Scratch are licensed under the [[Creative Commons Attribution-Share Alike License]].<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Creative_Commons_License |title=Creative Commons License |website=wiki.scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123252/https://en.scratch-wiki.info/wiki/Creative_Commons_License |archive-date=2019-05-18 |url-status=live }}</ref> Scratch automatically gives credit to the user who created the original project and program in the top part<ref name="ScholarWorks" />


Scratch 2.0 was released on 9 May 2013.<ref name="LearnToProgram">{{cite book |title=Learn to Program with Scratch |last=Marji |first=Majed |publisher=No Starch Press |year=2014 |isbn=978-1-59327-543-3 |location=San Francisco, California |pages=xvii, 1–9, 13–15}}</ref> The update changed the look of the site and included both an online project editor and an offline editor.<ref>{{cite web |url=https://scratch.mit.edu/download |title=Scratch Desktop |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190406112722/https://scratch.mit.edu/download |archive-date=6 April 2019 |url-status=live }}</ref> Custom blocks could now be defined within projects, along with several other improvements.<ref>{{cite web |url=https://techcrunch.com/2013/05/10/kids-programming-tool-scratch-now-runs-in-the-browser/ |title=Kids' Programming Tool Scratch Now Runs in the Browser |first=John |last=Biggs |website=[[TechCrunch]] |date=10 May 2013 |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20170709215339/https://techcrunch.com/2013/05/10/kids-programming-tool-scratch-now-runs-in-the-browser/ |archive-date=9 July 2017 |url-status=live }}</ref> The Scratch 2.0 Offline editor could be downloaded for Windows, Mac, and Linux directly from Scratch's website, although support for Linux was later dropped. The unofficial [[mobile phone|mobile]] version had to be downloaded from the Scratch forums.<ref>{{cite web|url=https://scratch.mit.edu/discuss/post/125955/|website=Discuss Scratch|title=Updated Scratch 2 Offline Editor (Beta) is now available!|author=Shane (grokblah), on behalf of the Scratch Team|date=Aug 29, 2013|access-date=18 May 2019}}</ref><ref>{{cite web |url=https://www.youtube.com/watch?v=qDFY4O2JU9U |title=Scratch 2.0 Preview |website=YouTube |date=2013-05-01 |publisher=MITScratchTeam |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20140124200207/http://www.youtube.com/watch?v=qDFY4O2JU9U |archive-date=24 January 2014 |url-status=live }}</ref>
Scratch was developed based on ongoing interaction with youth and staff at [[Computer Clubhouse]]s. The use of Scratch at Computer Clubhouses served as a model for other after-school centers demonstrating how informal learning settings can support the development of technological fluency.<ref>{{cite web |title=ITR: A Networked, Media-Rich Programming Environment to Enhance Informal Learning and Technological Fluency at Community Technology Centers |url=https://www.nsf.gov/awardsearch/showAward?AWD_ID=0325828 |website=National Science Foundation |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20151230194131/https://www.nsf.gov/awardsearch/showAward?AWD_ID=0325828 |archive-date=2015-12-30 |url-status=live }}</ref>


[[File:Scratch.mit.edu Homepage.JPG|thumb|The 2.0 Scratch Homepage ]]
[[File:Scratch Website Homepage 2023.png|thumb|The Scratch website's homepage]]
Scratch 2.0 was released on May 9, 2013.<ref name="LearnToProgram">{{cite book |title=Learn to Program with Scratch |last=Marji |first=Majed |publisher=No Starch Press |year=2014 |isbn=978-1-59327-543-3 |location=San Francisco, California |pages=xvii, 1–9, 13–15}}</ref> The update changed the look of the site and included both an online project editor and an offline editor.<ref>{{cite web |url=https://scratch.mit.edu/download |title=Scratch Desktop |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190406112722/https://scratch.mit.edu/download |archive-date=2019-04-06 |url-status=live }}</ref> Custom blocks could now be defined within projects, along with several other improvements.<ref>{{cite web |url=https://techcrunch.com/2013/05/10/kids-programming-tool-scratch-now-runs-in-the-browser/ |title=Kids' Programming Tool Scratch Now Runs In The Browser |first=John |last=Biggs |website=[[TechCrunch]] |date=2013-05-10 |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20170709215339/https://techcrunch.com/2013/05/10/kids-programming-tool-scratch-now-runs-in-the-browser/ |archive-date=2017-07-09 |url-status=live }}</ref> The Scratch 2.0 Offline editor could be downloaded for Windows, Mac and Linux directly from Scratch's website, although support for Linux was later dropped. The unofficial [[mobile phone|mobile]] version had to be downloaded from the Scratch forums.<ref>{{cite web |url=https://scratch.mit.edu/discuss/topic/14690/ |title=Updated Scratch 2.0 Offline (Beta) is now available! |website=Scratch |date=2013-08-29 |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123257/https://scratch.mit.edu/discuss/topic/14690/ |archive-date=2019-05-18 |url-status=live }}</ref><ref>{{cite web |url=https://www.youtube.com/watch?v=qDFY4O2JU9U |title=Scratch 2.0 Preview |website=YouTube |date=2013-05-01 |publisher=MITScratchTeam |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20140124200207/http://www.youtube.com/watch?v=qDFY4O2JU9U |archive-date=2014-01-24 |url-status=live }}</ref>
Scratch 3.0 was first announced by the Scratch Team in 2016. Several public alpha versions were released between then and January 2018, after which the pre-beta "Preview" versions were released.<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_3.0 |title=Scratch 3.0 |website=en.scratch-wiki.info |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190509215315/https://en.scratch-wiki.info/wiki/Scratch_3.0 |archive-date=2019-05-09 |url-status=live }}</ref> A beta version of Scratch 3.0 was released on 1 August 2018.<ref>{{cite web |url=https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |title=3 Things To Know About Scratch 3.0 |website=Medium.com |date=31 January 2019 |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190512230529/https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |archive-date=12 May 2019 |url-status=live }}</ref> for use on most browsers; with the notable exception of [[Internet Explorer]].<ref name="3.0 FAQ">{{cite web |url=https://scratch.mit.edu/info/faq#scratch3 |title=Scratch 3.0 |website=scratch.mit.edu |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190406112722/https://scratch.mit.edu/info/faq/#scratch3 |archive-date=6 April 2019 |url-status=live }}</ref>


Scratch 3.0, the first 3.x release version, was released on 2 January 2019.<ref>{{cite web|title=Scratch 3.0 – Scratch Wiki|url=https://en.scratch-wiki.info/wiki/Scratch_3.0|access-date=27 April 2021|website=en.scratch-wiki.info}}</ref>
[[File:Scratch MIT Homepage.png|thumb|The 3.0 Scratch Homepage ]]
On 28 June 2023,<ref>{{cite web|title=Color Contrast is here!|url=https://scratch.mit.edu/discuss/post/7340551/|website=Discuss Scratch|date=June 28, 2023|author=ceebee, on behalf of the Scratch Team|access-date=September 5, 2023}}</ref> the header and links on the Scratch Website changed from blue to purple, and new optional high-contrast block colors were introduced, to make the site easier for colorblind people to read and use.<ref>{{cite web|title=Coming Soon: Color Contrast in Scratch!|url=https://scratch.mit.edu/discuss/post/7292215/|website=Discuss Scratch|date=June 5, 2023|author=ceebee, on behalf of the Scratch Team|access-date=September 5, 2023}}</ref>
Scratch 3.0 was first announced by the Scratch Team in 2016. Several public alpha versions were released between then and January 2018, after which the pre-beta "Preview" versions were released.<ref>{{cite web |url=https://en.scratch-wiki.info/wiki/Scratch_3.0 |title=Scratch 3.0 |website=en.scratch-wiki.info |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190509215315/https://en.scratch-wiki.info/wiki/Scratch_3.0 |archive-date=2019-05-09 |url-status=live }}</ref> A beta version of Scratch 3.0 was released on 1 August 2018<ref>{{cite web |url=https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |title=3 Things To Know About Scratch 3.0 |website=Medium.com |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190512230529/https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |archive-date=2019-05-12 |url-status=live }}</ref> for use on most browsers; with the notable exception of [[Internet Explorer]].<ref name="3.0 FAQ">{{cite web |url=https://scratch.mit.edu/info/faq#scratch3 |title=Scratch 3.0 |website=scratch.mit.edu |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190406112722/https://scratch.mit.edu/info/faq/#scratch3 |archive-date=2019-04-06 |url-status=live }}</ref>


On March 11, 2019, Scratch separated from [[MIT Media Lab]].<ref>{{cite web|title=Supporting the Growth of Scratch - Mitchel Resnick - Medium |url=https://mres.medium.com/supporting-the-growth-of-scratch-e56dc7f84453|website=Medium|date=March 12, 2019|author=Mitchel Resnick, one of the founders of Scratch|access-date=March 5, 2024}}</ref>
Scratch 3.0, the first 3.x release version, was released on 2 January 2019.


== Filetypes ==
== Filetypes ==
In version 1.4, an .sb file was the file format used to store projects.<ref>{{Cite web|url = http://en.scratch-wiki.info/wiki/.sb|title = Scratch Wiki - .sb|date = 4 October 2015|accessdate = 7 November 2015}}</ref>
In Scratch 1.4, an *{{Not a typo|.sb}} file was the file format used to store projects.<ref>{{cite web|url = http://en.scratch-wiki.info/wiki/.sb|title = Scratch Wiki *.sb|date = 4 October 2015|access-date = 7 November 2015}}</ref>


An .sb file is divided into four sections:
An *{{Not a typo|.sb}} file is divided into four sections:
* "header", this 10-byte header contains the ASCII string 'ScratchV02' in versions higher than 1.2, and 'ScratchV01' in versions 1.2 and below
* "header", this 10-byte header contains the ASCII string "ScratchV02" in versions higher than Scratch 1.2, and "ScratchV01" in Scratch 1.2 and below
* "infoSize", encodes the length of the project's infoObjects. A four-byte long, 32-bit, [[Endianness|big-Endian]] integer.
* "infoSize", encodes the length of the project's infoObjects. A 4-byte long, 32-bit, [[Endianness|big-Endian]] integer.
* "infoObjects", a dictionary-format data section. It contains: "thumbnail", a thumbnail of the project's stage; "author", the username of the project's creator; "comment", the Project Notes; "history", the save and upload log; "scratch-version", the version of Scratch used to save the file;
* "infoObjects", a dictionary-format data section. It contains: "thumbnail", a thumbnail of the project's stage; "author", the username of the project's creator; "comment", the Project Notes; "history", the save and upload log; "scratch-version", the version of Scratch used to save the file;
* "contents", an [http://en.scratch-wiki.info/wiki/Scratch_File_Format/Object_Table object table] with the Stage as the root. All objects in the program are stored here as [http://en.scratch-wiki.info/wiki/Scratch_File_Format/References#Object_References references].
* "contents", an object table with the Stage as the root.<ref>{{cite web|title=Scratch File Format (1.4)/Object Table – Scratch Wiki|url=https://en.scratch-wiki.info/wiki/Scratch_File_Format/Object_Table|access-date=2022-02-19|website=en.scratch-wiki.info}}</ref> All objects in the program are stored here as references.<ref>{{cite web|title=Scratch File Format (1.4)/Object Table – Scratch Wiki|url=https://en.scratch-wiki.info/wiki/Scratch_File_Format/References|access-date=2022-02-19|website=en.scratch-wiki.info}}</ref>


Version 2.0 uses the .sb2 file format. These are zip files containing a [[JSON|.json]] file as well as the contents of the Scratch project including sounds (stored as .wav) and images (stored as .png).<ref>{{cite web |title=Scratch File Format (2.0) |url=https://en.scratch-wiki.info/wiki/Scratch_File_Format_(2.0) |website=Scratch Wiki |accessdate=2 October 2019}}</ref> Each filetype, excluding the project.json, is stored as a number, starting at 0 and counting up with each additional file. The image file labeled '0.png' is always a 480x360 white image, but '0.wav' will still be the earliest non-deleted file.
Scratch 2.0 uses the *{{Not a typo|.sb2}} file format. These are zip files containing a [[JSON|.json]] file as well as the contents of the Scratch project including sounds (stored as {{Not a typo|.wav}}) and images (stored as {{Not a typo|.png}}).<ref>{{cite web |title=Scratch File Format (2.0) |url=https://en.scratch-wiki.info/wiki/Scratch_File_Format_(2.0) |website=Scratch Wiki |access-date=2 October 2019}}</ref> Each filetype, excluding the {{Not a typo|project.json}}, is stored as a number, starting at 0 and counting up with each additional file. The image file labeled "{{Not a typo|0.png}}" is always a 480x360 white image, but "{{Not a typo|0.wav}}" will still be the earliest non-deleted file.


The ScratchX experimental version of Scratch used the .sbx file format.<ref>[https://github.com/llk/scratchx/wiki ScratchX wiki on GitHub]</ref>
The ScratchX experimental version of Scratch used the {{Not a typo|.sbx}} file format.<ref>{{cite web|url=https://github.com/LLK/scratchx|title=LLK/scratchx|website=GitHub|date=16 August 2022 }}</ref>


Scratch 3.0 uses the .sb3 format, which is very similar to .sb2.<ref>{{cite web |title=Scratch File Format |url=https://en.scratch-wiki.info/wiki/Scratch_File_Format |website=Scratch Wiki |accessdate=2 October 2019}}</ref>
Scratch 3.0 uses the *{{Not a typo|.sb3}} format, which is very similar to *{{Not a typo|.sb2}}, one difference being the sound.{{How|date=December 2024}}<ref>{{cite web |title=Scratch File Format |url=https://en.scratch-wiki.info/wiki/Scratch_File_Format |website=Scratch Wiki |access-date=2 October 2019}}</ref>


== Older versions ==
== Older versions ==
Although the main Scratch website now runs only the current version (Scratch 3.0), the offline editors for Scratch 2.0 (and the earlier Scratch 1.4) are still available for download<ref>{{cite web |title=Scratch 2.0 Offline Editor |url=https://scratch.mit.edu/download/scratch2 |publisher=MIT |access-date=21 September 2019}}</ref> and can be used to create and run games locally.<ref>{{cite web |title=3 Things To Know About Scratch 3.0 |date=31 January 2019 |url=https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |publisher=The Scratch Team |access-date=21 September 2019}}</ref> It is still possible to upload projects from the Scratch 2.0 launcher, which are immediately converted into Scratch 3.0 when uploaded to the main site.<ref>{{cite web|title=Offline Editor (2.0) – Scratch Wiki|url=https://en.scratch-wiki.info/wiki/Offline_Editor_(2.0)#Uploading|access-date=2021-04-27|website=en.scratch-wiki.info}}</ref> There is also an offline version of Scratch 3.0.
[[File:Scratch 2.0 Default screen.png|thumb|Scratch 2.0 development environment and its different areas at startup]]

Although the main Scratch website now runs only the current version (3.0), the offline editors for Scratch 2.0 (and the earlier 1.4) are still available for download<ref>{{cite web |title=Scratch 2.0 Offline Editor |url=https://scratch.mit.edu/download/scratch2 |publisher=MIT |accessdate=21 September 2019}}</ref> and can be used to create and run games locally.{{citation needed|date=September 2019}}<ref>{{cite web |title=3 Things To Know About Scratch 3.0 |url=https://medium.com/scratchteam-blog/3-things-to-know-about-scratch-3-0-18ee2f564278 |publisher=The Scratch Team |accessdate=21 September 2019}}</ref> You can still upload projects from the 2.0 launcher. {{citation needed|date=May 2020}}


=== Technology ===
=== Technology ===
Scratch 2.0 relied on Adobe Flash for the online version, and Adobe AIR for the offline editor. These have fallen out of favor,<ref>{{cite news |last1=O'Donnell |first1=Lindsey |title=Mozilla Kills Default Support for Adobe Flash in Firefox 69 |url=https://threatpost.com/flash-default-mozilla-firefox-69/140814/ |accessdate=21 September 2019 |date=14 January 2019}}</ref> and Adobe is dropping support for them at the end of 2020.<ref>{{cite news |last1=Adobe Corporate Communications |title=The Future of Adobe AIR |url=https://theblog.adobe.com/the-future-of-adobe-air/ |accessdate=21 September 2019 |date=30 May 2019}}</ref>
The editor of Scratch 1.4 and below was written in [[Squeak]], while its online project viewer was written in [[Java (programming language)|Java]], and a player written in [[Adobe Flash]] was later added.<ref name="Squeak">{{cite web |title=Scratch |url=https://wiki.squeak.org/squeak/5833 |website=Squeak/Smalltalk |access-date=7 March 2021}}</ref><ref>{{cite web |url=https://scratcharchive.asun.co/forums/viewtopic.php?id=57148 |website=Scratch Archived Forums |access-date=7 March 2021|title=Scratch Forums / Beta Flash player }}</ref> Scratch 2.0 relied on Adobe Flash for the online version, and [[Adobe AIR]] for the offline editor. These have fallen out of favor, and Adobe dropped support for them at the end of 2020.<ref>{{cite news |last1=O'Donnell |first1=Lindsey |title=Mozilla Kills Default Support for Adobe Flash in Firefox 69 |url=https://threatpost.com/flash-default-mozilla-firefox-69/140814/ |access-date=21 September 2019 |date=14 January 2019}}</ref><ref>{{cite news |last1=Adobe Corporate Communications |title=The Future of Adobe AIR |url=https://theblog.adobe.com/the-future-of-adobe-air/ |access-date=21 September 2019 |date=30 May 2019 |archive-date=25 August 2019 |archive-url=https://web.archive.org/web/20190825060523/https://theblog.adobe.com/the-future-of-adobe-air/ |url-status=dead }}</ref>


=== Interface ===
=== Interface ===
[[File:Scratch Hello World.png|thumb|A script that lets the sprite say [[Hello, World!]] then stops the script in Scratch 2.0]]
[[File:Scratch Hello World.png|thumb|A script that lets the sprite say [[Hello, World!]] then stops the script in Scratch 2.0]]
In Scratch 2.0, the stage area is on the left side, with the programming blocks palette in the middle the coding area on the right. Extensions are in the "More blocks" section of palette.<ref name=all />
In Scratch 2.0, the stage area is on the left side, with the programming blocks palette in the middle, and the coding area on the right. Extensions are in the "More Blocks" section of the palette.<ref name=all />

The web version of Scratch 2.0 introduced project autosaving.<ref name="easy steps">{{cite book |last1=McManus |first1=Sean |title=Scratch Programming in easy steps |date=2013 |publisher=Easy Steps |location=Leamington Spa |isbn=978-1-84078-612-5 }}</ref>{{rp|p=23}}


The blocks palette in Scratch 2.0 is made of discrete sections that are not scrollable from one to the next; the table below shows the different sections:
The blocks palette in Scratch 2.0 is made of discrete sections that are not scrollable from one to the next; the table below shows the different sections:
{| class="wikitable" style="text-align: left"
{| class="wikitable" style="text-align: left"
|+Interface sections in Scratch
|-
|-
! colspan="2" style="background: #efefef;" | Category !! Notes !! style="background:white;" | &nbsp;&nbsp; !! colspan="2" style="background: #efefef;" | Category !! Notes
!scope="col" colspan="2" style="background: #efefef;" | Category
!scope="col"| Notes
|- valign="top"
|- valign="top"
| style="background:#4a6cd4;"|
| bgcolor="#4a6cd4" | &nbsp; || Motion || Moves and changes position of sprites || rowspan="5" bgcolor="white"| &nbsp;&nbsp; || bgcolor="#c88340" | &nbsp; || Events || Event handlers
|scope="row"| Motion
| Moves and changes the position of sprites
|-
| style="background:#c88340;"|
|scope="row"| Events
| Event handlers
|- valign="top"
|- valign="top"
| style="background:#8a55d7;"|
| bgcolor="#8a55d7" | &nbsp; || Looks || Controls the visuals of the sprite || bgcolor="#e1a91a" | &nbsp; || Control || Conditionals and loops
|scope="row"| Looks
| Controls the visuals of the sprite
|-
| style="background:#e1a91a;"|
|scope="row"| Control
| Conditionals and loops
|- valign="top"
|- valign="top"
| style="background:#bb42c3;"|
| bgcolor="#bb42c3" | &nbsp; || Sound || [[Audio files]], sequences || bgcolor="#2ca5e2" | &nbsp; || Sensing || Sprite interaction
|scope="row"| Sound
| [[Audio files]], sequences, and music
|-
| style="background:#2ca5e2;"|
|scope="row"| Sensing
| Sprite interaction
|- valign="top"
|- valign="top"
| style="background:#0e9a6c;"|
| bgcolor="#0e9a6c" | &nbsp; || Pen || Draw on the canvas || bgcolor="#5cb712" | &nbsp; || Operators || Mathematical operators
|scope="row"| Pen
| Draw on the canvas
|-
| style="background:#5cb712;"|
|scope="row"| Operators
| Mathematical operators
|- valign="top"
|- valign="top"
| style="background:#ee7d16;"|
| bgcolor="#ee7d16" | &nbsp; || Data || Variables and Arrays || bgcolor="#632d99" | &nbsp; || More Blocks || Functions, return value is always <code>void</code>
|scope="row"| Data
| Variables, arrays and lists
|-
| style="background:#632d99;"|
|scope="row"| More Blocks
| Functions, return value is always <code>void</code>
|}
|}
Scratch 2.0 introduced the backpack, which can be used to transfer scripts, sprites, costumes, and sounds between projects.<ref name="easy steps"/>{{rp|pp=14–15}}


== Extensions ==
=== 1.4 sounds ===
Scratch 2.0 changed how sounds were imported, so many Scratch 1.4 sounds stopped working. (The project file was changed from *{{Not a typo|.sb}} to *{{Not a typo|.sb2}}).
In Scratch 2.0, extensions were all hardware based.


=== Features and derivatives ===
== Features ==
Scratch uses [[event-driven programming]] with multiple active objects called ''[[Sprite (computer graphics)|sprites]]''.<ref name="LearnToProgram" /> Sprites can be drawn, as [[vector graphics|vector]] or [[bitmap]] graphics, from scratch in a simple editor that is part of Scratch, or can be imported from external sources. Scratch 3 only supports one-dimensional [[array data structure|arrays]], known as "lists", and floating point [[scalar (computing)|scalars]] and [[string (computer science)|strings]] are supported, but with limited string manipulation ability. There is a strong contrast between the powerful multimedia functions and multi-threaded programming style and the rather limited scope of the Scratch programming language.
Scratch uses [[event-driven programming]] with multiple active objects called ''[[Sprite (computer graphics)|sprites]]''.<ref name="LearnToProgram" /> Sprites can be drawn, as [[vector graphics|vector]] or [[bitmap]] graphics, from scratch in a simple editor that is part of Scratch, or can be imported from external sources. Scratch 3.0 only supports one-dimensional [[array data structure|arrays]], known as "lists", and floating-point [[scalar (computing)|scalars]] and [[string (computer science)|strings]] are supported but with limited string manipulation ability. There is a strong contrast between the powerful multimedia functions and multi-threaded programming style and the rather limited scope of the Scratch programming language.


=== Scratch 2.0 features ===
The 2.0 version of Scratch does not treat procedures as [[First-class object|first class structures]] and has limited [[input/output|file I/O]] options with Scratch 2.0 Extension Protocol, an experimental extension feature that allows interaction between Scratch 2.0 and other programs.<ref>{{cite web |title=Scratch Extension |publisher=MIT |url=https://en.scratch-wiki.info/wiki/Scratch_Extension |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123255/https://en.scratch-wiki.info/wiki/Scratch_Extension |archive-date=2019-05-18 |url-status=live }}</ref> The Extension protocol allows interfacing with hardware boards such as [[Lego Mindstorms]]<ref>{{cite web |title=EV3+Scratch Extension |work=Scratch extension GitHub |publisher=Code & Circuit |url=https://kaspesla.github.io/ev3_scratch/ |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20160120204258/http://kaspesla.github.io/ev3_scratch/ |archive-date=2016-01-20 |url-status=live }}</ref> or [[Arduino]].<ref>{{cite web |title=Preliminary Scratch extension for talking to Arduino boards running Firmata |work=Scratch extension GitHub |publisher=Damellis |url=https://github.com/damellis/A4S |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20180116143517/https://github.com/damellis/A4S |archive-date=2018-01-16 |url-status=live }}</ref> Version 2 of Scratch was implemented in [[ActionScript]], with an experimental [[JavaScript]]-based interpreter being developed in parallel.<ref>{{cite web |url=https://scratch.mit.edu/discuss/topic/19132/ |title=We're seeking contributors to help finish our HTML5 Scratch player (now open sourced!) |website=Scratch |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123251/https://scratch.mit.edu/discuss/topic/19132/ |archive-date=2019-05-18 |url-status=live }}</ref>
Scratch 2.0 does not treat procedures as [[First-class object|first class structures]] and has limited [[input/output|file I/O]] options with Scratch 2.0 Extension Protocol, an experimental extension feature that allows interaction between Scratch 2.0 and other programs.<ref>{{cite web |title=Scratch Extension |publisher=MIT |url=https://en.scratch-wiki.info/wiki/Scratch_Extension |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190518123255/https://en.scratch-wiki.info/wiki/Scratch_Extension |archive-date=18 May 2019 |url-status=live }}</ref> The Extension protocol allows interfacing with hardware boards such as [[Lego Mindstorms]]<ref>{{cite web |title=EV3+Scratch Extension |work=Scratch extension GitHub |publisher=Code & Circuit |url=https://kaspesla.github.io/ev3_scratch/ |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20160120204258/http://kaspesla.github.io/ev3_scratch/ |archive-date=20 January 2016 |url-status=live }}</ref> or [[Arduino]].<ref>{{cite web |title=Preliminary Scratch extension for talking to Arduino boards running Firmata |work=Scratch extension GitHub |publisher=Damellis |url=https://github.com/damellis/A4S |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20180116143517/https://github.com/damellis/A4S |archive-date=16 January 2018 |url-status=live }}</ref> Scratch 2.0 also has the following features:
* Smart block switching
* Two-column category menu
* Reverse order of project controls
* Display stage on left side
* Square block inputs
* Compact editor
* Collapsing sprite properties
* Scratch 2.0 themes


=== Snap''!'' (Build Your Own Blocks) ===
Version 1.4 of Scratch was based on [[Squeak]], which is based on [[Smalltalk]]-80. A number of Scratch derivatives<ref>{{cite web |title=Scratch Modification |website=Scratch Wiki |publisher=Lifelong Kindergarten Group at the MIT Media Lab |url=https://en.scratch-wiki.info/wiki/Scratch_Modification |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123253/https://en.scratch-wiki.info/wiki/Scratch_Modification |archive-date=2019-05-18 |url-status=live }}</ref> called Scratch Modifications have been created using the source code of Scratch version 1.4. These programs are a variant of Scratch that normally include a few extra blocks or changes to the [[Graphical user interface|GUI]].<ref>{{cite web |title=Blocks |website=Scratch Wiki |url=https://en.scratch-wiki.info/wiki/Blocks |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123256/https://en.scratch-wiki.info/wiki/Blocks |archive-date=2019-05-18 |url-status=live }}</ref>
A more advanced visual programming language inspired by Scratch is [[Snap! (programming language)|Snap''!'']], featuring [[first class function|first class]] procedures (their mathematical foundations are also called ''[[lambda calculus]]''), first-class lists (including lists of lists), and first-class truly object-oriented sprites with prototyping inheritance, and nestable sprites, which are not part of Scratch.<ref>{{cite web |title=Snap''!'' – Build Your Own Blocks |publisher=University of California, Berkeley |url=https://snap.berkeley.edu/ |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190516160757/https://snap.berkeley.edu/ |archive-date=16 May 2019 |url-status=live }}</ref> Snap''!'' (previously "BYOB") was developed by Jens Mönig<ref>{{cite web |url=https://scratch.mit.edu/users/Jens/ |title=Jens on Scratch |website=Scratch |first=Jens |last=Mönig |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190518123251/https://scratch.mit.edu/users/Jens/ |archive-date=18 May 2019 |url-status=live }}</ref><ref>{{cite web |url=http://www.chirp.scratchr.org/blog/?m=201105 |title=BYOB 3.1 – Prototypal Inheritance for Scratch |date=31 May 2011 |website=Chirp Blog |first=Jens |last=Mönig |access-date=18 May 2019 |url-status=dead |archive-url=https://web.archive.org/web/20131206131246/http://www.chirp.scratchr.org/blog/?m=201105 |archive-date=6 December 2013}}</ref> with documentation provided by [[Brian Harvey (lecturer)|Brian Harvey]]<ref>{{cite web |url=https://people.eecs.berkeley.edu/~bh/ |title=Brian Harvey |website=Electrical Engineering and Computer Sciences |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190403045124/https://people.eecs.berkeley.edu/~bh/ |archive-date=3 April 2019 |url-status=live }}</ref><ref>{{cite web |url=https://scratch.mit.edu/users/bharvey/ |title=bharvey |website=Scratch |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20190518123251/https://scratch.mit.edu/users/bharvey/ |archive-date=18 May 2019 |url-status=live }}</ref> from [[University of California, Berkeley]] and has been used to teach "The Beauty and Joy of Computing" introductory course in CS for non-CS-major students.<ref>{{cite web |url=http://inst.eecs.berkeley.edu/~cs10/fa11/ |title=CS10 : The Beauty and Joy of Computing |website=EECS Instructional Support Group Home Page |access-date=18 May 2019 |archive-url=https://web.archive.org/web/20140123111318/http://inst.eecs.berkeley.edu/~cs10/fa11/ |archive-date=23 January 2014 |url-status=live }}</ref> Both of them were members of the Scratch Team before designing "Snap''!''".<ref>{{cite web|url=https://forum.snap.berkeley.edu/t/relationship-with-the-scratch-team/1277|title=Relationship With the Scratch Team}}</ref><ref name=all />


=== ScratchJr ===
==== Snap''!'' (Build Your Own Blocks) ====
In July 2014, [[ScratchJr]] was released for [[iPad]], and in 2016, ScratchJr for Android. Although heavily inspired by Scratch and co-led by Mitch Resnick, it is nonetheless a complete rewrite designed for younger children—targeting ages 5 through 7.<ref>{{cite web |title=About ScratchJr |url=https://www.scratchjr.org/about/info |publisher=scratchjr.org |access-date=19 September 2019}}</ref>
A more advanced visual programming language inspired by Scratch is [[Snap! (programming language)|Snap''!'']], featuring [[first class function|first class]] procedures (their mathematical foundations are called also ''[[lambda calculus]]''), first class lists (including lists of lists), and first class truly object oriented sprites with prototyping inheritance, and nestable sprites, which are not part of Scratch.<ref>{{cite web |title=Snap''!'' — Build Your Own Blocks |publisher=University of California, Berkeley |url=https://snap.berkeley.edu/ |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190516160757/https://snap.berkeley.edu/ |archive-date=2019-05-16 |url-status=live }}</ref> Snap''!'' (previously "BYOB") was developed by Jens Mönig<ref>{{cite web |url=https://scratch.mit.edu/users/Jens/ |title=Jens on Scratch |website=Scratch |first=Jens |last=Mönig |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123251/https://scratch.mit.edu/users/Jens/ |archive-date=2019-05-18 |url-status=live }}</ref><ref>{{cite web |url=http://www.chirp.scratchr.org/blog/?m=201105 |title=BYOB 3.1 – Prototypal Inheritance for Scratch |date=2011-05-31 |website=Chirp Blog |first=Jens |last=Mönig |access-date=2019-05-18 |url-status=dead |archive-url=https://web.archive.org/web/20131206131246/http://www.chirp.scratchr.org/blog/?m=201105 |archive-date=2013-12-06}}</ref> with documentation provided by [[Brian Harvey (lecturer)|Brian Harvey]]<ref>{{cite web |url=https://people.eecs.berkeley.edu/~bh/ |title=Brian Harvey |website=Electrical Engineering and Computer Sciences |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190403045124/https://people.eecs.berkeley.edu/~bh/ |archive-date=2019-04-03 |url-status=live }}</ref><ref>{{cite web |url=https://scratch.mit.edu/users/bharvey/ |title=bharvey |website=Scratch |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20190518123251/https://scratch.mit.edu/users/bharvey/ |archive-date=2019-05-18 |url-status=live }}</ref> from [[University of California, Berkeley]] and has been used to teach "The Beauty and Joy of Computing" introductory course in CS for non-CS-major students.<ref>{{cite web |url=http://inst.eecs.berkeley.edu/~cs10/fa11/ |title=CS10 : The Beauty and Joy of Computing |website=EECS Instructional Support Group Home Page |access-date=2019-05-18 |archive-url=https://web.archive.org/web/20140123111318/http://inst.eecs.berkeley.edu/~cs10/fa11/ |archive-date=2014-01-23 |url-status=live }}</ref> Both of them were members of the Scratch Team before designing "Snap''!''".<ref>[https://forum.snap.berkeley.edu/t/relationship-with-the-scratch-team/1277 Relationship With the Scratch Team]</ref><ref name=all />


== Community-made modifications ==
==== ScratchJr ====
Due to the open source nature of Scratch, numerous [[Fork (software development)|forks]] and [[browser extension]]s have been created by the community that aim to improve or modify the user experience. ScratchTools and Scratch Addons are some examples of open-sourced browser extensions that add many upgrades and new features to the Scratch website and editor.<ref>{{Cite web |title=Frequently Asked Questions |url=https://scratchaddons.com/docs/faq/ |access-date=2024-01-07 |website=Scratch Addons Docs |language=en}}</ref><ref>{{Cite journal |title=Is the Scratch Programming Environment Ideal for all? |url=https://www.scitepress.org/Papers/2023/118382/118382.pdf |journal=Proceedings of the 15th International Conference on Computer Supported Education |isbn=978-989-758-641-5}}</ref>
In July 2014, [[ScratchJr]] was released for iPad, and in 2016, ScratchJr for Android. Although heavily inspired by Scratch and co-led by Mitch Resnick, it is nonetheless a complete rewrite designed for younger children—targeting ages 5–8.<ref>{{cite web |title=About ScratchJr |url=https://www.scratchjr.org/about/info |publisher=scratchjr.org |accessdate=19 September 2019}}</ref>

TurboWarp is a fork of the Scratch 3.0 editor that [[Compiler|compiles]] the Scratch blocks into JavaScript code when a project is run, meaning projects can run up to 200x faster, with 60FPS option, results varying heavily depending on the project, and setting and add-ons.<ref>{{Cite web |title=How TurboWarp runs Scratch projects 10-100x faster {{!}} TurboWarp Documentation |url=https://docs.turbowarp.org/how |access-date=2024-01-07 |website=docs.turbowarp.org |language=en}}</ref><ref>{{Cite web |title=TurboWarp - Run Scratch projects faster |url=https://turbowarp.org/ |access-date=2022-04-17 |website=turbowarp.org}}</ref> TurboWarp can also export projects to [[Portable Application|standalone]] [[HTML5]], [[Bundle (macOS)]] and [[.exe|EXE]] files.<ref>{{Cite web |title=TurboWarp Packager |url=https://packager.turbowarp.org/ |access-date=2024-01-07 |website=packager.turbowarp.org}}</ref>

Users can also create their own extensions for Scratch 3.0 using JavaScript.<ref>{{cite web |title=Scratch 3.0 Extensions |url=https://github.com/LLK/scratch-vm/blob/develop/docs/extensions.md |access-date=19 September 2019 |website=Github |publisher=MIT}}</ref> Although the intention for Scratch 3.0 was to allow unofficial JavaScript extensions to be developed by users, it was abandoned due to moderation risks. As a result, the official site doesn't allow JavaScript extensions to be added, but several modifications of Scratch do.

Before 2.0, a number of Scratch forks<ref>{{cite web |title=Scratch Modification |url=https://en.scratch-wiki.info/wiki/Scratch_Modification |url-status=live |archive-url=https://web.archive.org/web/20190518123253/https://en.scratch-wiki.info/wiki/Scratch_Modification |archive-date=18 May 2019 |access-date=18 May 2019 |website=Scratch Wiki |publisher=Lifelong Kindergarten Group at the MIT Media Lab}}</ref>{{Better source needed|reason=Citation is the Scratch Wiki, which is officially considered an unreliable source. Please find a non-wiki source for your info.|date=March 2024}} were created using the source code of Scratch 1.4. These programs usually only included a few extra blocks not present in Scratch.<ref>{{cite web |title=Blocks |url=https://en.scratch-wiki.info/wiki/Blocks |url-status=live |archive-url=https://web.archive.org/web/20190518123256/https://en.scratch-wiki.info/wiki/Blocks |archive-date=18 May 2019 |access-date=18 May 2019 |website=Scratch Wiki}}</ref>{{Better source needed|reason=Citation is the Scratch Wiki, which is officially considered an unreliable source. Please find a non-wiki source for your info.|date=March 2024}}


== See also ==
== See also ==
{{Portal|Free and open-source software|Computer programming}}
{{Portal|Free and open-source software|Computer programming}}
* [[Blockly]], interface used by Scratch to make the code blocks
* [[Blockly]], an interface used by Scratch to make the code blocks.
* [[Snap! (programming language)]]
* [[Computer Clubhouse]]
* [[Swift Playgrounds]]
* [[Alice (software)]]
* [[Twine (software)]]
* [[Lego Mindstorms EV3]]
* [[Kodu Game Lab]]
* [[Code.org]]
* [[Programmable Cricket]]
* [[Programmable Cricket]]
* [[PWCT (software)]]
* [[PWCT]]
* [[Squeak]]
* [[Visual programming language]]
* [[Visual programming language]]
* [[Pencil Code (programming language)]]


== References ==
== References ==
{{Reflist}}
{{reflist}}


== External links ==
== External links ==
{{Commons category}}
*{{Wikibooks-inline|Scratch}}
{{Wikibooks|Scratch}}
*{{Commonscatinline}}
* {{Official website}}
* {{Official website}}
* [https://lab.scratch.mit.edu/ Scratch Lab]
* {{Curlie|Computers/Programming/Languages/Smalltalk/Squeak/Scratch|Scratch}}
{{Programming languages}}{{Video game engines}}
* [https://en.scratch-wiki.info/ Scratch Wiki], a website for the Scratchers to find out how to use Scratch.
* [http://www.sketchware.io/ sketchware.io]
* [https://sketchwarecodes.com sketchwarecodes.com]
* [https://github.com/retro-person/Scratch-Archive Archive of older Scratch versions]

{{Authority control}}
{{Authority control}}


[[Category:Dynamically typed programming languages]]
[[Category:Dynamically typed programming languages]]
[[Category:Visual programming languages]]
[[Category:Educational programming languages]]
[[Category:Educational programming languages]]
[[Category:Free educational software]]
[[Category:Free educational software]]
Line 226: Line 349:
[[Category:Smalltalk programming language family]]
[[Category:Smalltalk programming language family]]
[[Category:Video game development software]]
[[Category:Video game development software]]
[[Category:Virtual reality communities]]
[[Category:Video game engines]]
[[Category:Programming languages created in 2001]]
[[Category:Video game IDE]]
[[Category:Software developer communities]]
[[Category:Programming languages created in 2003]]
[[Category:Computer file formats]]
[[Category:Computer file formats]]
[[Category:Filename extensions]]
[[Category:Filename extensions]]
[[Category:Creative Commons-licensed websites]]

Latest revision as of 02:32, 5 January 2025

Scratch
Scratch logo
Logo used since 16 October 2015
Scratch 3.0 editor
ParadigmEvent-driven, block-based programming language
DeveloperScratch Foundation
First appeared
  • 11 October 2003; 21 years ago (2003-10-11) (prototype Scratch 0.1)[1]
  • 15 May 2007; 17 years ago (2007-05-15) (Scratch 1.0)[2]
  • 9 May 2013; 11 years ago (2013-05-09) (Scratch 2.0)
  • 2 January 2019; 6 years ago (2019-01-02) (Scratch 3.0)
Stable release
  • Scratch 3.0 (online editor) / 2 January 2019; 6 years ago (2019-01-02)
  • Scratch 3.29.1 (offline editor) / 27 February 2022; 2 years ago (2022-02-27)
Implementation languageSqueak (Scratch 1.x)
ActionScript (Scratch 2.0)[3]
HTML5, JavaScript (Scratch 3.0)[3][4]
OSMicrosoft Windows, macOS, Linux (via renderer), HTML5 (via web browser), iOS, iPadOS, and Android.
License

GNU Affero General Public License (Scratch 3.0)[5]

Filename extensions.sb, .sprite (Scratch 1.x)
.sb2, .sprite2 (Scratch 2.0)
.sb3, .sprite3 (Scratch 3.0)
Websitescratch.mit.edu
Influenced by
Logo, Smalltalk, HyperCard, StarLogo, AgentSheets, AgentCubes, Etoys
Influenced
Catrobat,[6] ScratchJr,[7] Snap!,[8] mBlock, Turtlestitch

Scratch is a high-level, block-based visual programming language and website aimed primarily at children as an educational tool, with a target audience of ages 8 to 16.[9][10] Users on the site can create projects on the website using a block-like interface. Scratch was conceived and designed through collaborative National Science Foundation grants awarded to Mitchel Resnick and Yasmin Kafai.[11] Scratch is developed by the MIT Media Lab and has been translated into 70+ languages, being used in most parts of the world. Scratch is taught and used in after-school centers, schools, and colleges, as well as other public knowledge institutions. As of 15 February 2023, community statistics on the language's official website show more than 123 million projects shared by over 103 million users, and more than 95 million monthly website visits.[12] Overall, over 1 billion total projects have been created (including unshared projects), with the site reaching its 1,000,000,000th project in April 2024.

Scratch takes its name from a technique used by disk jockeys called "scratching", where vinyl records are clipped together and manipulated on a turntable to produce different sound effects and music. Like scratching, the website lets users mix together different media (including graphics, sound, and other programs) in creative ways by creating and "remixing" projects, like video games, animations, music, and simulations.[13]

Scratch 3.0

User interface

A program to change the background and make a sprite speak

The Scratch interface is divided into three main sections: a stage area, block palette, and a coding area to place and arrange the blocks into scripts that can be run by pressing the green flag or clicking on the code itself. Users may also create their own code blocks, which will appear in the "My Blocks" section.

The stage area features the results (e.g., animations, turtle graphics, either in a small or normal size, with a full-screen option also available) and all sprites' thumbnails being listed in the bottom area. The stage uses x and y coordinates, with 0,0 being the stage center.[14]

With a sprite selected at the bottom of the staging area, blocks of code can be applied by dragging them from the block palette into the coding area. The Costumes tab allows users to change the look of the sprite with a vector and bitmap editor in order to create various effects, including animation.[14] The Sounds tab allows attaching sounds and music to a sprite.[15]

When creating sprites and also backgrounds, users can draw their own sprites manually,[14] choose a sprite from the library, or upload an image.[15]

The table below shows the categories of the programming blocks:

Block categories in Scratch
Category Notes
Motion Movements of sprites, like angles and directions.
Looks Controls the visuals of the sprite.
Sound Plays audio files and effects.
Events Event handlers and broadcasters.
Control Conditionals, loops, and cloning.
Sensing Sprites can interact with other sprites, the mouse pointer, and the backdrop.
Operators Mathematical operators, conjunctions, and comparisons .
Variables Blocks to access and set variables. Cloud variables are synced across all running versions of the project.
Lists Blocks to access and interact with lists.
My Blocks User-defined functions, accessible as blocks. They can have inputs and have the option to run without a screen refresh.
Extensions Extra categories (e.g. Pen, Music) of blocks that can be added to a project at any time.

Offline editing

One of the 4 different scripts for the getting started built-in tutorial.
Four different scripts for the getting started built-in tutorial.

An offline "Desktop Editor" for Scratch 3.0 is available for Microsoft Windows 10 and above in the Microsoft Store, Apple's macOS, ChromeOS, and Android;[16] this allows the creation and playing of Scratch programs offline. The offline editor can also be downloaded in previous versions, such as Scratch 2.0 and Scratch 1.4 (an archive of older versions is found here).

Extensions

In Scratch, extensions add extra blocks and features that can be used in projects. In Scratch 2.0, the extensions were all hardware-based and Pen was a normal category. Software-based extensions were added in Scratch 3.0, such as text-to-speech voices, along with some new hardware-based extensions like the micro:bit. The extensions are listed below.

An example of the Scratch 3 Extensions Page.

Physical

  • LEGO Mindstorms EV3 – Control motors and receive sensor data from the Lego Mindstorms EV3
  • Makey Makey – Use Makey Makey to control projects
  • LEGO Education WeDo 2.0 – control motors and receive sensor data from the Lego WeDo
  • micro:bit – Use of a micro:bit to control projects
  • LEGO BOOST – Bring robotic creations to life
  • Go Direct Force & Acceleration – Sense pull, push, motion, and spin

Digital

Many of the digital extensions in Scratch 3.0 used to be regular block categories that were moved to the extensions section to reduce clutter. These include:

  • Music – Play digital instruments (drums, trumpets, violins, pianos, and more). Previously part of the Sound category.
  • Pen – Draw on the Stage with a variety of thicknesses and color. Previously a normal block category.
  • Video Sensing – Detect motion with the camera. Previously in the Sensing category.

New digital extensions have also been added in collaborations with commercial companies. These include:

  • Text to Speech – Converts words in a text into voice output (variety of voices, supplied by Amazon)
  • Translate – Uses Google Translate to translate text from one language into a variety of other languages, including Arabic, Chinese, Dutch, English, French, Greek, Norwegian, and Japanese
  • Makey Makey – Options for better key pressing and press multiple keys in order. You can grab a join block if you want more control on the extension.

A paper published in 2019 by NYU argues and illustrates, for coding music with Scratch, "that the music and sound blocks as currently implemented in Scratch may limit and frustrate meaningful music-making for children, the core user base for Scratch."[17]

Scratch Lab

The Scratch Lab[18] displays experiments from the Scratch Team, intended to explore whether new features may be added to the full website in the future. Experimental features currently under development include:

  • Video Sprites – Fill sprites with live video.
  • Face Sensing – Make animated costumes and games that interact with your face.
  • Animated Text – Bring words to life with colours, fonts, and animations.

Community of users

A Scratch programming workshop

Scratch is used in many different settings: schools, museums, libraries, community centers, and homes.[19][20][21] Scratch is designed primarily for users aged 8–16, but it is used by all ages and has a sizeable adult user base as of 2009.[10][22] This wide outreach has created many surrounding communities, both physical and digital.[12] In April 2020, the Tiobe ranking of the world's programming languages included Scratch in the top 20. According to Tiobe, there are 50 million projects written in Scratch, and every month one million new projects are added.[23]

Educational users

Scratch is used as the introductory language because the creation of interesting programs is relatively easy, and skills learned can be applied to other programming languages such as Python and Java.

Scratch is not exclusively for creating games. With the provided visuals, programmers can create animations, text, stories, music, art, and more. There are already many programs that students can use to learn topics in math, history, and even photography. Scratch allows teachers to create conceptual and visual lessons and science lab assignments with animations that help visualize difficult concepts. Within the social sciences, instructors can create quizzes, games, and tutorials with interactive elements. Using Scratch allows young people to understand the logic of programming and how to creatively build and collaborate.[24]

Scratch is taught to more than 800 schools and 70 colleges of the DAV organization in India and across the world.[25][26]

In higher education, Scratch is used in the first week of Harvard University's CS50 introductory computer science course.[27][28]

Online community

"Jumper", an example of a game created with Scratch 2.0
Shadow on Scratch
"Shadow", an example of a game created with Scratch 3.0

Users of Scratch are called "Scratchers". Scratchers have the capability to share their projects and receive feedback. Projects can be uploaded directly from the development environment to the Scratch website and any member of the community can view and download the full source code to study or to remix into new projects.[29][30] Scratchers can also create project studios, comment, favorite, and "love" others' projects, follow other members to see their projects and activity, and share ideas. Projects range from games and animations to practical tools. Additionally, to encourage the creation and sharing amongst users, the website frequently establishes "Scratch Design Studio" challenges.[31]

The MIT Scratch Team works to ensure that this community maintains a friendly and respectful environment for all people.[32][33]

Educators have their own online community called ScratchEd, developed and supported by the Harvard Graduate School of Education. In this community, Scratch educators share stories, exchange resources, and ask questions.[34]

Scratch Wiki

The Scratch Wiki is a support resource for Scratch and information about its website, history, and phenomena surrounding it. Although supported by the Scratch Team (the developers of Scratch), it is primarily written by Scratch users (Scratchers) and is hosted independently of the main Scratch website.[35] There are other wikis in languages besides English available on the Scratch Wiki base domain.

Roles

Roles are displayed as a label under a user's username on profile pages and on forum posts. To prevent vandalism, new accounts have the "New Scratcher" role, as opposed by the usual "Scratcher" role. Some restrictions are imposed onto New Scratcher accounts, including the inability to use cloud data and a minimum 30 second cooldown period between posting comments.[36] After a period of time of interacting and creating projects, an account will be eligible to gain the Scratcher role.[37]

Official moderators and developers of Scratch are labeled as part of the "Scratch Team" and usually have an asterisk at the end of their username.[38] The site also has special types of accounts for Students and Educators to use Scratch in the classroom.[39]

Censorship

In August 2020, GreatFire announced that the Chinese government had blocked access to the Scratch website. At the time, it was estimated that more than three million people in China were using it.[40][citation needed] The outlet cited the fact that Macau, Hong Kong and Taiwan were listed as countries on the website.[40][41] They also contain Abkhazia, Somaliland, South Ossetia, and Faroe Islands are locations, but they only seem to be seen in Scratch Statistics on the Scratchers Worldwide section, and nobody has made an account in these countries.

Code base

The source code for the project editor in all three major versions, as well as a majority of the current website, is hosted publicly on GitHub across various repositores.[42] Scratch 3.0 is JavaScript-based, 2.0 is programmed in ActionScript,[4] and the 1.x versions were based on Squeak, which itself is based on Smalltalk-80.[43]

2.0 had an experimental JavaScript-based interpreter that was being developed in parallel with the ActionScript version.[44]

In 3.0, Scratch blocks are implemented using Blockly, a JavaScript library developed by Google for creating block-based visual programming languages.[45][46]

On 13 May 2014, a year after the release of Scratch 2.0, it was announced by a developer on the Scratch Forums that 2.0 would become open source.[47]

Events

Scratch Educators can gather in person at Scratch Educator Meetups. At these gatherings, Scratch Educators learn from each other and share ideas and strategies that support computational creativity.[48]

An annual "Scratch Week", formerly known as "Scratch Day", is declared in May each year. Community members are encouraged to host an event on or around this day, large or small, that celebrates Scratch. These events are held worldwide, and a listing can be found on the Scratch Day website. Scratch Week is a series focusing on Scratch activities on the Scratch website.[49]

Every April Fools' Day, the Scratch Team will play pranks on users and add Easter eggs, one example being that all event blocks in projects turn into cat versions of the same blocks.

History

In the early 2000s, the MIT Media Lab's Lifelong Kindergarten group (LLK) was developing visual programming languages targeted towards children.[50] In 2003, Mitchel Resnick, Yasmin Kafai, and John Maeda were awarded a National Science Foundation grant for the development of a new programming environment for children to express themselves with code.[11] The LLK, led by Mitchel Resnick, in partnership with Yasmin Kafai's team at UCLA worked closely with Computer Clubhouses in Boston and Los Angeles to develop Scratch, grounding its design in the practices and social dynamics of these after-school youth centers.[11] It started as a basic programming language, with no labeled categories and no green flag.[51] Similar to AgentSheets[52] Scratch employed concepts of Tactile Programming later known as blocks-based programming. Scratch was made with the intention to teach kids to program.[51]

The philosophy of Scratch encourages the sharing, reuse, and combination of code, as indicated by the team slogan, "Imagine, Program, Share".[53] Users can make their own projects, or they may choose to "remix" someone else's project. Projects created and remixed with Scratch are licensed under the Creative Commons Attribution-Share Alike License.[54] Scratch automatically gives credit to the user who created the original project and program in the top part of the project page.[21]

Scratch was developed based on ongoing interaction with youth and staff at Computer Clubhouses. The use of Scratch at Computer Clubhouses served as a model for other after-school centers demonstrating how informal learning settings can support the development of technological fluency.[55]

Scratch 2.0 was released on 9 May 2013.[14] The update changed the look of the site and included both an online project editor and an offline editor.[56] Custom blocks could now be defined within projects, along with several other improvements.[57] The Scratch 2.0 Offline editor could be downloaded for Windows, Mac, and Linux directly from Scratch's website, although support for Linux was later dropped. The unofficial mobile version had to be downloaded from the Scratch forums.[58][59]

The Scratch website's homepage

Scratch 3.0 was first announced by the Scratch Team in 2016. Several public alpha versions were released between then and January 2018, after which the pre-beta "Preview" versions were released.[60] A beta version of Scratch 3.0 was released on 1 August 2018.[61] for use on most browsers; with the notable exception of Internet Explorer.[62]

Scratch 3.0, the first 3.x release version, was released on 2 January 2019.[63] On 28 June 2023,[64] the header and links on the Scratch Website changed from blue to purple, and new optional high-contrast block colors were introduced, to make the site easier for colorblind people to read and use.[65]

On March 11, 2019, Scratch separated from MIT Media Lab.[66]

Filetypes

In Scratch 1.4, an *.sb file was the file format used to store projects.[67]

An *.sb file is divided into four sections:

  • "header", this 10-byte header contains the ASCII string "ScratchV02" in versions higher than Scratch 1.2, and "ScratchV01" in Scratch 1.2 and below
  • "infoSize", encodes the length of the project's infoObjects. A 4-byte long, 32-bit, big-Endian integer.
  • "infoObjects", a dictionary-format data section. It contains: "thumbnail", a thumbnail of the project's stage; "author", the username of the project's creator; "comment", the Project Notes; "history", the save and upload log; "scratch-version", the version of Scratch used to save the file;
  • "contents", an object table with the Stage as the root.[68] All objects in the program are stored here as references.[69]

Scratch 2.0 uses the *.sb2 file format. These are zip files containing a .json file as well as the contents of the Scratch project including sounds (stored as .wav) and images (stored as .png).[70] Each filetype, excluding the project.json, is stored as a number, starting at 0 and counting up with each additional file. The image file labeled "0.png" is always a 480x360 white image, but "0.wav" will still be the earliest non-deleted file.

The ScratchX experimental version of Scratch used the .sbx file format.[71]

Scratch 3.0 uses the *.sb3 format, which is very similar to *.sb2, one difference being the sound.[how?][72]

Older versions

Although the main Scratch website now runs only the current version (Scratch 3.0), the offline editors for Scratch 2.0 (and the earlier Scratch 1.4) are still available for download[73] and can be used to create and run games locally.[74] It is still possible to upload projects from the Scratch 2.0 launcher, which are immediately converted into Scratch 3.0 when uploaded to the main site.[75] There is also an offline version of Scratch 3.0.

Technology

The editor of Scratch 1.4 and below was written in Squeak, while its online project viewer was written in Java, and a player written in Adobe Flash was later added.[43][76] Scratch 2.0 relied on Adobe Flash for the online version, and Adobe AIR for the offline editor. These have fallen out of favor, and Adobe dropped support for them at the end of 2020.[77][78]

Interface

A script that lets the sprite say Hello, World! then stops the script in Scratch 2.0

In Scratch 2.0, the stage area is on the left side, with the programming blocks palette in the middle, and the coding area on the right. Extensions are in the "More Blocks" section of the palette.[22]

The web version of Scratch 2.0 introduced project autosaving.[79]: 23 

The blocks palette in Scratch 2.0 is made of discrete sections that are not scrollable from one to the next; the table below shows the different sections:

Interface sections in Scratch
Category Notes
Motion Moves and changes the position of sprites
Events Event handlers
Looks Controls the visuals of the sprite
Control Conditionals and loops
Sound Audio files, sequences, and music
Sensing Sprite interaction
Pen Draw on the canvas
Operators Mathematical operators
Data Variables, arrays and lists
More Blocks Functions, return value is always void

Scratch 2.0 introduced the backpack, which can be used to transfer scripts, sprites, costumes, and sounds between projects.[79]: 14–15 

1.4 sounds

Scratch 2.0 changed how sounds were imported, so many Scratch 1.4 sounds stopped working. (The project file was changed from *.sb to *.sb2).

Features

Scratch uses event-driven programming with multiple active objects called sprites.[14] Sprites can be drawn, as vector or bitmap graphics, from scratch in a simple editor that is part of Scratch, or can be imported from external sources. Scratch 3.0 only supports one-dimensional arrays, known as "lists", and floating-point scalars and strings are supported but with limited string manipulation ability. There is a strong contrast between the powerful multimedia functions and multi-threaded programming style and the rather limited scope of the Scratch programming language.

Scratch 2.0 features

Scratch 2.0 does not treat procedures as first class structures and has limited file I/O options with Scratch 2.0 Extension Protocol, an experimental extension feature that allows interaction between Scratch 2.0 and other programs.[80] The Extension protocol allows interfacing with hardware boards such as Lego Mindstorms[81] or Arduino.[82] Scratch 2.0 also has the following features:

  • Smart block switching
  • Two-column category menu
  • Reverse order of project controls
  • Display stage on left side
  • Square block inputs
  • Compact editor
  • Collapsing sprite properties
  • Scratch 2.0 themes

Snap! (Build Your Own Blocks)

A more advanced visual programming language inspired by Scratch is Snap!, featuring first class procedures (their mathematical foundations are also called lambda calculus), first-class lists (including lists of lists), and first-class truly object-oriented sprites with prototyping inheritance, and nestable sprites, which are not part of Scratch.[83] Snap! (previously "BYOB") was developed by Jens Mönig[84][85] with documentation provided by Brian Harvey[86][87] from University of California, Berkeley and has been used to teach "The Beauty and Joy of Computing" introductory course in CS for non-CS-major students.[88] Both of them were members of the Scratch Team before designing "Snap!".[89][22]

ScratchJr

In July 2014, ScratchJr was released for iPad, and in 2016, ScratchJr for Android. Although heavily inspired by Scratch and co-led by Mitch Resnick, it is nonetheless a complete rewrite designed for younger children—targeting ages 5 through 7.[90]

Community-made modifications

Due to the open source nature of Scratch, numerous forks and browser extensions have been created by the community that aim to improve or modify the user experience. ScratchTools and Scratch Addons are some examples of open-sourced browser extensions that add many upgrades and new features to the Scratch website and editor.[91][92]

TurboWarp is a fork of the Scratch 3.0 editor that compiles the Scratch blocks into JavaScript code when a project is run, meaning projects can run up to 200x faster, with 60FPS option, results varying heavily depending on the project, and setting and add-ons.[93][94] TurboWarp can also export projects to standalone HTML5, Bundle (macOS) and EXE files.[95]

Users can also create their own extensions for Scratch 3.0 using JavaScript.[96] Although the intention for Scratch 3.0 was to allow unofficial JavaScript extensions to be developed by users, it was abandoned due to moderation risks. As a result, the official site doesn't allow JavaScript extensions to be added, but several modifications of Scratch do.

Before 2.0, a number of Scratch forks[97][better source needed] were created using the source code of Scratch 1.4. These programs usually only included a few extra blocks not present in Scratch.[98][better source needed]

See also

References

  1. ^ Maloney, John; Burd, Leo; Kafai, Yasmin; Rusk, Natalie; Silverman, Brian; Resnick, Mitchel (29–30 January 2004). Scratch: A Sneak Preview. Second International Conference on Creating, Connecting and Collaborating through Computing. Section 6: Project status and next steps. doi:10.1109/C5.2004.33 – via ResearchGate.
  2. ^ "Scratch Timeline – Scratch Wiki". en.scratch-wiki.info.
  3. ^ a b Lee, David (28 December 2018). "What you need to know about Scratch 3.0". Computhink. Retrieved 9 February 2024.
  4. ^ a b Frang, Corey (28 February 2019). "Porting Scratch from Flash to JavaScript: Performance, Interoperability and Extensions". bocoup. Retrieved 9 February 2024.
  5. ^ "Strengthening Our Commitment to Free and Open Source Software". Scratch Foundation. Retrieved 6 December 2024.
  6. ^ "Catrobat Home". catrobat.org.
  7. ^ "ScratchJr – Home". scratchjr.org.
  8. ^ "Snap! Build Your Own Blocks". snap.berkeley.edu.
  9. ^ "KS1 / KS2 Computing: Programming a robot crocodile". BBC Teach. Retrieved 8 December 2024.
  10. ^ a b scratch, scratch (11 October 2022). "Scratch – About". scratch.mit.edu.
  11. ^ a b c "NSF Award Search: Award # 0325828 – ITR: A Networked, Media-Rich Programming Environment to Enhance Informal Learning and Technological Fluency at Community Technology Centers". www.nsf.gov. Retrieved 15 April 2021.
  12. ^ a b "Community statistics at a glance". scratch.mit.edu. Archived from the original on 6 April 2016. Retrieved 18 May 2019.
  13. ^ Schorow, Stephanie (14 May 2007). "Creating from Scratch". MIT News. Archived from the original on 13 October 2018. Retrieved 18 May 2019.
  14. ^ a b c d e Marji, Majed (2014). Learn to Program with Scratch. San Francisco, California: No Starch Press. pp. xvii, 1–9, 13–15. ISBN 978-1-59327-543-3.
  15. ^ a b "Science Buddies: Scratch User Guide: Installing & Getting Started with Scratch". ScienceBuddies.org. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  16. ^ "Scratch Desktop". Retrieved 19 September 2019.
  17. ^ "Music Making in Scratch: High Floors, Low Ceilings, and Narrow Walls? /". Jitp.commons.gc.cuny.edu. 16 May 2019. Retrieved 27 February 2022.
  18. ^ "Scratch Lab". lab.scratch.mit.edu. Retrieved 27 September 2023.
  19. ^ Oliveira, Michael (30 April 2014). "Canadian schools starting to teach computer coding to kids". CTV.ca. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  20. ^ "Scratch Day". Science Museum of Minnesota. Archived from the original on 8 April 2013. Retrieved 18 May 2019.
  21. ^ a b Lamb, Annette; Johnson, Larry (April 2011). "Scratch: Computer Programming for 21st Century Learners" (PDF). Teacher Librarian. 38 (4): 64–68. Retrieved 18 May 2019.
  22. ^ a b c Resnick, Mitchel; Maloney, John; Hernández, Andrés; Rusk, Natalie; Eastmond, Evelyn; Brennan, Karen; Millner, Amon; Rosenbaum, Eric; Silver, Jay; Silverman, Brian; Kafai, Yasmin (2009). "Scratch: Programming for All" (PDF). Communications of the ACM. 52 (11): 60–67. doi:10.1145/1592761.1592779. S2CID 229934947.
  23. ^ Fay, Joe (6 April 2020). "Kids programming language Scratch nails top 20 in latest dev rankings • DEVCLASS". DEVCLASS. Retrieved 27 April 2020.
  24. ^ Martin, Neil (25 June 2015). "What is Scratch? Is it AV or IT?". AV Magazine. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  25. ^ "DAV CS Syllabus" (PDF). Archived from the original (PDF) on 13 July 2018. Retrieved 18 May 2019.
  26. ^ "DAV Jharkhand Syllabus". Retrieved 18 May 2019.
  27. ^ Young, Jeffrey R. (20 July 2007). "Fun, Not Fear, Is at the Heart of Scratch, a New Programming Language". The Chronicle of Higher Education. ISSN 0009-5982. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  28. ^ "CS50 Syllabus". Archived from the original on 17 March 2015. Retrieved 18 May 2019.
  29. ^ Monroy-Hernandez, Andres; Hill, Benjamin Mako; Gonzalez-Rivero, Jazmin; Boyd, Danah (2011). "Computers Can't Give Credit: How Automatic Attribution Falls Short in an Online Remixing Community". Proceedings of the 29th International Conference on Human Factors in Computing Systems (CHI '11). ACM. pp. 3421–30. arXiv:1507.01285. doi:10.1145/1978942.1979452. S2CID 7494330.
  30. ^ Hill, B.M; Monroy-Hernández, A.; Olson, K.R. (2010). "Responses to remixing on a social media sharing website". ICWSM 2010: Proceedings of the 4th International Conference on Weblogs and Social Media, May 23–26, 2010. Washington, D.C.: AAAI Press. arXiv:1507.01284. Bibcode:2015arXiv150701284M. ISBN 978-1-57735-445-1. OCLC 844857775.
  31. ^ "Scratch Design Studio". wiki.scratch.mit.edu. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  32. ^ "For Parents". scratch.mit.edu. Archived from the original on 4 April 2019. Retrieved 18 May 2019.
  33. ^ "Scratch Community Guidelines". scratch.mit.edu. Archived from the original on 7 April 2019. Retrieved 18 May 2019.
  34. ^ "Scratch for Educators". scratch.mit.edu. Archived from the original on 5 October 2008. Retrieved 18 May 2010.
  35. ^ "Scratch Wiki". en.scratch-wiki.info. Archived from the original on 12 May 2019. Retrieved 18 May 2019.
  36. ^ jvvg (1 June 2013). "An explanation of the 'New Scratcher' status". Discuss Scratch. Retrieved 11 January 2024.
  37. ^ "What is a Scratcher and how do I become one?". mitscratch.freshdesk.com. 4 November 2021. Retrieved 10 February 2024.
  38. ^ "Scratch Team - Scratch Wiki". en.scratch-wiki.info. Retrieved 26 May 2023.
  39. ^ "Student and Teacher Accounts - Scratch Wiki". en.scratch-wiki.info. Retrieved 26 May 2023.
  40. ^ a b Liao, Rita (7 September 2020). "China bans Scratch, MIT's programming language for kids". TechCrunch. Retrieved 27 April 2021.
  41. ^ "China blocks MIT's kid-friendly programming language Scratch". Developer Tech News. 8 September 2020. Retrieved 19 November 2020.
  42. ^ "Scratch Source Code". Scratch Wiki. Retrieved 8 April 2024.
  43. ^ a b "Scratch". Squeak/Smalltalk. Retrieved 7 March 2021.
  44. ^ Lightnin (29 October 2013). "We're seeking contributors to help finish our HTML5 Scratch player (now open sourced!)". Discuss Scratch. Retrieved 18 May 2019.
  45. ^ "Blockly". Google Developers.
  46. ^ Pasternak, Erik (17 January 2019). "Scratch 3.0's new programming blocks, built on Blockly". Retrieved 2 October 2019.
  47. ^ speakvisually (13 May 2014). "Scratch 2.0 Offline Open Source Code!". Discuss Scratch. Retrieved 13 January 2024.
  48. ^ "Scratch Educator". Meetup.com. Archived from the original on 21 April 2019. Retrieved 18 May 2019.
  49. ^ "Scratch Week". Archived from the original on 7 April 2019. Retrieved 18 May 2019.
  50. ^ "LLK – Projects – Building-Block Programming". llk.media.mit.edu. Archived from the original on 30 April 2001. Retrieved 19 December 2021.
  51. ^ a b "Development of Scratch 1.0". en.scratch-wiki.info. Archived from the original on 3 January 2019. Retrieved 18 May 2019.
  52. ^ "Tactile Programming: A Unified Manipulation Paradigm Supporting Program Comprehension, Composition and Sharing". Retrieved 15 October 2021.
  53. ^ "Scratch – Imagine, Program, Share". scratch.mit.edu. Archived from the original on 22 February 2011. Retrieved 18 May 2019.
  54. ^ "Creative Commons License". wiki.scratch.mit.edu. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  55. ^ "ITR: A Networked, Media-Rich Programming Environment to Enhance Informal Learning and Technological Fluency at Community Technology Centers". National Science Foundation. Archived from the original on 30 December 2015. Retrieved 18 May 2019.
  56. ^ "Scratch Desktop". scratch.mit.edu. Archived from the original on 6 April 2019. Retrieved 18 May 2019.
  57. ^ Biggs, John (10 May 2013). "Kids' Programming Tool Scratch Now Runs in the Browser". TechCrunch. Archived from the original on 9 July 2017. Retrieved 18 May 2019.
  58. ^ Shane (grokblah), on behalf of the Scratch Team (29 August 2013). "Updated Scratch 2 Offline Editor (Beta) is now available!". Discuss Scratch. Retrieved 18 May 2019.
  59. ^ "Scratch 2.0 Preview". YouTube. MITScratchTeam. 1 May 2013. Archived from the original on 24 January 2014. Retrieved 18 May 2019.
  60. ^ "Scratch 3.0". en.scratch-wiki.info. Archived from the original on 9 May 2019. Retrieved 18 May 2019.
  61. ^ "3 Things To Know About Scratch 3.0". Medium.com. 31 January 2019. Archived from the original on 12 May 2019. Retrieved 18 May 2019.
  62. ^ "Scratch 3.0". scratch.mit.edu. Archived from the original on 6 April 2019. Retrieved 18 May 2019.
  63. ^ "Scratch 3.0 – Scratch Wiki". en.scratch-wiki.info. Retrieved 27 April 2021.
  64. ^ ceebee, on behalf of the Scratch Team (28 June 2023). "Color Contrast is here!". Discuss Scratch. Retrieved 5 September 2023.
  65. ^ ceebee, on behalf of the Scratch Team (5 June 2023). "Coming Soon: Color Contrast in Scratch!". Discuss Scratch. Retrieved 5 September 2023.
  66. ^ Mitchel Resnick, one of the founders of Scratch (12 March 2019). "Supporting the Growth of Scratch - Mitchel Resnick - Medium". Medium. Retrieved 5 March 2024.
  67. ^ "Scratch Wiki – *.sb". 4 October 2015. Retrieved 7 November 2015.
  68. ^ "Scratch File Format (1.4)/Object Table – Scratch Wiki". en.scratch-wiki.info. Retrieved 19 February 2022.
  69. ^ "Scratch File Format (1.4)/Object Table – Scratch Wiki". en.scratch-wiki.info. Retrieved 19 February 2022.
  70. ^ "Scratch File Format (2.0)". Scratch Wiki. Retrieved 2 October 2019.
  71. ^ "LLK/scratchx". GitHub. 16 August 2022.
  72. ^ "Scratch File Format". Scratch Wiki. Retrieved 2 October 2019.
  73. ^ "Scratch 2.0 Offline Editor". MIT. Retrieved 21 September 2019.
  74. ^ "3 Things To Know About Scratch 3.0". The Scratch Team. 31 January 2019. Retrieved 21 September 2019.
  75. ^ "Offline Editor (2.0) – Scratch Wiki". en.scratch-wiki.info. Retrieved 27 April 2021.
  76. ^ "Scratch Forums / Beta Flash player". Scratch Archived Forums. Retrieved 7 March 2021.
  77. ^ O'Donnell, Lindsey (14 January 2019). "Mozilla Kills Default Support for Adobe Flash in Firefox 69". Retrieved 21 September 2019.
  78. ^ Adobe Corporate Communications (30 May 2019). "The Future of Adobe AIR". Archived from the original on 25 August 2019. Retrieved 21 September 2019.
  79. ^ a b McManus, Sean (2013). Scratch Programming in easy steps. Leamington Spa: Easy Steps. ISBN 978-1-84078-612-5.
  80. ^ "Scratch Extension". MIT. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  81. ^ "EV3+Scratch Extension". Scratch extension GitHub. Code & Circuit. Archived from the original on 20 January 2016. Retrieved 18 May 2019.
  82. ^ "Preliminary Scratch extension for talking to Arduino boards running Firmata". Scratch extension GitHub. Damellis. Archived from the original on 16 January 2018. Retrieved 18 May 2019.
  83. ^ "Snap! – Build Your Own Blocks". University of California, Berkeley. Archived from the original on 16 May 2019. Retrieved 18 May 2019.
  84. ^ Mönig, Jens. "Jens on Scratch". Scratch. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  85. ^ Mönig, Jens (31 May 2011). "BYOB 3.1 – Prototypal Inheritance for Scratch". Chirp Blog. Archived from the original on 6 December 2013. Retrieved 18 May 2019.
  86. ^ "Brian Harvey". Electrical Engineering and Computer Sciences. Archived from the original on 3 April 2019. Retrieved 18 May 2019.
  87. ^ "bharvey". Scratch. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  88. ^ "CS10 : The Beauty and Joy of Computing". EECS Instructional Support Group Home Page. Archived from the original on 23 January 2014. Retrieved 18 May 2019.
  89. ^ "Relationship With the Scratch Team".
  90. ^ "About ScratchJr". scratchjr.org. Retrieved 19 September 2019.
  91. ^ "Frequently Asked Questions". Scratch Addons Docs. Retrieved 7 January 2024.
  92. ^ "Is the Scratch Programming Environment Ideal for all?" (PDF). Proceedings of the 15th International Conference on Computer Supported Education. ISBN 978-989-758-641-5.
  93. ^ "How TurboWarp runs Scratch projects 10-100x faster | TurboWarp Documentation". docs.turbowarp.org. Retrieved 7 January 2024.
  94. ^ "TurboWarp - Run Scratch projects faster". turbowarp.org. Retrieved 17 April 2022.
  95. ^ "TurboWarp Packager". packager.turbowarp.org. Retrieved 7 January 2024.
  96. ^ "Scratch 3.0 Extensions". Github. MIT. Retrieved 19 September 2019.
  97. ^ "Scratch Modification". Scratch Wiki. Lifelong Kindergarten Group at the MIT Media Lab. Archived from the original on 18 May 2019. Retrieved 18 May 2019.
  98. ^ "Blocks". Scratch Wiki. Archived from the original on 18 May 2019. Retrieved 18 May 2019.