Opening a Morph in the World - LucPrestin/Hidden-Modularity GitHub Wiki

Description

Morphs are the building blocks on which Squeak's graphical output is based. Since this is a feature we want to explore, it's a good idea to start with the simplest example: opening a simple morph in the world.

Code

^ TDBCursor traceForBlock: [Morph new openInWorld]

Hypotheses

  • drawing a simple morph should be a simple thing with few participating classes. We'd expect to see a rather small graph.
  • We would expect to see things related to point arithmetic, the morph itself, and classes related to graphics routines, like colors.

Evaluation

image

Further insights (optionally)

Screenshots from older versions of the graph, on a more fine-grained data basis (colors don't match, as we changed the color calculation mid-project):

image
image
image
image
image
image