Scratch Blocks is a library for building creative computing interfaces.
Find a file
Tim Mickel 3f3862a5a8 Various tweaks to shape and size (#544)
* Align text by consistent baseline

* Helvetica

* CORNER_RADIUS in grid units

* Separate MIN_BLOCK_X for reporters from single-field shadows

* Update Blockly.BlockSvg.FIELD_WIDTH

* Remove padding on htmlInput

* Also apply border-radius to htmlInput_ to avoid weird edge effect in Chrome

* Update MIN_BLOCK_X to spec

* Fix horizontal sizing of blocks to include right corner.

* Add EDITABLE_FIELD_PADDING

This gives extra width to editable text fields.

* Add correct height for reporters

* Fix INLINE_PADDING_Y and reporter sizing to spec

* Remove unused case for input.renderWidth

* Instrument vertical rendering with right/left row padding.

* Revert renderWidth change

* Fix calculation of input shape widths

* Output padding to spec, fixing #376

* Update horizontal FIELD_TOP_PADDING for new dominant baseline

* Update padding language to be LTR/RTL neutral

* Remove broken RTL SEP_SPACE_X from input shape drawing
2016-07-26 11:52:05 -04:00
blocks Add math_integer block and use it in go back _ layers (#513) 2016-07-12 14:33:26 -04:00
blocks_horizontal lint fixes 2016-05-24 14:17:43 -07:00
blocks_vertical Blocks lint and licenses (#505) 2016-07-11 11:00:33 -04:00
core Various tweaks to shape and size (#544) 2016-07-26 11:52:05 -04:00
i18n Handle non ascii characters in keys with an error. 2015-06-22 16:58:30 +02:00
media Updated icons May 9 (#326) 2016-05-09 14:05:05 -04:00
msg Recompile July 14 (#517) 2016-07-14 11:20:51 -04:00
tests Allow Variable use text as Value (#539) 2016-07-15 13:51:41 -04:00
.editorconfig Restore editor config 2016-05-03 17:55:53 -04:00
.eslintignore Merge branch 'develop' of https://github.com/google/blockly into feature/pull_upstream_6_01 2016-06-06 11:14:48 -07:00
.eslintrc More lint and eslint configuration. 2016-05-25 15:35:11 -07:00
.gitignore update gitignore 2016-06-01 15:47:43 -07:00
blockly_compressed_horizontal.js Feature/colors july 15 (#537) 2016-07-15 11:42:52 -04:00
blockly_compressed_vertical.js Feature/colors july 15 (#537) 2016-07-15 11:42:52 -04:00
blockly_uncompressed_horizontal.js Recompile July 14 (#517) 2016-07-14 11:20:51 -04:00
blockly_uncompressed_vertical.js Recompile July 14 (#517) 2016-07-14 11:20:51 -04:00
blocks_compressed.js Feature/colors july 15 (#537) 2016-07-15 11:42:52 -04:00
blocks_compressed_horizontal.js Feature/colors july 15 (#537) 2016-07-15 11:42:52 -04:00
blocks_compressed_vertical.js Feature/colors july 15 (#537) 2016-07-15 11:42:52 -04:00
build.py Add a few Scratch 2.0 motion blocks (#462) 2016-06-29 20:47:16 -04:00
LICENSE Rename COPYING to LICENSE. Re GH-304 2016-05-03 17:07:19 -04:00
package.json Fix release number in package.json 2016-05-17 05:51:08 -07:00
README.md Update FAQ link to point to scratch.mit.edu/developers 2016-06-08 12:12:52 -04:00
TRADEMARK Add TRADEMARK notice / file. Re GH-304 2016-05-03 17:26:35 -04:00

scratch-blocks

Scratch Blocks is a library for building creative computing interfaces.

Introduction

Scratch Blocks is a fork of Google's Blockly project that provides a design specification and codebase for building creative computing interfaces. Together with the Scratch Virtual Machine (VM) this codebase allows for the rapid design and development of visual programming interfaces.

This project is in active development and should be considered a "developer preview" at this time.

Two Types of Blocks

Scratch Blocks brings together two different programming "grammars" that the Scratch Team has designed and continued to refine over the past decade. The standard Scratch grammar uses blocks that snap together vertically, much like LEGO bricks. For our ScratchJr software, intended for younger children, we developed blocks that are labelled with icons rather than words, and snap together horizontally rather than vertically. We have found that the horizontal grammar is not only friendlier for beginning programmers but also better suited for devices with small screens.

Only the horizontal grammar is available for preview at this time. The vertical grammar is in the design phase and will be added to the project over the next several months.

Documentation

The "getting started" guide including FAQ and design documentation can be found in the wiki.

Donate

We provide Scratch free of charge, and want to keep it that way! Please consider making a donation to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!