Last updated at 7:14 pm UTC on 24 February 2017
m1 := Morph new.
m1 position: 0 @ 0.
m1 extent: 480@ 60.
m1 color: (Color r: 0.0 g: 0.0 b: 1.0).
m1 = new BoxMorph();
m1.setPosition(new Point(0, 0));
m1.setExtent(new Point(480, 60));
m1.setColor(new Color(0, 0, 255));
Morphic.js - overview
Morphic.js - programming guide
Full documentation (2017).
Squeak's Morphic, but still many individual functions have been
ported almost literally from Squeak, sometimes even including their
comments, e.g. the morph duplication mechanism fullCopy(). Squeak
has been a treasure trove, and if morphic.js looks, feels and
smells a lot like Squeak, I'll take it as a compliment.