Snap! (programming language)
SNAP, short for Stylized, Natural, and Procedural, is an educational programming language designed by Michael Barnett while working at RCA in 1968 and later used at Columbia University to teach programming in the humanities. It is an imperative programming language, like many languages of the 1960s, but was deliberately verbose, attempting to look more like conversational English in the fashion of HyperText and later languages. Unlike other educational languages of the era, SNAP was not intended to be interactive and was designed to be programmed via punch cards. To save cards, multiple period-separated statements could be written on every card, so the resulting code often looked like a single paragraph.
Snap! (formerly Build Your Own Blocks) is a free block-based educational graphical programming language and online community. Snap allows students to explore, create, and remix interactive animations, games, stories, and more, while learning about mathematical and computational ideas. The Snap! editor, and programs created in it, are web applications that run in the browser without requiring installation. It is built on top of Morphic.js, a Morphic GUI, written by Jens Mönig as 'middle layer' between Snap! itself and 'bare' JavaScript. ==User interface== In Snap!, the screen is organized in three resizable columns containing five regions: the block group selector (top of left column), the blocks palette (left column), the main area (middle column), and the stage area (top of right column) with the sprite selector (also called the sprite corral) showing sprite thumbnails below it. In the interactively resizable stage area are shown the graphical results of the scripts running in the script area and/or interactively double-clicked individual blocks in any palette. Individual blocks can be dragged from the palette onto the scripts area to be associated with the selected sprite. at startup Snap!s blocks are divided into eight groups: Motion, Looks, Sound, Pen, Control, Sensing, Operators, and Variables. The layout of these groups in the block group selector is shown in the table below. The central area can show scripts, costumes/backdrops, or sounds associated with the selected sprite. What that area shows depends on the selected tab. ==Mascot== Alonzo, the mascot of Snap!, is a modified version of Gobo from Scratch, with permission from the Scratch Team. He is named after Alonzo Church , the inventor of lambda calculus, and his hair is based on the Greek letter lambda. ==Special-purpose blocks (libraries)== Extended sets of blocks can be found in Snap! libraries, such as the 'streams' library that enables one to make the complete, infinite Fibonacci sequence, for example, using the special blocks ('stream', 'show stream', 'tail of stream', and 'map ( ) over stream' block) from the library. Many other libraries are available, such as the 'list utilities' library, the 'words, sentences' library, the 'iterations' library, the 'animation' library, the 'frequency distribution' library, the 'audio computation' library, the 'bar charts' library, the 'world map' library, the 'colors and crayons' library, the 'strings and multi-line input' library, the 'parallelization' library, etc. for other special purposes. ==History== The web-based Snap! and older desktop-based BYOB were both developed by Jens Mönig for Windows, OS X and Linux with design ideas and documentation provided by Brian Harvey from University of California, Berkeley and have been used to teach "The Beauty and Joy of Computing" introductory course in computer science (CS) for non-CS-major students. Jens was a member of the Scratch Team before creating Snap!. BYOB is still available for downloading. ==License== The source code of Snap! is released under the GNU Affero General Public License version 3 (AGPLv3) license and is hosted on GitHub. The earlier, desktop-based 3.x version's code is available under a license that allows modification for only non-commercial uses and can be downloaded from the UC Berkeley website or CNET's download.com and TechTracker download page. ==Platforms== Snap! runs on the major web-browsers on Windows, iOS, MacOS and Linux devices. Supported web-browsers include: Firefox Chrome (and most Chromium based browsers) Opera GX Microsoft Edge Safari ==Implementation== Snap! is built on top of Morphic.js, a Morphic GUI, which serves as 'middle layer' between Snap! itself and 'bare' JavaScript. It uses an HTML5 Canvas application programming interface (API). All things visible in Snap! are morphs themselves, i.e. all buttons, sliders, dialog boxes, menus, entry fields, text rendering, blinking cursors etc. are created with morphic.js rather than using HTML DOM elements. Snap! caches the shapes of sprites so the sprite doesn't have to be re-drawn onto a new Canvas element every time the mouse moves over its bounding box. It does not cache blocks, however. Instead it manages the insides of C-shaped blocks through the morphic "holes" mechanism. All user interaction is triggered by events, which are passed on from the root element "the world" to its submorphs. Dropping a morph causes it to become embedded in a new 'owner' ('parent') morph. In Morphic the preferred way to run an animation is to register it with the World by adding it to the World's animation queue. The World steps each registered animation once per display cycle independently of the Morphic stepping mechanism. ==Recognition== Snap! has been recognized by the Logo Foundation, and reviewed in an online magazine for programmers. As of December 2014, 100 New York City (NYC) high schools introduced University of California, Berkeley's “Beauty and Joy of Computing” as a new AP Computer Science Principles course, using Snap!. Jens and Brian received the National Technology Leadership Summit (NTLS) 2020 Educational Leadership Award for lifetime achievement based in part on Snap!. ==Notes== ==References== ==External links==
References
- Computer-Aided Composition · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Computer-Aided Composition." Belzer, Jack; Holzman, Albert; Kent, Allen, eds. 2026-11-17. https://books.google.com/books?id=c09mvQEACAAJ. Accessed 24 November 2026.
Chicago "Computer-Aided Composition." Belzer, Jack; Holzman, Albert; Kent, Allen, eds. 2026-11-17. https://books.google.com/books?id=c09mvQEACAAJ.
APA Belzer, Jack; Holzman, Albert; Kent, Allen, eds. (2026). Computer-Aided Composition. Retrieved November 24, 2026, from https://books.google.com/books?id=c09mvQEACAAJ
- Pierson, John (1972). Computer composition using PAGE-1 . Wiley Interscience. p. vi. ISBN 9780471689553 . Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Pierson, John (1972). Computer composition using PAGE-1 . Wiley Interscience. p. vi. ISBN 9780471689553 . Wikipedia revision 1321356124, retrieved 2026-11-18." Pierson, John (1972). 2026-11-17. https://books.google.com/books?id=57dDAAAAMAAJ. Accessed 24 November 2026.
Chicago "Pierson, John (1972). Computer composition using PAGE-1 . Wiley Interscience. p. vi. ISBN 9780471689553 . Wikipedia revision 1321356124, retrieved 2026-11-18." Pierson, John (1972). 2026-11-17. https://books.google.com/books?id=57dDAAAAMAAJ.
APA Pierson, John (1972). (2026). Pierson, John (1972). Computer composition using PAGE-1 . Wiley Interscience. p. vi. ISBN 9780471689553 . Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://books.google.com/books?id=57dDAAAAMAAJ
- Obituary of Michael Barnett (1929-2012) · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Obituary of Michael Barnett (1929-2012)." Capitani, Joseph F. 2026-11-17. https://en.wikipedia.org/wiki/Bibcode_(identifier). Accessed 24 November 2026.
Chicago "Obituary of Michael Barnett (1929-2012)." Capitani, Joseph F. 2026-11-17. https://en.wikipedia.org/wiki/Bibcode_(identifier).
APA Capitani, Joseph F. (2026). Obituary of Michael Barnett (1929-2012). Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Bibcode_(identifier)
- Computer hardware and software for librarians · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Computer hardware and software for librarians." Barnett, Michael (1971). 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Computer hardware and software for librarians." Barnett, Michael (1971). 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett, Michael (1971). (2026). Computer hardware and software for librarians. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. [ 6 ] Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. [ 6 ] Wikipedia revision 1321356124, retrieved 2026-11-18." The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. [ 6 ] Wikipedia revision 1321356124, retrieved 2026-11-18." The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. (2026). The Spectra 70 is similar enough to the IBM 360 to make porting straightforward. [ 6 ] Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- The earliest published references date from 1968, but it may date to the earlier year. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "The earliest published references date from 1968, but it may date to the earlier year. Wikipedia revision 1321356124, retrieved 2026-11-18." The earliest published references date from 1968, but it may date to the earlier year. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "The earliest published references date from 1968, but it may date to the earlier year. Wikipedia revision 1321356124, retrieved 2026-11-18." The earliest published references date from 1968, but it may date to the earlier year. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA The earliest published references date from 1968, but it may date to the earlier year. (2026). The earliest published references date from 1968, but it may date to the earlier year. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- Programming Languages for the Humanities · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Programming Languages for the Humanities." Raskin, Jeffrey (January 1971). 2026-11-17. https://en.wikipedia.org/wiki/Jef_Raskin. Accessed 24 November 2026.
Chicago "Programming Languages for the Humanities." Raskin, Jeffrey (January 1971). 2026-11-17. https://en.wikipedia.org/wiki/Jef_Raskin.
APA Raskin, Jeffrey (January 1971). (2026). Programming Languages for the Humanities. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Jef_Raskin
- Barnett 1970 , p. 225. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Barnett 1970 , p. 225. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Barnett 1970 , p. 225. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett 1970 , p. (2026). Barnett 1970 , p. 225. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- a b c d Barnett 1970 , p. 228. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "a b c d Barnett 1970 , p. 228. Wikipedia revision 1321356124, retrieved 2026-11-18." a b c d Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "a b c d Barnett 1970 , p. 228. Wikipedia revision 1321356124, retrieved 2026-11-18." a b c d Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA a b c d Barnett 1970 , p. (2026). a b c d Barnett 1970 , p. 228. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- Barnett 1970 , p. 229. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Barnett 1970 , p. 229. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Barnett 1970 , p. 229. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett 1970 , p. (2026). Barnett 1970 , p. 229. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- a b Barnett 1970 , p. 230. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "a b Barnett 1970 , p. 230. Wikipedia revision 1321356124, retrieved 2026-11-18." a b Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "a b Barnett 1970 , p. 230. Wikipedia revision 1321356124, retrieved 2026-11-18." a b Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA a b Barnett 1970 , p. (2026). a b Barnett 1970 , p. 230. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- Barnett 1970 , p. 231. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Barnett 1970 , p. 231. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Barnett 1970 , p. 231. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett 1970 , p. (2026). Barnett 1970 , p. 231. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- a b Barnett 1970 , p. 232. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "a b Barnett 1970 , p. 232. Wikipedia revision 1321356124, retrieved 2026-11-18." a b Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "a b Barnett 1970 , p. 232. Wikipedia revision 1321356124, retrieved 2026-11-18." a b Barnett 1970 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA a b Barnett 1970 , p. (2026). a b Barnett 1970 , p. 232. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- Barnett & Ruhsam 1968 , p. 47. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Barnett & Ruhsam 1968 , p. 47. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Barnett & Ruhsam 1968 , p. 47. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett & Ruhsam 1968 , p. (2026). Barnett & Ruhsam 1968 , p. 47. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- a b c Barnett & Ruhsam 1968 , p. 48. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "a b c Barnett & Ruhsam 1968 , p. 48. Wikipedia revision 1321356124, retrieved 2026-11-18." a b c Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "a b c Barnett & Ruhsam 1968 , p. 48. Wikipedia revision 1321356124, retrieved 2026-11-18." a b c Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA a b c Barnett & Ruhsam 1968 , p. (2026). a b c Barnett & Ruhsam 1968 , p. 48. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
- Barnett & Ruhsam 1968 , p. 49. Wikipedia revision 1321356124, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1321356124
Cite this reference
MLA "Barnett & Ruhsam 1968 , p. 49. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124. Accessed 24 November 2026.
Chicago "Barnett & Ruhsam 1968 , p. 49. Wikipedia revision 1321356124, retrieved 2026-11-18." Barnett & Ruhsam 1968 , p. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1321356124.
APA Barnett & Ruhsam 1968 , p. (2026). Barnett & Ruhsam 1968 , p. 49. Wikipedia revision 1321356124, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1321356124
Cite this article
MLA
"Snap! (programming language)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/snap-programming-language. Accessed 24 November 2026.
Chicago
"Snap! (programming language)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/snap-programming-language.
APA
encyclopegia.org. (2025). Snap! (programming language). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/snap-programming-language
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON