Skip to content

Instantly share code, notes, and snippets.

@peteruhnak
Created December 19, 2016 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peteruhnak/024650ed2594301558df4da913549b54 to your computer and use it in GitHub Desktop.
Save peteruhnak/024650ed2594301558df4da913549b54 to your computer and use it in GitHub Desktop.
1 to: 100 do: [ :o |
'log.txt' asFileReference
writeStreamDo: [ :stream |
stream
setToEnd;
nextPutAll: 'o(';
nextPutAll: o asString;
nextPutAll: ')';
crlf ].
b := RTGrapherExample new exampleAverageAndStdev.
b build.
v := b view.
w := GTInspector openOn: v.
World doOneCycle.
1 to: 20 do: [ :i |
v signalUpdate.
World doOneCycle.
].
w delete.
World doOneCycle
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment