[self-interest] Animation example source code?
ardeujho
ardeujho at cd.pn
Tue Mar 4 10:20:43 UTC 2014
Yes, it should be in the image. Look for 'gasTank'. You can do this
from the 'Shell' in the Desktop UI by typing 'gasTank' and then
pressing 'Get It'. This gives you an outliner for it. Middle click that
and choose 'Show Morph'.
You'll see a rectangle outline on the desktop. From the outliner, press
the 'E' in the top right of the outliner (it's the "^ E x' part) to get
a shell for that object. In that type 'start' and press 'Do It' to
start running the gas tank. you won't seen anything until you add an
atom.
To add an atom do 'addAnAtom' in the evaluator and press 'Do It'. Do
this multiple times. You can resize the morph by right clicking on it
and choose 'resize'.
An exercise for you would be to create some buttons that do these
method calls (start, stop, addAnAtom) when clicked. You can them embed
those buttons in a row morph. Then embed that row morph and the gas
tank in a column morph to get a single "Gas Tank" widget with controls.
On Tue, Mar 4, 2014, at 11:02 PM, Stephen De Gabrielle wrote:
Hi,
Is the code to the ideal gas animation example available?
[1]http://handbook.selflanguage.org/4.5/morphic.html#animation
Kind regards,
Stephen
--
--
Stephen De Gabrielle
[2]stephen.degabrielle at acm.org
Telephone +44 (0)20 85670911
Mobile +44 (0)79 85189045
[3]http://www.degabrielle.name/stephen
References
1. http://handbook.selflanguage.org/4.5/morphic.html#animation
2. mailto:stephen.degabrielle at acm.org
3. http://www.degabrielle.name/stephen
4. https://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJwZjFycjBuBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzMwMzkEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMzkzOTI3MzUw?act=reply&messageNum=3039
5. mailto:spdegabrielle at gmail.com?subject=Re%3A%20Animation%20example%20source%20code%3F
6. mailto:self-interest at yahoogroups.com?subject=Re%3A%20Animation%20example%20source%20code%3F
7. https://groups.yahoo.com/group/self-interest/post;_ylc=X3oDMTJlNTR1dTNjBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTM5MzkyNzM1MA--
8. https://groups.yahoo.com/group/self-interest/message/3039;_ylc=X3oDMTM0dmJoZDhqBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BG1zZ0lkAzMwMzkEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMzkzOTI3MzUwBHRwY0lkAzMwMzk-
9. https://groups.yahoo.com/group/self-interest;_ylc=X3oDMTJlcHUxZHJhBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM5MzkyNzM1MA--
10. https://groups.yahoo.com/group/self-interest/members;_ylc=X3oDMTJmdmlrMjhzBF9TAzk3MzU5NzE0BGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzOTM5MjczNTA-?o=6
11. https://groups.yahoo.com/;_ylc=X3oDMTJkZ2MyN2I5BF9TAzk3NDc2NTkwBGdycElkAzExMTQ4MzUEZ3Jwc3BJZAMxNzA3Mjc2NzE4BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzkzOTI3MzUw
12. https://info.yahoo.com/privacy/us/yahoo/groups/details.html
13. mailto:self-interest-unsubscribe at yahoogroups.com?subject=Unsubscribe
14. https://info.yahoo.com/legal/us/yahoo/utos/terms/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20140304/288e54ed/attachment.html>
More information about the Self-interest
mailing list