<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>See the "Making Of". The second time it only took me 4 minutes :)</div><div><br></div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://www.youtube.com/watch?v=7Kd5YxOp73E">http://www.youtube.com/watch?v=7Kd5YxOp73E</a><div><br></div><div>And please excuse my mumbling ...</div><div><br></div><div>- Bert -</div><div><br><div><div>On 2013-03-13, at 13:33, Marshall Hampton &lt;hamptonio@gmail.com&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks, that is helpful.&nbsp; I'm still having some trouble getting used to the environment but I think we can figure it out.&nbsp; One thing I was wondering is if an object, such as the triangle in your program, can create text and display it.&nbsp; Or perhaps some separate text object is needed?&nbsp; <br>
<br>Thanks again for the quick response.<br><br>-Marshall<br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 7:15 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div class="HOEnZb"><div class="h5">On 2013-03-13, at 02:01, Marshall Hampton &lt;<a href="mailto:hamptonio@gmail.com">hamptonio@gmail.com</a>&gt; wrote:<br>

<br>
&gt; Hi,<br>
&gt;<br>
&gt; I am new to Squeak and Smalltalk. &nbsp;After reading a few tutorials I am very intrigued and impressed. &nbsp;Brief background for me: I am a mathematician, I am fairly skilled in Python, and I have worked at to varying degrees with C, C++, Java, Pascal, Basic, Fortran, &nbsp;Javascript, Ruby, R, and Mathematica.<br>

&gt;<br>
&gt; I am homeschooling my daughter, who is 9. &nbsp;She is quite proficient at Scratch. &nbsp;A week ago I decided to give her a very brief tour of other programming languages by having her write a "Hello Pythagoras" program in each language. &nbsp;This program should print "Hello Pythagoras" somehow, and then ask the user for two inputs (call them A and B). &nbsp;It should then print sqrt(a^2 + b^2).<br>

&gt;<br>
&gt; For her third language she chose Squeak, since she knew that Scratch was written in it. &nbsp;I would like to have her write the "Hello Pythagoras" program using Morphic objects, in a visually appealing way. &nbsp;So far I have had some trouble finding a tutorial that covers relevant information. &nbsp;I am sure I can figure this out by poking around long enough but if anyone has a pointer to documentation that might help, or a similar example, that would be great and much appreciated.<br>

<br>
</div></div>Here is how to do it in Etoys (using the Squeakland version from <a href="http://squeakland.org/" target="_blank">http://squeakland.org/</a> ):<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.youtube.com/watch?v=vfxNsYz52QA" target="_blank">http://www.youtube.com/watch?v=vfxNsYz52QA</a><br>
<br>
Took maybe 10 minutes, and that's including the graphical display of the triangle :)<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br><br></font></span></blockquote></div></blockquote></div></div></body></html>