s LearnSqueak.com

THE BUILT-IN OBJECTS CATALOG

Visual objects, A–Z.

A searchable reference to every registered object descriptor in the clean Squeak 6.1 build 23976 image. Choose an entry to see what it creates, its code, and its verified native media.

112 registered entries

All Scripts — native Squeak screenshotAll ScriptsAllScriptsTool newStandAloneTested + native media

See and control the scripts in the current project.

Factory
AllScriptsTool newStandAlone
Catalog categories
Scripting
Registration
Visible in Objects
Returned class
AllScriptsTool

Use stop, step, and go controls; expand the tool to see individual scripts and display filters.

All Scripts · Workspace Do it
| object |
object := AllScriptsTool newStandAlone.
object openInWorld.
object

Download launcher .st

All Scripts in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

All Scripts · demonstration code
| m baseExtent panel u |
m := AllScriptsTool newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by AllScriptsTool. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Arrow — native Squeak screenshotArrowPolygonMorph arrowPrototypeTested + native media

Draw a straight arrow.

Factory
PolygonMorph arrowPrototype
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
PolygonMorph

Shift-click to reveal the endpoint handles and drag them to position the arrow.

Arrow · Workspace Do it
| object |
object := PolygonMorph arrowPrototype.
object openInWorld.
object

Download launcher .st

Arrow in the native Squeak Morphic renderer
Native imageForm of PolygonMorph arrowPrototype before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Arrow · demonstration code
| m baseExtent panel u |
m := PolygonMorph arrowPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PolygonMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

No previewNot runAudio chatAudioChatGUI newStandAloneNot run · dependency

Exchange spoken audio with another Squeak user.

Factory
AudioChatGUI newStandAlone
Catalog categories
Collaborative
Registration
Visible in Objects
Returned class
None

Set up the native connection and recording controls for an audio conversation; a picture of the panel does not send or record audio.

initialize calls start2, which immediately calls Socket initializeNetwork. Recording and transmitting speech are additional actions; do not auto-construct this for a visual capture.

Not run · dependency. Its constructor initializes networking. Audio chat was not constructed or connected during this capture audit.

Audio chat · factory reference, not a tested launcher
AudioChatGUI newStandAlone

Descriptor declared by AudioChatGUI. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

No previewNot runBadgeNebraskaSenderMorph newStandAloneNot run · dependency

Represent another Squeak user as a collaboration target.

Factory
NebraskaSenderMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
None

Configure the native badge for a person; dropping a Morph on it can send that person a copy.

initialize calls Socket initializeNetwork and initializeToStandAlone installs a model in the current world. Dropping an object can transmit it.

Not run · dependency. Its constructor initializes networking and installs a sharing model. It was not run for this reference.

Badge · factory reference, not a tested launcher
NebraskaSenderMorph newStandAlone

Descriptor declared by NebraskaSenderMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Blob — native Squeak screenshotBlobBlobMorph newStandAloneTested + native media

Explore a playful shape that changes and moves over time.

Factory
BlobMorph newStandAlone
Catalog categories
Demo
Registration
Visible in Objects
Returned class
BlobMorph

In a running Squeak world, watch its outline ooze and its color adapt; blobs can merge when they meet.

Blob · Workspace Do it
| object |
object := BlobMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Blob in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native Blob oozes, changes vertices, and bounces within its Morph container.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Blob · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := BlobMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
m step.
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by BlobMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Book — native Squeak screenshotBookBookMorph newStandAloneTested + native media

Arrange objects across multiple pages.

Factory
BookMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
BookMorph

Use the book controls to turn pages and add or remove pages; each page can hold other Morphs.

Book menu actions can write pages to disk or a server; ordinary page turning is local.

Book · Workspace Do it
| object |
object := BookMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Book in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Book · demonstration code
| m baseExtent panel u |
m := BookMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by BookMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

BouncingAtoms — native Squeak screenshotBouncingAtomsBouncingAtomsMorph newStandAloneTested + native media

Watch moving particles bounce inside a container.

Factory
BouncingAtomsMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
BouncingAtomsMorph

Resize the container while the atoms bounce to see how their movement responds to the walls.

BouncingAtoms · Workspace Do it
| object |
object := BouncingAtomsMorph newStandAlone.
object openInWorld.
object

Download launcher .st

BouncingAtoms in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native atoms bounce and change the temperature display. Two real #step calls are recorded per frame.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

BouncingAtoms · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := BouncingAtomsMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
2 timesRepeat: [m step].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by BouncingAtomsMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Button — native Squeak screenshotButtonScriptableButton newStandAloneTested + native media

Trigger a tile script from a button.

Factory
ScriptableButton newStandAlone
Catalog categories
Scripting
Registration
Visible in Objects
Returned class
ScriptableButton

Give the native button a script in its containing playfield, then click it to run that script.

Clicking executes its assigned project script; the effects depend on that script.

Button · Workspace Do it
| object |
object := ScriptableButton newStandAlone.
object openInWorld.
object

Download launcher .st

Button in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Button · demonstration code
| m baseExtent panel u |
m := ScriptableButton newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ScriptableButton. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ButtonDown? — native Squeak screenshotButtonDown?ScriptingSystem anyButtonPressedTilesTested + native media

Ask a tile script whether a mouse button is pressed.

Factory
ScriptingSystem anyButtonPressedTiles
Catalog categories
Scripting
Registration
Registered prototype · hidden from Objects
Returned class
SystemQueryPhrase

Use the native condition tiles in a script; this registered descriptor is hidden by this image's catalog class filter.

ButtonDown? · Workspace Do it
| object |
object := ScriptingSystem anyButtonPressedTiles.
object openInWorld.
object

Download launcher .st

ButtonDown? in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ButtonDown? · demonstration code
| m baseExtent panel u |
m := ScriptingSystem anyButtonPressedTiles.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ButtonUp? — native Squeak screenshotButtonUp?ScriptingSystem noButtonPressedTilesTested + native media

Ask a tile script whether no mouse button is pressed.

Factory
ScriptingSystem noButtonPressedTiles
Catalog categories
Scripting
Registration
Registered prototype · hidden from Objects
Returned class
SystemQueryPhrase

Use the native condition tiles in a script; this registered descriptor is hidden by this image's catalog class filter.

ButtonUp? · Workspace Do it
| object |
object := ScriptingSystem noButtonPressedTiles.
object openInWorld.
object

Download launcher .st

ButtonUp? in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ButtonUp? · demonstration code
| m baseExtent panel u |
m := ScriptingSystem noButtonPressedTiles.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Calendar — native Squeak screenshotCalendarCalendarMorph newStandAloneTested + native media

Display and select dates in a one-month calendar.

Factory
CalendarMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
CalendarMorph

Select a date or change the displayed month; the selected date is highlighted and can be used in Etoys scripts.

Calendar · Workspace Do it
| object |
object := CalendarMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Calendar in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native Calendar #date: and #step show successive dates 30 days apart.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Calendar · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := CalendarMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 6) = 0 ifTrue: [m date: (m date addDays: 30). m step].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CalendarMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Camera — native Squeak screenshotCameraWebCamMorph newStandAloneTested + native media

Show frames from a webcam in Squeak.

Factory
WebCamMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
WebCamMorph

The native prototype starts with the camera off. Turn it on in its settings only when you intend to use the device.

initialize sets camIsOn to false. Enabling the native camera needs a working device and CameraPlugin; do not activate it for a static preview.

Camera · Workspace Do it
| object |
object := WebCamMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Camera in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Camera · demonstration code
| m baseExtent panel u |
m := WebCamMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by WebCamMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Chess — native Squeak screenshotChessChessMorph newStandAloneTested + native media

Play chess inside Squeak.

Factory
ChessMorph newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
ChessMorph

Use the native board to move chess pieces and the game controls to start a game.

Chess · Workspace Do it
| object |
object := ChessMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Chess in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Six legal native model moves, one every four frames. The board generates each legal move and the rendered pieces update through the real ChessMorph callbacks.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Chess · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := ChessMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
board := m instVarNamed: 'board'.
1 to: 24 do: [:i |
(i \\ 4) = 0 ifTrue: [moves := OrderedCollection new. 1 to: 64 do: [:square | moves addAll: (board activePlayer findValidMovesAt: square)]. moves ifNotEmpty: [board nextMove: moves first. m validateGamePosition]].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ChessMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Chess 960 — native Squeak screenshotChess 960Chess960Morph newStandAloneTested + native media

Play chess with a scalable board and a Fischer-random option.

Factory
Chess960Morph newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
Chess960Morph

Use the native game board; the 960 button starts the alternative starting-position game.

Chess 960 · Workspace Do it
| object |
object := Chess960Morph newStandAlone.
object openInWorld.
object

Download launcher .st

Chess 960 in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Start a native Chess960 position, then make six legal model moves, one every four frames.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Chess 960 · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := Chess960Morph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
m new960Game. board := m instVarNamed: 'board'.
1 to: 24 do: [:i |
(i \\ 4) = 0 ifTrue: [moves := OrderedCollection new. 1 to: 64 do: [:square | moves addAll: (board activePlayer findValidMovesAt: square)]. moves ifNotEmpty: [board nextMove: moves first. m validateGamePosition]].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Chess960Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ChineseCheckers — native Squeak screenshotChineseCheckersChineseCheckers newStandAloneTested + native media

Play Chinese Checkers with human or computer-controlled teams.

Factory
ChineseCheckers newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
ChineseCheckers

Drag a piece of the current team's color to make a move; the reset menu changes the game and player setup.

ChineseCheckers · Workspace Do it
| object |
object := ChineseCheckers newStandAlone.
object openInWorld.
object

Download launcher .st

ChineseCheckers in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native Chinese Checkers autoplay selects and animates moves via #step. Both teams are set to autoplay for this recording.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ChineseCheckers · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := ChineseCheckers newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
m teams: #(2 5) autoPlay: #(true true).
1 to: 24 do: [:i |
m step.
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ChineseCheckers. Browse the complete class index.

Cipher — native Squeak screenshotCipherCipherPanel newStandAloneTested + native media

Work on a simple substitution-code puzzle.

Factory
CipherPanel newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
CipherPanel

Enter a cipher and try letter substitutions in the native puzzle panel.

Cipher · Workspace Do it
| object |
object := CipherPanel newStandAlone.
object openInWorld.
object

Download launcher .st

Cipher in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Six scripted letter guesses are entered through the native cipher model; matching encoded letters update together.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Cipher · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := CipherPanel newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 4) = 0 ifTrue: [m keyCharacter: ('ETAOIN' at: i // 4) atIndex: i // 4 nextFocus: nil].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CipherPanel. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Circle — native Squeak screenshotCircleCircleMorph newStandAloneTested + native media

Add a shape that stays circular.

Factory
CircleMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
CircleMorph

Use its halo to move it, resize it, or change its appearance; CircleMorph preserves a circular outline.

Circle · Workspace Do it
| object |
object := CircleMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Circle in the native Squeak Morphic renderer
Native imageForm of CircleMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Circle · demonstration code
| m baseExtent panel u |
m := CircleMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CircleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Clipboard — native Squeak screenshotClipboardClipboardMorph newStandAloneTested + native media

Keep the current text clipboard visible in the world.

Factory
ClipboardMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
ClipboardMorph

The native object reads and displays clipboard text and updates as the clipboard changes. This example installs LearnSqueakReferenceClipboard in a learning image, substitutes fixed sample text, stops clipboard stepping and restores the previous provider. Check that the tutorial class name is unused before running it; remove only this tutorial fixture class afterward if desired.

Normal construction immediately reads Clipboard clipboardText, whose default provider attempts native host clipboard access. A supported substituted sample provider is required to demonstrate this without host access.

Clipboard · Workspace Do it
| object previous providerClass |
"Use a learning image: this installs a tiny sample provider."
providerClass := Clipboard subclass: #LearnSqueakReferenceClipboard
    instanceVariableNames: ''
    classVariableNames: ''
    poolDictionaries: ''
    category: 'LearnSqueak-Reference-Fixtures'.
providerClass compile:
    'clipboardText ^ ''Sample clipboard text - LearnSqueak'''.
previous := Clipboard default.
[
    Clipboard default: providerClass new.
    object := ClipboardMorph newStandAlone.
    object openInWorld.
    object stopStepping
] ensure: [Clipboard default: previous].
object

Download launcher .st

Clipboard in the native Squeak Morphic renderer
Native ClipboardMorph displaying fixed sample text through a temporary sample provider. Scripted native position changes. Host clipboard content was not read or displayed.

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ClipboardMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Clock — native Squeak screenshotClockWatchMorph newStandAloneTested + native media

Display the time with an analog clock face.

Factory
WatchMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
WatchMorph

Watch its hands in a running Squeak world; resizing also changes the label size.

Clock · Workspace Do it
| object |
object := WatchMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Clock in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Actual time drives the native analog clock hands during the recording.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Clock · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := WatchMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
m step. (Delay forMilliseconds: 160) wait.
panel fullBounds.
world displayWorldSafely.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by WatchMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Column — native Squeak screenshotColumnAlignmentMorph columnPrototypeTested + native media

Keep a group of objects in a vertical column.

Factory
AlignmentMorph columnPrototype
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
AlignmentMorph

Drop objects into the column; its layout arranges them vertically. The prototype starts with three colored sample rectangles.

Column · Workspace Do it
| object |
object := AlignmentMorph columnPrototype.
object openInWorld.
object

Download launcher .st

Column in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Column · demonstration code
| m baseExtent panel u |
m := AlignmentMorph columnPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by AlignmentMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Crostic — native Squeak screenshotCrosticCrosticPanel newStandAloneTested + native media

Solve an acrostic word puzzle.

Factory
CrosticPanel newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
CrosticPanel

Use the clue and answer fields to fill letters into the linked quotation grid.

The native puzzle offers openFile; loading a puzzle may read a local file.

Crostic · Workspace Do it
| object |
object := CrosticPanel newStandAlone.
object openInWorld.
object

Download launcher .st

Crostic in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native Crostic highlights successive clue letters and their corresponding quote positions. The bundled sample puzzle is held in the image.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Crostic · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := CrosticPanel newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 4) = 0 ifTrue: [m highlight: (m letterMorphs at: i // 4)].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CrosticPanel. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Curve — native Squeak screenshotCurveCurveMorph newStandAloneTested + native media

Draw a smooth outline or curved filled shape.

Factory
CurveMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
CurveMorph

Shift-click to show its vertex handles, then drag those handles to reshape the curve.

Curve · Workspace Do it
| object |
object := CurveMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Curve in the native Squeak Morphic renderer
Native imageForm of CurveMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Curve · demonstration code
| m baseExtent panel u |
m := CurveMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CurveMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Curve — native Squeak screenshotCurvePolygonMorph curvePrototypeTested + native media

Start with a PolygonMorph configured as a smooth curve.

Factory
PolygonMorph curvePrototype
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
PolygonMorph

Shift-click to reshape it; the halo menu can make it open or closed or turn it into a segmented polygon.

Curve · Workspace Do it
| object |
object := PolygonMorph curvePrototype.
object openInWorld.
object

Download launcher .st

Curve in the native Squeak Morphic renderer
Native imageForm of PolygonMorph curvePrototype before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Curve · demonstration code
| m baseExtent panel u |
m := PolygonMorph curvePrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PolygonMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Curvier — native Squeak screenshotCurvierCurvierMorph newStandAloneTested + native media

Draw a smooth closed curve.

Factory
CurvierMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
CurvierMorph

Shift-click to show handles and move its control points; the native prototype begins with an oval-like outline.

Curvier · Workspace Do it
| object |
object := CurvierMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Curvier in the native Squeak Morphic renderer
Native imageForm of CurvierMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Curvier · demonstration code
| m baseExtent panel u |
m := CurvierMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CurvierMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Curvy Arrow — native Squeak screenshotCurvy ArrowCurveMorph arrowPrototypeTested + native media

Draw a curved arrow connecting points.

Factory
CurveMorph arrowPrototype
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
PolygonMorph

Shift-click to show handles, then move the points; this prototype is a smoothed, open PolygonMorph with an arrowhead.

Curvy Arrow · Workspace Do it
| object |
object := CurveMorph arrowPrototype.
object openInWorld.
object

Download launcher .st

Curvy Arrow in the native Squeak Morphic renderer
Native imageForm of CurveMorph arrowPrototype before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Curvy Arrow · demonstration code
| m baseExtent panel u |
m := CurveMorph arrowPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by CurveMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Digital Clock — native Squeak screenshotDigital ClockClockMorph newStandAloneTested + native media

Display the current time as text.

Factory
ClockMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
ClockMorph

Watch the native clock update. The catalog prototype hides seconds by default, so a short recording may look still.

Digital Clock · Workspace Do it
| object |
object := ClockMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Digital Clock in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Actual native clock time advances; seconds are enabled with #toggleShowingSeconds for this recording.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Digital Clock · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := ClockMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
m toggleShowingSeconds.
1 to: 24 do: [:i |
m step. (Delay forMilliseconds: 160) wait.
panel fullBounds.
world displayWorldSafely.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ClockMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

DoubleClick — native Squeak screenshotDoubleClickDoubleClickExample newStandAloneTested + native media

See how a Morph handles single clicks, double-clicks, and drags.

Factory
DoubleClickExample newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
DoubleClickExample

Try these gestures in Squeak; the example is intended to demonstrate distinct event handlers.

DoubleClick · Workspace Do it
| object |
object := DoubleClickExample newStandAlone.
object openInWorld.
object

Download launcher .st

DoubleClick in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

DoubleClick · demonstration code
| m baseExtent panel u |
m := DoubleClickExample newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by DoubleClickExample. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Ellipse — native Squeak screenshotEllipseEllipseMorph newStandAloneTested + native media

Add an oval or circular shape.

Factory
EllipseMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
EllipseMorph

Use the halo to move or resize it and adjust the fill or border.

Ellipse · Workspace Do it
| object |
object := EllipseMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Ellipse in the native Squeak Morphic renderer
Native imageForm of EllipseMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Ellipse · demonstration code
| m baseExtent panel u |
m := EllipseMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by EllipseMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Event Recorder — native Squeak screenshotEvent RecorderEventRecorderMorph newStandAloneTested + native media

Record a sequence of Morphic interactions for later replay.

Factory
EventRecorderMorph newStandAlone
Catalog categories
Presentation, Tools
Registration
Visible in Objects
Returned class
EventRecorderMorph

Use Record, Stop, and Play in the native tool. Playback reenacts the recorded events in the world.

Recording observes Morphic input; replay repeats those events. Voice and journal-file features are optional additional actions.

Event Recorder · Workspace Do it
| object |
object := EventRecorderMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Event Recorder in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Event Recorder · demonstration code
| m baseExtent panel u |
m := EventRecorderMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by EventRecorderMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Event Theatre — native Squeak screenshotEvent TheatreEventRecordingSpace newStandAloneTested + native media

Build a recorded tutorial with an optional voiceover.

Factory
EventRecordingSpace newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
EventRecordingSpace

Arrange the content area, record a sequence, and use playback controls; its event tapes can be edited in an Event Roll.

Recording and replay can alter the tutorial world; enabling voiceover uses audio input.

Event Theatre · Workspace Do it
| object |
object := EventRecordingSpace newStandAlone.
object openInWorld.
object

Download launcher .st

Event Theatre in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Event Theatre · demonstration code
| m baseExtent panel u |
m := EventRecordingSpace newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by EventRecordingSpace. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Exercise Click — native Squeak screenshotExercise ClickClickExerciser newStandAloneTested + native media

Explore the difference between clicks, double-clicks, and drags.

Factory
ClickExerciser newStandAlone
Catalog categories
Demo
Registration
Visible in Objects
Returned class
ClickExerciser

Try the different mouse gestures in the native exerciser and observe the reported response.

Exercise Click · Workspace Do it
| object |
object := ClickExerciser newStandAlone.
object openInWorld.
object

Download launcher .st

Exercise Click in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Exercise Click · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := ClickExerciser newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ClickExerciser. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Exercise Keyboard — native Squeak screenshotExercise KeyboardKeyboardExerciser newStandAloneTested + native media

Inspect key-down, key-up, and keystroke events.

Factory
KeyboardExerciser newStandAlone
Catalog categories
Demo
Registration
Visible in Objects
Returned class
KeyboardExerciser

Give the native exerciser keyboard focus, type, and compare the event records it produces.

The native exerciser logs keyboard events; type only disposable sample text for demonstrations.

Exercise Keyboard · Workspace Do it
| object |
object := KeyboardExerciser newStandAlone.
object openInWorld.
object

Download launcher .st

Exercise Keyboard in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native KeyboardExerciser switches between key-down, key-up, and key-stroke test modes. No hardware key events are fabricated.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Exercise Keyboard · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := KeyboardExerciser newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
i = 6 ifTrue: [m processKeyDown]. i = 12 ifTrue: [m processKeyUp]. i = 18 ifTrue: [m processKeyStroke].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by KeyboardExerciser. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

No previewNot runFile DialogSugarNavigatorBar findAnythingMorphNot run · dependency

Browse files and directories for a project or file to load.

Factory
SugarNavigatorBar findAnythingMorph
Catalog categories
Scripting
Registration
Visible in Objects
Returned class
None

Use the native file dialog to navigate folders; the factory creates a loader rather than a plain decorative list.

The factory calls FileList2 morphicViewProjectLoader2InWorld: with reallyLoad:true. Folder and file names may be visible.

Not run · dependency. This factory opens a project file loader and can expose directory contents. It was not run for this reference.

File Dialog · factory reference, not a tested launcher
SugarNavigatorBar findAnythingMorph

Descriptor declared by SugarNavigatorBar. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

FishEye — native Squeak screenshotFishEyeFishEyeMorph newStandAloneTested + native media

Inspect a region through a wide-angle visual lens.

Factory
FishEyeMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
FishEyeMorph

Move the native lens over Morphic content to view its distortion.

FishEye · Workspace Do it
| object |
object := FishEyeMorph newStandAlone.
object openInWorld.
object

Download launcher .st

FishEye in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

FishEye · demonstration code
| m baseExtent panel u |
m := FishEyeMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by FishEyeMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Flasher — native Squeak screenshotFlasherFlasher newStandAloneTested + native media

See a simple example of periodic Morphic stepping.

Factory
Flasher newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
Flasher

The native circle alternates between its on color and a darker color every 500 milliseconds.

Flasher · Workspace Do it
| object |
object := Flasher newStandAlone.
object openInWorld.
object

Download launcher .st

Flasher in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native Flasher alternates its on color with a darker shade through #step.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Flasher · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := Flasher newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 4) = 0 ifTrue: [m step].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Flasher. Browse the complete class index.

FrameRate — native Squeak screenshotFrameRateFrameRateMorph newStandAloneTested + native media

Monitor how quickly the Squeak display is updating.

Factory
FrameRateMorph newStandAlone
Catalog categories
Just for Fun, Tools
Registration
Visible in Objects
Returned class
FrameRateMorph

Read the changing milliseconds-per-frame and frames-per-second values; these describe the native image, not this web page.

FrameRate · Workspace Do it
| object |
object := FrameRateMorph newStandAlone.
object openInWorld.
object

Download launcher .st

FrameRate in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native frame-rate counter measures real elapsed time between recorded #step calls.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

FrameRate · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := FrameRateMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
m step. (Delay forMilliseconds: (60 + (i * 5))) wait.
panel fullBounds.
world displayWorldSafely.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by FrameRateMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

FreeCell — native Squeak screenshotFreeCellFreeCell newStandAloneTested + native media

Play the FreeCell solitaire card game.

Factory
FreeCell newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
FreeCell

Use the native card board and its New Game, Undo, and Help controls.

FreeCell · Workspace Do it
| object |
object := FreeCell newStandAlone.
object openInWorld.
object

Download launcher .st

FreeCell in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native FreeCell deals numbered games 1 through 4, six frames per deal. These are actual board resets, not played card moves.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

FreeCell · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := FreeCell newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 6) = 0 ifTrue: [m newGameNumber: i // 6].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by FreeCell. Browse the complete class index.

Fridge — native Squeak screenshotFridgeNebraskaFridgeMorph newStandAloneTested + native media

Share objects with other Squeak users.

Factory
NebraskaFridgeMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
NebraskaFridgeMorph

Use the native collaboration tool's object-sharing controls after configuring the intended recipients.

Construction displays the current recipient collection. Sharing sends copies to recipients; capture only in a clean isolated image with disposable recipients.

Fridge · Workspace Do it
| object |
object := NebraskaFridgeMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Fridge in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Fridge · demonstration code
| m baseExtent panel u |
m := NebraskaFridgeMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by NebraskaFridgeMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Grab Patch — native Squeak screenshotGrab PatchGrabPatchMorph newStandAloneTested + native media

Turn a rectangular area of the Squeak display into a picture.

Factory
GrabPatchMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
GrabPatchMorph

Drop the native icon to begin selecting a rectangular screen patch.

Dropping the native icon starts a screen capture selection, which may include private on-screen content.

Grab Patch · Workspace Do it
| object |
object := GrabPatchMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Grab Patch in the native Squeak Morphic renderer
Native imageForm of GrabPatchMorph newStandAlone before demo changes Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Grab Patch · demonstration code
| m baseExtent panel u |
m := GrabPatchMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by GrabPatchMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Gradient — native Squeak screenshotGradientRectangleMorph gradientPrototypeTested + native media

Add a rectangle with a horizontal color gradient.

Factory
RectangleMorph gradientPrototype
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
RectangleMorph

Resize the native rectangle and inspect how its fill changes across its width.

Gradient · Workspace Do it
| object |
object := RectangleMorph gradientPrototype.
object openInWorld.
object

Download launcher .st

Gradient in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Gradient · demonstration code
| m baseExtent panel u |
m := RectangleMorph gradientPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RectangleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Gradient (slanted) — native Squeak screenshotGradient (slanted)RectangleMorph diagonalPrototypeTested + native media

Add a rectangle with a diagonal color gradient.

Factory
RectangleMorph diagonalPrototype
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
RectangleMorph

Resize the native rectangle and inspect the direction of its color transition.

Gradient (slanted) · Workspace Do it
| object |
object := RectangleMorph diagonalPrototype.
object openInWorld.
object

Download launcher .st

Gradient (slanted) in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Gradient (slanted) · demonstration code
| m baseExtent panel u |
m := RectangleMorph diagonalPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RectangleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Graph — native Squeak screenshotGraphGraphMorph newStandAloneTested + native media

View a sequence of numbers as a graph.

Factory
GraphMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
GraphMorph

Drag its cursor to inspect a position in the data; displayed values are scaled to fit the graph's height.

Graph menus include reading data from a file and playing data as sound; dragging the data cursor does neither.

Graph · Workspace Do it
| object |
object := GraphMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Graph in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Graph · demonstration code
| m baseExtent panel u |
m := GraphMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by GraphMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

graph paper — native Squeak screenshotgraph paperGraphPaperPanel simpleGraphPaperTested + native media

Get a playfield with a graph-paper background.

Factory
GraphPaperPanel simpleGraphPaper
Catalog categories
Graphing
Registration
Visible in Objects
Returned class
PasteUpMorph

Place objects against the grid to compare positions and distances.

graph paper · Workspace Do it
| object |
object := GraphPaperPanel simpleGraphPaper.
object openInWorld.
object

Download launcher .st

graph paper in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

graph paper · demonstration code
| m baseExtent panel u |
m := GraphPaperPanel simpleGraphPaper.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by GraphPaperPanel. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

H number line — native Squeak screenshotH number lineHorizontalNumberLineMorph newStandAloneTested + native media

Use a horizontal number line as a reference axis.

Factory
HorizontalNumberLineMorph newStandAlone
Catalog categories
Graphing
Registration
Visible in Objects
Returned class
HorizontalNumberLineMorph

Place it alongside objects or use it as the x-axis of a graph.

H number line · Workspace Do it
| object |
object := HorizontalNumberLineMorph newStandAlone.
object openInWorld.
object

Download launcher .st

H number line in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

H number line · demonstration code
| m baseExtent panel u |
m := HorizontalNumberLineMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by HorizontalNumberLineMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Hand Magnifier — native Squeak screenshotHand MagnifierMagnifierMorph newShowingPointerTested + native media

Magnify the mouse area, including objects held by the hand.

Factory
MagnifierMorph newShowingPointer
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
MagnifierMorph

Move the pointer with the native lens open to see the enlarged area and hand-position marker.

Hand Magnifier · Workspace Do it
| object |
object := MagnifierMorph newShowingPointer.
object openInWorld.
object

Download launcher .st

Hand Magnifier in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Hand Magnifier · demonstration code
| m baseExtent panel u |
m := MagnifierMorph newShowingPointer.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by MagnifierMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Holder — native Squeak screenshotHolderScriptingSystem prototypicalHolderTested + native media

Store alternative pictures for a scripted animation.

Factory
ScriptingSystem prototypicalHolder
Catalog categories
Scripting
Registration
Registered prototype · hidden from Objects
Returned class
PasteUpMorph

Add the pictures to the native holder and select them through scripts; this registered descriptor is hidden by this image's catalog class filter.

Holder · Workspace Do it
| object |
object := ScriptingSystem prototypicalHolder.
object openInWorld.
object

Download launcher .st

Holder in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Holder · demonstration code
| m baseExtent panel u |
m := ScriptingSystem prototypicalHolder.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PasteUpMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Image — native Squeak screenshotImageImageMorph newStandAloneTested + native media

Show a bitmap picture as a Morph.

Factory
ImageMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
ImageMorph

Move the picture as an object; this is a picture display rather than the Paint editor.

The default image is built in. Optional menu actions can load a file or grab the screen.

Image · Workspace Do it
| object |
object := ImageMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Image in the native Squeak Morphic renderer
Native imageForm of ImageMorph newStandAlone before demo changes Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Image · demonstration code
| m baseExtent panel u |
m := ImageMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ImageMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Joystick — native Squeak screenshotJoystickJoystickMorph newStandAloneTested + native media

Choose a direction and amount with an on-screen joystick.

Factory
JoystickMorph newStandAlone
Catalog categories
Basic
Registration
Visible in Objects
Returned class
JoystickMorph

Drag the knob in Squeak; the default control recenters itself and exposes values for Etoys scripts.

The default joystick is simulated. The separate real-joystick option uses hardware and should not be enabled for a static capture.

Joystick · Workspace Do it
| object |
object := JoystickMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Joystick in the native Squeak Morphic renderer
Native imageForm of JoystickMorph newStandAlone before demo changes Scripted on-screen joystick handle positions; no device input or mouse drag
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Joystick · demonstration code
| m baseExtent panel u |
m := JoystickMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m submorphs first center: m center + ((u * 32 - 16) @ ((u * Float pi * 2) sin * 16)).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by JoystickMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

KedamaWorld — native Squeak screenshotKedamaWorldKedamaMorph newStandAloneTested + native media

Build an Etoys particle simulation in a Kedama world.

Factory
KedamaMorph newStandAlone
Catalog categories
Kedama
Registration
Visible in Objects
Returned class
KedamaMorph

Add and script particles and patches in Squeak; the world alone does not promise a running animation.

Particle behavior depends on configured Etoys scripts; an empty world is not an autonomous particle animation.

KedamaWorld · Workspace Do it
| object |
object := KedamaMorph newStandAlone.
object openInWorld.
object

Download launcher .st

KedamaWorld in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

KedamaWorld · demonstration code
| m baseExtent panel u |
m := KedamaMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by KedamaMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Key press — native Squeak screenshotKey pressKeyPressMorph newStandAloneTested + native media

Detect whether a chosen keyboard key is pressed.

Factory
KeyPressMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
KeyPressMorph

Choose the key in the native object, then press it to change the value available to scripts.

The native key detector registers for Morphic events while present in a world.

Key press · Workspace Do it
| object |
object := KeyPressMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Key press in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native KeyPressMorph changes its watched key using #setCurrentKey:. This demonstrates configuration, not physical keyboard input.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Key press · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := KeyPressMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
(i \\ 6) = 0 ifTrue: [m setCurrentKey: (#('a' 's' 'd' 'f') at: i // 6)].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by KeyPressMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Lasso — native Squeak screenshotLassoLassoPatchMorph newStandAloneTested + native media

Capture part of the Squeak display with a lasso tool.

Factory
LassoPatchMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
LassoPatchMorph

Drop the native icon to begin selecting a screen region with the lasso; the icon hides itself during capture.

Dropping the native icon captures a selected region of the display; use disposable on-screen content.

Lasso · Workspace Do it
| object |
object := LassoPatchMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Lasso in the native Squeak Morphic renderer
Native imageForm of LassoPatchMorph newStandAlone before demo changes Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Lasso · demonstration code
| m baseExtent panel u |
m := LassoPatchMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by LassoPatchMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Line — native Squeak screenshotLineLineMorph newStandAloneTested + native media

Draw a straight line segment.

Factory
LineMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
PolygonMorph

Shift-click to show handles and drag either endpoint.

Line · Workspace Do it
| object |
object := LineMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Line in the native Squeak Morphic renderer
Native imageForm of LineMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Line · demonstration code
| m baseExtent panel u |
m := LineMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by LineMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Listener — native Squeak screenshotListenerNebraskaListenerMorph newStandAloneTested + native media

Receive messages and objects from other Squeak users.

Factory
NebraskaListenerMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
NebraskaListenerMorph

Start the native listener when ready to receive; received objects appear in a list from which copies can be taken.

Construction displays the existing global incoming queue and a Start/Stop toggle; it does not itself invoke that toggle. Starting accepts incoming communications.

Listener · Workspace Do it
| object |
object := NebraskaListenerMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Listener in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Listener · demonstration code
| m baseExtent panel u |
m := NebraskaListenerMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by NebraskaListenerMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Magnifier — native Squeak screenshotMagnifierMagnifierMorph newStandAloneTested + native media

Magnify Morphic content.

Factory
MagnifierMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
MagnifierMorph

Move the native lens over content, or use its pointer-tracking mode to magnify the area around the mouse.

Magnifier · Workspace Do it
| object |
object := MagnifierMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Magnifier in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native magnifier tracks a scripted hand position over native colored Morphs. Pointer marking is enabled, and real world patches provide the magnified image.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Magnifier · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := MagnifierMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
actualMag := m allMorphs detect: [:child | child isKindOf: MagnifierMorph]. actualMag trackPointer: true; showPointer: true. panel extent: 400@210. view position: 250@45. 1 to: 6 do: [:col | 1 to: 4 do: [:gridRow | background := RectangleMorph new extent: 35@35; color: ({Color orange. Color lightBlue. Color lightGreen. Color yellow} atWrap: col + gridRow); position: ((col - 1) * 35 + 8) @ ((gridRow - 1) * 35 + 8); yourself. panel addMorphBack: background]]. background := 'Native Squeak' asMorph. background position: 10@155. panel addMorphBack: background.
1 to: 24 do: [:i |
world primaryHand position: (35 + ((i - 1) * 6)) @ (80 + ((i / 24 * Float pi * 2) sin * 25)). actualMag step.
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by MagnifierMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Mines — native Squeak screenshotMinesMines newStandAloneTested + native media

Play the Mines board game.

Factory
Mines newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
Mines

Use the native board and its Help control; the catalog descriptor does not specify the mouse-button rules.

Mines · Workspace Do it
| object |
object := Mines newStandAlone.
object openInWorld.
object

Download launcher .st

Mines in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native Mines opens one safe starting tile, then places and removes a flag through the game's tile-click handler.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Mines · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := Mines newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
board := m board.
1 to: 24 do: [:i |
i = 6 ifTrue: [board tileClickedAt: 5@5 newSelection: false modifier: false]. i = 12 ifTrue: [board tileClickedAt: 1@1 newSelection: false modifier: true]. i = 18 ifTrue: [board tileClickedAt: 1@1 newSelection: false modifier: true].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Mines. Browse the complete class index.

Mixed — native Squeak screenshotMixedMixedCurveMorph newStandAloneTested + native media

Draw an outline with both curved and bent sections.

Factory
MixedCurveMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
MixedCurveMorph

Shift-click to show handles; drag a handle to move a point or click it to change a bend.

Mixed · Workspace Do it
| object |
object := MixedCurveMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Mixed in the native Squeak Morphic renderer
Native imageForm of MixedCurveMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Mixed · demonstration code
| m baseExtent panel u |
m := MixedCurveMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by MixedCurveMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

MovingEye — native Squeak screenshotMovingEyeMovingEyeMorph newStandAloneTested + native media

See a drawn eye follow the mouse pointer.

Factory
MovingEyeMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
MovingEyeMorph

Move the pointer around a running Squeak world and watch the iris turn toward it.

MovingEye · Workspace Do it
| object |
object := MovingEyeMorph newStandAlone.
object openInWorld.
object

Download launcher .st

MovingEye in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native eye follows a scripted hand position around its Morph world; each frame is a real #step result.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

MovingEye · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := MovingEyeMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
world primaryHand position: panel center + (((i / 24 * Float pi * 2) cos * 140) @ ((i / 24 * Float pi * 2) sin * 90)). m allMorphs do: [:child | (child isKindOf: MovingEyeMorph) ifTrue: [child step]].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by MovingEyeMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

NebraskaServer — native Squeak screenshotNebraskaServerNebraskaServerMorph serveWorldButtonTested + native media

Start sharing a Squeak desktop through Nebraska.

Factory
NebraskaServerMorph serveWorldButton
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
SimpleButtonMorph

The factory returns a Share button; clicking it invokes the native desktop-sharing server.

Construction creates an inactive Share button. Clicking it calls serveWorld and starts desktop sharing.

NebraskaServer · Workspace Do it
| object |
object := NebraskaServerMorph serveWorldButton.
object openInWorld.
object

Download launcher .st

NebraskaServer in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

NebraskaServer · demonstration code
| m baseExtent panel u |
m := NebraskaServerMorph serveWorldButton.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by NebraskaServerMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

NextPage — native Squeak screenshotNextPageBookMorph nextPageButtonTested + native media

Add a button for turning a book to its next page.

Factory
BookMorph nextPageButton
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
ThreePhaseButtonMorph

Put the native button in a book and click it to advance to the next page.

NextPage · Workspace Do it
| object |
object := BookMorph nextPageButton.
object openInWorld.
object

Download launcher .st

NextPage in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

NextPage · demonstration code
| m baseExtent panel u |
m := BookMorph nextPageButton.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Objectland — native Squeak screenshotObjectlandObjectlandMorph newStandAloneTested + native media

Open a collection of examples introducing areas of Squeak.

Factory
ObjectlandMorph newStandAlone
Catalog categories
Demo, Just for Fun
Registration
Visible in Objects
Returned class
TransformationMorph

Activate the native Objectland object to build its example projects; it shows a loading animation while building.

Activation builds example projects in the image; some examples concern sound.

Objectland · Workspace Do it
| object |
object := ObjectlandMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Objectland in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native eyes follow a scripted hand position in the copied image. Objectland remains its launch icon; no projects or audio are loaded.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Objectland · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := ObjectlandMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
world primaryHand position: panel center + (((i / 24 * Float pi * 2) cos * 140) @ ((i / 24 * Float pi * 2) sin * 90)). m allMorphs do: [:child | (child isKindOf: MovingEyeMorph) ifTrue: [child step]].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ObjectlandMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Objects — native Squeak screenshotObjectsObjectsTool newStandAloneTested + native media

Find objects and drag new instances into a project.

Factory
ObjectsTool newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
ObjectsTool

Browse the native catalog by its tabs and drag a part from its thumbnail into the world.

The default constructor selects Basic and requests its 15 thumbnails, creating the underlying Basic object on a cache miss. Those inactive Basic constructors have been reviewed; switching to other categories can construct different parts with additional dependencies.

Objects · Workspace Do it
| object |
object := ObjectsTool newStandAlone.
object openInWorld.
object

Download launcher .st

Objects in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Objects · demonstration code
| m baseExtent panel u |
m := ObjectsTool newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ObjectsTool. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

No previewNot runPackage LoaderSMLoader newStandAloneNot run · dependency

Browse and install packages through SqueakMap.

Factory
SMLoader newStandAlone
Catalog categories
Tools
Registration
Visible in Objects
Returned class
None

Use the native package list to inspect releases; downloading or installing a package is a separate consequential action.

SMLoader new uses SMSqueakMap default and on: calls model synchWithDisk. Loading or upgrading packages may download and execute code; do not auto-construct for a visual capture.

Not run · dependency. The package loader synchronizes package data with disk while being constructed. Package loading and installation were outside the capture scope.

Package Loader · factory reference, not a tested launcher
SMLoader newStandAlone

Descriptor declared by SMLoader. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Paint — native Squeak screenshotPaintPaintInvokingMorph newStandAloneTested + native media

Start painting a new object.

Factory
PaintInvokingMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
PaintInvokingMorph

Drop the native paint icon into a suitable area to open the painting tools.

Dropping the icon starts painting in a suitable destination.

Paint · Workspace Do it
| object |
object := PaintInvokingMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Paint in the native Squeak Morphic renderer
Native imageForm of PaintInvokingMorph newStandAlone before demo changes Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Paint · demonstration code
| m baseExtent panel u |
m := PaintInvokingMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PaintInvokingMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Particles — native Squeak screenshotParticlesKedamaMorph newSetTested + native media

Start with a Kedama world plus particle and patch components.

Factory
KedamaMorph newSet
Catalog categories
Basic
Registration
Visible in Objects
Returned class
SelectionMorph

Use the supplied components when building a particle simulation; this factory returns a selection containing several objects. KedamaMorph newSet returns a SelectionMorph wrapper. On openInWorld, SelectionMorph>>intoWorld: reintroduces the three selected components into the destination world and deletes the wrapper. All three components were verified as direct children of Project current world after the exact launcher. The returned selection therefore has no world after successful opening, which is expected.

The factory creates a world, players, patch and turtle components. Scripts determine subsequent particle motion.

Particles · Workspace Do it
| object |
object := KedamaMorph newSet.
object openInWorld.
object

Download launcher .st

Particles in the native Squeak Morphic renderer
Native imageForm of the factory-created PasteUpMorph owner: Kedama world, patch, turtle and selection. The factory itself returns SelectionMorph. Scripted position changes of the native factory-created owner, preserving the Kedama set; no particle simulation or mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Particles · demonstration code
| m w panel u |
m := KedamaMorph newSet.
w := m owner.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: w extent + (120@60).
panel addMorph: w.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 w center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each native position change."
].

Cleanup: close the object or use its halo’s red delete handle. Opening distributes three components into the world and removes the selection wrapper. Remove the created Kedama world, patch and turtle separately when finished.

Descriptor declared by KedamaMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

PDA — native Squeak screenshotPDAPDAMorph newStandAloneTested + native media

Explore a small personal organizer with people, to-dos, a schedule, and notes.

Factory
PDAMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
PDAMorph

Select an item in the native panel to view or edit it. A new instance starts with sample data.

PDA initialization populates sample people, events, to-dos, and notes. Later load, save, merge, and edit actions can read or change organizer data.

PDA · Workspace Do it
| object |
object := PDAMorph newStandAlone.
object openInWorld.
object

Download launcher .st

PDA in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

PDA · demonstration code
| m baseExtent panel u |
m := PDAMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PDAMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

PianoKeyboard — native Squeak screenshotPianoKeyboardPianoKeyboardMorph newStandAloneTested + native media

Play notes using an on-screen piano keyboard.

Factory
PianoKeyboardMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
PianoKeyboardMorph

Press the native keys to trigger notes; the catalog prototype uses a synthesized brass sound.

Pressing native keys plays synthesized sound; drawing an inactive keyboard does not press a key.

PianoKeyboard · Workspace Do it
| object |
object := PianoKeyboardMorph newStandAlone.
object openInWorld.
object

Download launcher .st

PianoKeyboard in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

PianoKeyboard · demonstration code
| m baseExtent panel u |
m := PianoKeyboardMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PianoKeyboardMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Players — native Squeak screenshotPlayersAllPlayersTool newStandAloneTested + native media

Find the active Etoys players in the current project.

Factory
AllPlayersTool newStandAlone
Catalog categories
Scripting
Registration
Visible in Objects
Returned class
AllPlayersTool

Use the tool to find a player, open its viewer, or obtain its scripting tiles.

Players · Workspace Do it
| object |
object := AllPlayersTool newStandAlone.
object openInWorld.
object

Download launcher .st

Players in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Players · demonstration code
| m baseExtent panel u |
m := AllPlayersTool newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by AllPlayersTool. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Playfield — native Squeak screenshotPlayfieldPasteUpMorph newStandAloneTested + native media

Provide a space for arranging other Morphs.

Factory
PasteUpMorph newStandAlone
Catalog categories
Presentation
Registration
Visible in Objects
Returned class
PasteUpMorph

Drop objects into the playfield and arrange or script them there; the playfield itself is a container.

Playfield · Workspace Do it
| object |
object := PasteUpMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Playfield in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Playfield · demonstration code
| m baseExtent panel u |
m := PasteUpMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PasteUpMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Polygon — native Squeak screenshotPolygonPolygonMorph newStandAloneTested + native media

Draw a polygon or connected straight-line shape.

Factory
PolygonMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
PolygonMorph

Shift-click to show handles, then drag vertices; the menu can switch between open and closed or smooth and segmented outlines.

Polygon · Workspace Do it
| object |
object := PolygonMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Polygon in the native Squeak Morphic renderer
Native imageForm of PolygonMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Polygon · demonstration code
| m baseExtent panel u |
m := PolygonMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PolygonMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

PreviousPage — native Squeak screenshotPreviousPageBookMorph previousPageButtonTested + native media

Add a button for turning a book to its previous page.

Factory
BookMorph previousPageButton
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
ThreePhaseButtonMorph

Put the native button in a book and click it to return to the previous page.

PreviousPage · Workspace Do it
| object |
object := BookMorph previousPageButton.
object openInWorld.
object

Download launcher .st

PreviousPage in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

PreviousPage · demonstration code
| m baseExtent panel u |
m := BookMorph previousPageButton.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ProjectHistory — native Squeak screenshotProjectHistoryEToyProjectHistoryMorph newStandAloneTested + native media

Return to recently visited Squeak projects.

Factory
EToyProjectHistoryMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
EToyProjectHistoryMorph

Click a project in the native history tool to enter it.

Following a history item changes the current Squeak project.

ProjectHistory · Workspace Do it
| object |
object := EToyProjectHistoryMorph newStandAlone.
object openInWorld.
object

Download launcher .st

ProjectHistory in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ProjectHistory · demonstration code
| m baseExtent panel u |
m := EToyProjectHistoryMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by EToyProjectHistoryMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Random — native Squeak screenshotRandomFunctionTile randomNumberTileTested + native media

Produce a random number within a chosen range in a tile script.

Factory
FunctionTile randomNumberTile
Catalog categories
Scripting
Registration
Visible in Objects
Returned class
FunctionTile

Place the native Random tile in an Etoys expression and set its range.

Random · Workspace Do it
| object |
object := FunctionTile randomNumberTile.
object openInWorld.
object

Download launcher .st

Random in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Random · demonstration code
| m baseExtent panel u |
m := FunctionTile randomNumberTile.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Rectangle — native Squeak screenshotRectangleRectangleMorph newStandAloneTested + native media

Add a rectangular area with a fill and border.

Factory
RectangleMorph newStandAlone
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
RectangleMorph

Move and resize it with the halo, then adjust the fill style or border for your project.

Rectangle · Workspace Do it
| object |
object := RectangleMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Rectangle in the native Squeak Morphic renderer
Native imageForm of RectangleMorph newStandAlone before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Rectangle · demonstration code
| m baseExtent panel u |
m := RectangleMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RectangleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

RoundGlass — native Squeak screenshotRoundGlassMagnifierMorph newRoundTested + native media

Magnify Morphic content through a round lens.

Factory
MagnifierMorph newRound
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
ScreeningMorph

Move the native round lens over the area you want to inspect.

RoundGlass · Workspace Do it
| object |
object := MagnifierMorph newRound.
object openInWorld.
object

Download launcher .st

RoundGlass in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native magnifier tracks a scripted hand position over native colored Morphs. Pointer marking is enabled, and real world patches provide the magnified image.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

RoundGlass · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := MagnifierMorph newRound.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
actualMag := m allMorphs detect: [:child | child isKindOf: MagnifierMorph]. actualMag trackPointer: true; showPointer: true. panel extent: 400@210. view position: 250@45. 1 to: 6 do: [:col | 1 to: 4 do: [:gridRow | background := RectangleMorph new extent: 35@35; color: ({Color orange. Color lightBlue. Color lightGreen. Color yellow} atWrap: col + gridRow); position: ((col - 1) * 35 + 8) @ ((gridRow - 1) * 35 + 8); yourself. panel addMorphBack: background]]. background := 'Native Squeak' asMorph. background position: 10@155. panel addMorphBack: background.
1 to: 24 do: [:i |
world primaryHand position: (35 + ((i - 1) * 6)) @ (80 + ((i / 24 * Float pi * 2) sin * 25)). actualMag step.
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by MagnifierMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

RoundRect — native Squeak screenshotRoundRectRectangleMorph roundRectPrototypeTested + native media

Add a rectangle with rounded corners.

Factory
RectangleMorph roundRectPrototype
Catalog categories
Graphics, Basic
Registration
Visible in Objects
Returned class
RectangleMorph

Move or resize the native prototype and adjust its appearance through its halo.

RoundRect · Workspace Do it
| object |
object := RectangleMorph roundRectPrototype.
object openInWorld.
object

Download launcher .st

RoundRect in the native Squeak Morphic renderer
Native imageForm of RectangleMorph roundRectPrototype before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

RoundRect · demonstration code
| m baseExtent panel u |
m := RectangleMorph roundRectPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RectangleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Row — native Squeak screenshotRowAlignmentMorph rowPrototypeTested + native media

Keep a group of objects in a horizontal row.

Factory
AlignmentMorph rowPrototype
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
AlignmentMorph

Drop objects into the row; its layout arranges them horizontally. The prototype starts with randomly colored oval examples.

Row · Workspace Do it
| object |
object := AlignmentMorph rowPrototype.
object openInWorld.
object

Download launcher .st

Row in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Row · demonstration code
| m baseExtent panel u |
m := AlignmentMorph rowPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by AlignmentMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Ruler — native Squeak screenshotRulerRulerMorph newStandAloneTested + native media

Read an object's rectangular size in pixels.

Factory
RulerMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
RulerMorph

Resize the native ruler and read the dimensions drawn on it; it is a size readout rather than a timer.

Ruler · Workspace Do it
| object |
object := RulerMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Ruler in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Ruler · demonstration code
| m baseExtent panel u |
m := RulerMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RulerMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Same — native Squeak screenshotSameSameGame newStandAloneTested + native media

Play the Same board game.

Factory
SameGame newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
SameGame

Open the native game's Help control for its rules, then use the board.

Same · Workspace Do it
| object |
object := SameGame newStandAlone.
object openInWorld.
object

Download launcher .st

Same in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native Same Game finds and flashes a legal group, removes it, and collapses the remaining tiles.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Same · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := SameGame newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
board := m board.
1 to: 24 do: [:i |
(i \\ 8) = 1 ifTrue: [board hint]. (i \\ 8) = 5 ifTrue: [board removeSelection]. board step.
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SameGame. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ScorePlayer — native Squeak screenshotScorePlayerScorePlayerMorph newStandAloneTested + native media

Control playback of a musical score.

Factory
ScorePlayerMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
ScorePlayerMorph

Load or supply a score, then use volume, tempo, instrument, and position controls in the native player.

Playback uses the synthesizer; MIDI ports and file import/export are additional native actions.

ScorePlayer · Workspace Do it
| object |
object := ScorePlayerMorph newStandAlone.
object openInWorld.
object

Download launcher .st

ScorePlayer in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ScorePlayer · demonstration code
| m baseExtent panel u |
m := ScorePlayerMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ScorePlayerMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Scripting — native Squeak screenshotScriptingScriptingSystem newScriptingSpaceTested + native media

Create a contained place for drawing and scripting.

Factory
ScriptingSystem newScriptingSpace
Catalog categories
Scripting
Registration
Registered prototype · hidden from Objects
Returned class
PasteUpMorph

Use its private stop, step, and go controls for the scripts inside; this registered descriptor is hidden by this image's catalog class filter.

Its script controls can run actions defined inside the scripting space.

Scripting · Workspace Do it
| object |
object := ScriptingSystem newScriptingSpace.
object openInWorld.
object

Download launcher .st

Scripting in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Scripting · demonstration code
| m baseExtent panel u |
m := ScriptingSystem newScriptingSpace.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Scrolling Text — native Squeak screenshotScrolling TextScrollableField newStandAloneTested + native media

Edit a body of text inside a scrollable field.

Factory
ScrollableField newStandAlone
Catalog categories
Basic
Registration
Visible in Objects
Returned class
ScrollableField

Click into the native text area to edit; scroll when the text is larger than its viewport.

Scrolling Text · Workspace Do it
| object |
object := ScrollableField newStandAlone.
object openInWorld.
object

Download launcher .st

Scrolling Text in the native Squeak Morphic renderer
Native imageForm of ScrollableField newStandAlone before demo changes Scripted setCharacters: updates rendered by the native ScrollableField
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Scrolling Text · demonstration code
| m baseExtent panel u |
m := ScrollableField newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m setCharacters: ('Morphic text is editable.' copyFrom: 1 to: (1 + (u * 23)) rounded).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ScrollableField. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Sector — native Squeak screenshotSectorSectorMorph newStandAloneTested + native media

Draw a pie slice with an adjustable angle.

Factory
SectorMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
SectorMorph

Use the native shape handles or angle control to change the slice, for example when illustrating fractions.

Sector · Workspace Do it
| object |
object := SectorMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Sector in the native Squeak Morphic renderer
Native imageForm of SectorMorph newStandAlone before demo changes Scripted angle: changes on the native SectorMorph after a scripted native size increase for visibility
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Sector · demonstration code
| m baseExtent panel u |
m := SectorMorph newStandAlone.
m radius: 80.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m angle: 20 + (u * 300).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SectorMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Slider — native Squeak screenshotSliderSimpleSliderMorph newStandAloneTested + native media

Choose a number by sliding a knob.

Factory
SimpleSliderMorph newStandAlone
Catalog categories
Basic
Registration
Visible in Objects
Returned class
SimpleSliderMorph

Drag the native knob; the prototype starts at a scaled value of 0.3 and can be connected to scripts or a target.

Slider · Workspace Do it
| object |
object := SimpleSliderMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Slider in the native Squeak Morphic renderer
Native imageForm of SimpleSliderMorph newStandAlone before demo changes Scripted setScaledValue: changes move the native slider; target is nil
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Slider · demonstration code
| m baseExtent panel u |
m := SimpleSliderMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m setScaledValue: u.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SimpleSliderMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Sound Library — native Squeak screenshotSound LibrarySoundLibraryTool newStandAloneTested + native media

Browse and manage sounds stored in the image.

Factory
SoundLibraryTool newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
SoundLibraryTool

Select a sound, then use Play, Stop, Tile, Rename, Delete, or Load as needed in the native tool.

Play produces audio; Load reads a file; Rename and Delete change the sound library.

Sound Library · Workspace Do it
| object |
object := SoundLibraryTool newStandAlone.
object openInWorld.
object

Download launcher .st

Sound Library in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Sound Library · demonstration code
| m baseExtent panel u |
m := SoundLibraryTool newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SoundLibraryTool. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

SoundRecorder — native Squeak screenshotSoundRecorderRecordingControls newStandAloneTested + native media

Record and replay sound with the newer recorder panel.

Factory
RecordingControls newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
RecordingControls

Use Record, Stop, and playback controls in Squeak; recording needs an audio input device.

SoundRecorder initialization sets paused true and recordProcess nil. Record starts capture and playback produces sound; an inactive panel can be illustrated without recording.

SoundRecorder · Workspace Do it
| object |
object := RecordingControls newStandAlone.
object openInWorld.
object

Download launcher .st

SoundRecorder in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

SoundRecorder · demonstration code
| m baseExtent panel u |
m := RecordingControls newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RecordingControls. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

SoundRecorder — native Squeak screenshotSoundRecorderRecordingControlsMorph newStandAloneTested + native media

Record and replay sound with the original recorder panel.

Factory
RecordingControlsMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
RecordingControlsMorph

Use Record, Stop, and playback controls in Squeak; this is a separate class from the other SoundRecorder catalog entry.

SoundRecorder initialization sets paused true and recordProcess nil. The level slider initially reads the recorder value; leave Record and playback inactive for a visual capture.

SoundRecorder · Workspace Do it
| object |
object := RecordingControlsMorph newStandAlone.
object openInWorld.
object

Download launcher .st

SoundRecorder in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

SoundRecorder · demonstration code
| m baseExtent panel u |
m := RecordingControlsMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by RecordingControlsMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Spectrum Analyzer — native Squeak screenshotSpectrum AnalyzerSpectrumAnalyzerMorph newStandAloneTested + native media

Inspect incoming sound as a signal, frequency spectrum, or sonogram.

Factory
SpectrumAnalyzerMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
SpectrumAnalyzerMorph

Select an input source and start analysis in the native tool; the display updates from real audio input.

SoundInputStream starts paused. Its recordLevel and meterLevel methods read stored state, with no native device access in those getter chains. Inactive UI can be rendered; Start begins audio capture.

Spectrum Analyzer · Workspace Do it
| object |
object := SpectrumAnalyzerMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Spectrum Analyzer in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Spectrum Analyzer · demonstration code
| m baseExtent panel u |
m := SpectrumAnalyzerMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SpectrumAnalyzerMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Speech bubble — native Squeak screenshotSpeech bubbleSpeechBubbleMorph speechPrototypeTested + native media

Put spoken words beside a comic character.

Factory
SpeechBubbleMorph speechPrototype
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
SpeechBubbleMorph

Edit the native text bubble and place it next to the character.

Speech bubble · Workspace Do it
| object |
object := SpeechBubbleMorph speechPrototype.
object openInWorld.
object

Download launcher .st

Speech bubble in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Speech bubble · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := SpeechBubbleMorph speechPrototype.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SpeechBubbleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Speech bubble (graphic) — native Squeak screenshotSpeech bubble (graphic)SpeechBubbleMorph speechGraphicPrototypeTested + native media

Use a picture inside a speech bubble.

Factory
SpeechBubbleMorph speechGraphicPrototype
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
SpeechBubbleMorph

Move the native bubble beside a character; its starter picture is the painting icon.

Speech bubble (graphic) · Workspace Do it
| object |
object := SpeechBubbleMorph speechGraphicPrototype.
object openInWorld.
object

Download launcher .st

Speech bubble (graphic) in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Speech bubble (graphic) · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := SpeechBubbleMorph speechGraphicPrototype.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SpeechBubbleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Stack — native Squeak screenshotStackStackMorph newStandAloneTested + native media

Organize card-like records or presentation pages.

Factory
StackMorph newStandAlone
Catalog categories
Presentation
Registration
Visible in Objects
Returned class
StackMorph

Use the native stack's cards and backgrounds for a slideshow or a small card database.

Card editing changes stack data; deletion controls remove cards.

Stack · Workspace Do it
| object |
object := StackMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Stack in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Stack · demonstration code
| m baseExtent panel u |
m := StackMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by StackMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Star — native Squeak screenshotStarStarMorph newStandAloneTested + native media

Draw a star whose points can be adjusted.

Factory
StarMorph newStandAlone
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
StarMorph

Show the native handles; use the handle arrows to alter the number of points or their pointiness.

Star · Workspace Do it
| object |
object := StarMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Star in the native Squeak Morphic renderer
Native imageForm of StarMorph newStandAlone before demo changes Scripted starRatio: changes on the native StarMorph after a scripted native size increase for visibility
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Star · demonstration code
| m baseExtent panel u |
m := StarMorph newStandAlone.
m extent: 150@150.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m starRatio: 0.2 + (u * 0.55).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by StarMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Status — native Squeak screenshotStatusScriptingSystem scriptControlButtonsTested + native media

Control Etoys scripts with stop, step, and go buttons.

Factory
ScriptingSystem scriptControlButtons
Catalog categories
Uncategorized
Registration
Registered prototype · hidden from Objects
Returned class
AlignmentMorph

Use the buttons with scripts in a Squeak project; this descriptor is registered but hidden by this image's catalog class filter.

The controls can run existing project scripts, whose effects depend on the project.

Status · Workspace Do it
| object |
object := ScriptingSystem scriptControlButtons.
object openInWorld.
object

Download launcher .st

Status in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Status · demonstration code
| m baseExtent panel u |
m := ScriptingSystem scriptControlButtons.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Sticky Pad — native Squeak screenshotSticky PadStickyPadMorph newStandAloneTested + native media

Add a translucent pastel rectangle to a project.

Factory
StickyPadMorph newStandAlone
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
StickyPadMorph

Drag out a new pad and position it; successive native pads cycle through preset colors.

Sticky Pad · Workspace Do it
| object |
object := StickyPadMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Sticky Pad in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Sticky Pad · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := StickyPadMorph newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by StickyPadMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Storyboard — native Squeak screenshotStoryboardStoryboardBookMorph newStandAloneTested + native media

Build a sequence of camera-like views of a picture.

Factory
StoryboardBookMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
StoryboardBookMorph

Drop a picture into the native storyboard, drag to pan or tilt, and shift-drag vertically to zoom; arrange captured stills into an animation script.

Storyboard playback requires a prepared sequence; its script can be saved from the native menu.

Storyboard · Workspace Do it
| object |
object := StoryboardBookMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Storyboard in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Storyboard · demonstration code
| m baseExtent panel u |
m := StoryboardBookMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by StoryboardBookMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

TabbedPalette — native Squeak screenshotTabbedPaletteTabbedPalette authoringPrototypeTested + native media

Organize books behind named tabs.

Factory
TabbedPalette authoringPrototype
Catalog categories
Presentation
Registration
Visible in Objects
Returned class
TabbedPalette

Click a native tab to reveal its associated book; some tabs can be configured to run actions.

Some tabs can be configured to invoke actions instead of revealing a book.

TabbedPalette · Workspace Do it
| object |
object := TabbedPalette authoringPrototype.
object openInWorld.
object

Download launcher .st

TabbedPalette in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

TabbedPalette · demonstration code
| m baseExtent panel u |
m := TabbedPalette authoringPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by TabbedPalette. Browse the complete class index.

Tetris — native Squeak screenshotTetrisTetris newStandAloneTested + native media

Play Tetris in a Morphic panel.

Factory
Tetris newStandAlone
Catalog categories
Games
Registration
Visible in Objects
Returned class
Tetris

With the mouse over the native game, use left/right to move, up/down to rotate, and Space to drop; buttons are also available.

Tetris · Workspace Do it
| object |
object := Tetris newStandAlone.
object openInWorld.
object

Download launcher .st

Tetris in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. The native Tetris board drops a piece with #step. Scripted left movement and clockwise rotation exercise its real controls.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Tetris · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := Tetris newStandAlone.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.
board := m allMorphs detect: [:child | child isKindOf: TetrisBoard].
1 to: 24 do: [:i |
board step. i = 8 ifTrue: [board moveLeft]. i = 16 ifTrue: [board rotateClockWise].
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Tetris. Browse the complete class index.

Text — native Squeak screenshotTextTextMorph nonwrappingPrototypeTested + native media

Add editable text to a project.

Factory
TextMorph nonwrappingPrototype
Catalog categories
Basic
Registration
Visible in Objects
Returned class
UserText

Click the native text to edit it; this factory creates a UserText instance with a default 24-point style.

Text · Workspace Do it
| object |
object := TextMorph nonwrappingPrototype.
object openInWorld.
object

Download launcher .st

Text in the native Squeak Morphic renderer
Native imageForm of TextMorph nonwrappingPrototype before demo changes Scripted contents: updates rendered by the returned UserText
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Text · demonstration code
| m baseExtent panel u |
m := TextMorph nonwrappingPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m contents: ('Morphic text' copyFrom: 1 to: (1 + (u * 11)) rounded).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by TextMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Text (border) — native Squeak screenshotText (border)TextMorph borderedPrototypeTested + native media

Edit a piece of text with a visible border.

Factory
TextMorph borderedPrototype
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
TextMorph

Click in the native text field and type, then move or resize the field through its halo.

Text (border) · Workspace Do it
| object |
object := TextMorph borderedPrototype.
object openInWorld.
object

Download launcher .st

Text (border) in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted contents: updates rendered by the returned UserText
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Text (border) · demonstration code
| m baseExtent panel u |
m := TextMorph borderedPrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m contents: ('Morphic text' copyFrom: 1 to: (1 + (u * 11)) rounded).
m center: panel center.
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by TextMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Text chat — native Squeak screenshotText chatNebraskaChatMorph newStandAloneTested + native media

Exchange text messages with another Squeak user.

Factory
NebraskaChatMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
NebraskaChatMorph

Configure the recipient and use the native chat editor to send messages.

Construction builds an empty chat panel. Accepting text sends it to the configured recipient; the default panel enables sending with Return.

Text chat · Workspace Do it
| object |
object := NebraskaChatMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Text chat in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Text chat · demonstration code
| m baseExtent panel u |
m := NebraskaChatMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by NebraskaChatMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

No previewConstructor unavailableText chat+NebraskaMultiChatMorph newStandAloneConstructor unavailable

Exchange text messages with several Squeak users.

Factory
NebraskaMultiChatMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
None

Configure the native multi-recipient chat and send from its text editor.

Native isolated construction failed with primLocalAddress failed, demonstrating a local network-address dependency before sending. A working instance can send text to multiple recipients.

Constructor unavailable. The actual constructor failed with “primLocalAddress failed” in the isolated capture environment. This collaborative object requires working networking; no messages were sent.

Text chat+ · factory reference, not a tested launcher
NebraskaMultiChatMorph newStandAlone

Descriptor declared by NebraskaMultiChatMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Thought bubble — native Squeak screenshotThought bubbleSpeechBubbleMorph thoughtPrototypeTested + native media

Put a character's thoughts into a comic bubble.

Factory
SpeechBubbleMorph thoughtPrototype
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
SpeechBubbleMorph

Edit the native thought bubble's text and place it next to the character.

Thought bubble · Workspace Do it
| object |
object := SpeechBubbleMorph thoughtPrototype.
object openInWorld.
object

Download launcher .st

Thought bubble in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Thought bubble · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := SpeechBubbleMorph thoughtPrototype.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SpeechBubbleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Thought bubble (graphic) — native Squeak screenshotThought bubble (graphic)SpeechBubbleMorph thoughtGraphicPrototypeTested + native media

Use a picture inside a thought bubble.

Factory
SpeechBubbleMorph thoughtGraphicPrototype
Catalog categories
Just for Fun
Registration
Visible in Objects
Returned class
SpeechBubbleMorph

Move the native thought bubble beside a character; its starter picture is the painting icon.

Thought bubble (graphic) · Workspace Do it
| object |
object := SpeechBubbleMorph thoughtGraphicPrototype.
object openInWorld.
object

Download launcher .st

Thought bubble (graphic) in the native Squeak Morphic renderer
Exact catalog factory result opened in a disposable Squeak world before demonstration configuration. Native scripted Morph movement in a captured Squeak container; this object has no autonomous animation in the demonstration.
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Thought bubble (graphic) · demonstration code
| m view panel origin world board moves actualMag background w h scale |
m := SpeechBubbleMorph thoughtGraphicPrototype.
m openInWorld.
m fullBounds.
world := Project current world.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97).
view := m.
w := m fullBounds width. h := m fullBounds height.
scale := (1 min: (680 / w)) min: (520 / h).
scale < 1 ifTrue: [view := m addFlexShell. view scale: scale].
view fullBounds.
panel extent: view fullBounds extent + (120@70).
world addMorph: panel. panel position: 0@0.
panel addMorph: view. view position: 50@35. origin := view position.

1 to: 24 do: [:i |
view position: origin + (((i - 1) / 23 * Float pi * 2) sin * 28 @ 0).
panel fullBounds.
world displayWorldSafely.
(Delay forMilliseconds: 120) wait.
].
m

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by SpeechBubbleMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

ThreadNavigator — native Squeak screenshotThreadNavigatorInternalThreadNavigationMorph newStandAloneTested + native media

Navigate through an ordered group of Squeak projects.

Factory
InternalThreadNavigationMorph newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
InternalThreadNavigationMorph

Use the native navigation controls to move through the configured project thread.

Navigation can switch projects and load a project page.

ThreadNavigator · Workspace Do it
| object |
object := InternalThreadNavigationMorph newStandAlone.
object openInWorld.
object

Download launcher .st

ThreadNavigator in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

ThreadNavigator · demonstration code
| m baseExtent panel u |
m := InternalThreadNavigationMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by InternalThreadNavigationMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Trash — native Squeak screenshotTrashTrashCanMorph newStandAloneTested + native media

Discard Morphs, with recovery depending on a preference.

Factory
TrashCanMorph newStandAlone
Catalog categories
Basic
Registration
Visible in Objects
Returned class
TrashCanMorph

Drop an object on the native trash icon. Double-click can show discarded objects only when preserveTrash retained them.

TrashCanMorph initialization documents that preserveTrash=false purges dropped objects immediately. Do not imply that every discarded object is recoverable.

Trash · Workspace Do it
| object |
object := TrashCanMorph newStandAlone.
object openInWorld.
object

Download launcher .st

Trash in the native Squeak Morphic renderer
Native imageForm of TrashCanMorph newStandAlone before demo changes Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Trash · demonstration code
| m baseExtent panel u |
m := TrashCanMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by TrashCanMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Triangle — native Squeak screenshotTrianglePolygonMorph trianglePrototypeTested + native media

Start with a three-sided polygon prototype.

Factory
PolygonMorph trianglePrototype
Catalog categories
Graphics
Registration
Visible in Objects
Returned class
PolygonMorph

Use its visible handles to move the three vertices; inspect the native prototype rather than assuming it is an equilateral triangle.

Triangle · Workspace Do it
| object |
object := PolygonMorph trianglePrototype.
object openInWorld.
object

Download launcher .st

Triangle in the native Squeak Morphic renderer
Native imageForm of PolygonMorph trianglePrototype before demo changes Scripted native extent and colour changes; no mouse interaction recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Triangle · demonstration code
| m baseExtent panel u |
m := PolygonMorph trianglePrototype.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m extent: (baseExtent + ((80@40) * u)) rounded.
m color: (Color h: 210 - (u * 170) s: 0.65 v: 0.9).
m center: panel center.
m borderColor: (Color h: 210 - (u * 170) s: 0.8 v: 0.6).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by PolygonMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

TrueType banner — native Squeak screenshotTrueType bannerTTSampleStringMorph newStandAloneTested + native media

Display a short string in a TrueType font.

Factory
TTSampleStringMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
TTSampleStringMorph

Use the native resize handle to change the displayed size and edit its text or appearance.

Native text rendering needs a TrueType font; the load-font-from-web menu is a separate network action.

TrueType banner · Workspace Do it
| object |
object := TTSampleStringMorph newStandAlone.
object openInWorld.
object

Download launcher .st

TrueType banner in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

TrueType banner · demonstration code
| m baseExtent panel u |
m := TTSampleStringMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by TTSampleStringMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

V number line — native Squeak screenshotV number lineVerticalNumberLineMorph newStandAloneTested + native media

Use a vertical number line as a reference axis.

Factory
VerticalNumberLineMorph newStandAlone
Catalog categories
Graphing
Registration
Visible in Objects
Returned class
VerticalNumberLineMorph

Place it alongside objects or use it as the y-axis of a graph.

V number line · Workspace Do it
| object |
object := VerticalNumberLineMorph newStandAlone.
object openInWorld.
object

Download launcher .st

V number line in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

V number line · demonstration code
| m baseExtent panel u |
m := VerticalNumberLineMorph newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by VerticalNumberLineMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

WaveEditor — native Squeak screenshotWaveEditorWaveEditor newStandAloneTested + native media

Inspect and edit sampled sound or other numeric sequences.

Factory
WaveEditor newStandAlone
Catalog categories
Multimedia
Registration
Visible in Objects
Returned class
WaveEditor

Use the native waveform graph and cursor, choose loop points, and play selections when sound data is loaded.

Playback produces audio; the blank editor needs waveform data before a meaningful waveform or loop demonstration.

WaveEditor · Workspace Do it
| object |
object := WaveEditor newStandAlone.
object openInWorld.
object

Download launcher .st

WaveEditor in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

WaveEditor · demonstration code
| m baseExtent panel u |
m := WaveEditor newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by WaveEditor. Browse the complete class index.

No previewNot runWelcomeNebraskaMorphsWelcomeMorph newStandAloneNot run · dependency

Allow received Morphs to appear directly in the current world.

Factory
NebraskaMorphsWelcomeMorph newStandAlone
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
None

The presence of this native sign signals that the world accepts incoming Morphs.

The sign is not just decorative: its presence signals that received Morphs may appear automatically in the world.

Not run · dependency. Its presence changes how incoming Morphs are admitted to the world. This network-dependent entry was not opened.

Welcome · factory reference, not a tested launcher
NebraskaMorphsWelcomeMorph newStandAlone

Descriptor declared by NebraskaMorphsWelcomeMorph. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Workspace — native Squeak screenshotWorkspaceWorkspace prototypicalToolWindowTested + native media

Keep and edit text in a Workspace window.

Factory
Workspace prototypicalToolWindow
Catalog categories
Uncategorized
Registration
Visible in Objects
Returned class
PluggableSystemWindow

Type or edit text in the native Workspace; its contents can be saved to a file.

Saving reads or writes files, and evaluating Smalltalk text runs code in the image; simple text editing is local.

Workspace · Workspace Do it
| object |
object := Workspace prototypicalToolWindow.
object openInWorld.
object

Download launcher .st

Workspace in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Workspace · demonstration code
| m baseExtent panel u |
m := Workspace prototypicalToolWindow.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by Morph. Browse the complete class index.

x-y plane — native Squeak screenshotx-y planeGraphPaperPanel classicCartesianGraphTested + native media

Get a playfield with x and y axes.

Factory
GraphPaperPanel classicCartesianGraph
Catalog categories
Graphing
Registration
Visible in Objects
Returned class
PasteUpMorph

Use the axes as references when placing objects or graphing coordinates.

x-y plane · Workspace Do it
| object |
object := GraphPaperPanel classicCartesianGraph.
object openInWorld.
object

Download launcher .st

x-y plane in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

x-y plane · demonstration code
| m baseExtent panel u |
m := GraphPaperPanel classicCartesianGraph.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by GraphPaperPanel. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Zip Tool — native Squeak screenshotZip ToolArchiveViewer newStandAloneTested + native media

View and edit the members of a ZIP archive.

Factory
ArchiveViewer newStandAlone
Catalog categories
Tools
Registration
Visible in Objects
Returned class
ArchiveViewer

Open an archive in the native tool before inspecting or editing its contents.

Opening or saving ZIP archives reads or changes files. The empty window can be inspected without choosing an archive.

Zip Tool · Workspace Do it
| object |
object := ArchiveViewer newStandAlone.
object openInWorld.
object

Download launcher .st

Zip Tool in the native Squeak Morphic renderer
Native Squeak factory rendering. Scripted native position changes; no mouse drag recorded
Code used for the recorded demonstration

Rendering script: the recording captures native frame states between iterations. Some examples use an offscreen panel or explicitly invoke step methods. Use the short launcher above for the ordinary interactive object.

Zip Tool · demonstration code
| m baseExtent panel u |
m := ArchiveViewer newStandAlone.
baseExtent := m extent.
panel := Morph new color: (Color r: 0.95 g: 0.96 b: 0.97); extent: ((baseExtent x + 180 max: 320) @ (baseExtent y + 140 max: 220)).
panel addMorph: m.
m center: panel center.
1 to: 24 do: [:i |
 u := (((i - 1) / 23 * Float pi * 2) cos negated + 1) / 2.
 m center: panel center + (u * 80 - 40 @ 0).
 "Capture panel imageForm after each actual native state change."
].

Cleanup: close the object or use its halo’s red delete handle. For animated objects, deleting the complete root removes it from the world.

Descriptor declared by ArchiveViewer. A prototype name is not necessarily a Smalltalk class name. Browse the complete class index.

Run an object in Squeak

Open Tools → Workspace. Copy a complete tested launcher, select the whole block, and choose do it (usually Ctrl+D / Cmd+D). Each launcher creates a fresh object. Close it before trying the next example. The website plays recordings; the objects themselves run in Squeak.

The Objects tool’s alphabetical view contains 107 visible entries. Five more registered scripting prototypes are hidden by its class-only filter and are identified here. Duplicate labels, including Curve and SoundRecorder, remain separate because their factories differ. Uncategorized objects still appear in the alphabetical view.

Native media was rendered by the actual Squeak image. Each caption identifies automatic behavior or a scripted demonstration; static-object movement is not claimed to be a built-in animation. Recordings are opt-in and Stop restores the still image.

An explicit coverage boundary

106 entries tested with native media; 5 marked dependency or unavailable; 1 constructor failures. Every one of the 112 registered descriptors has an entry. A registration is not a guarantee that its constructor works without a device, network service, file or project context.

The separate 507-class index includes internal widgets, abstract bases, deprecated classes and test fixtures. It does not claim that all 507 are independent user-facing objects or that every class has a screenshot. Visual controls absent from the catalog link to the forms tutorial where applicable.

Download the baseline inventory · Download the capture audit