Pendulum
Huston, Vince
VHuston at Viewlocity.com
Tue Apr 15 23:44:10 UTC 2003
I am not able to bring up the project that Alan broadcast. I recently
installed Squeakland 3.2.4913 (latest update #152)
I am getting -
MessageNotUnderstood: default - An error has occurred; you should probably
just hit 'abandon'.
Any suggestions?
Thank you,
Vince Huston
Dallas
here insert explanation of what you were doing, suspect changes you've
made and so forth.
I am trying to open the project Alan Kay just sent out -
PendulumTaTum.001.pr
15 April 2003 6:27:11 pm
VM: Win32 - Squeak3.2gamma of 12 January 2002 [latest update: #4879]
Image: Squeakland 3.2.4913 [latest update: #152]
TTFontDescription class(Object)>>doesNotUnderstand:
Receiver: TTFontDescription
Arguments and temporary variables:
t1: a Message with selector: #default and arguments: #()
Receiver's instance variables:
superclass: Object
methodDict: a MethodDictionary(#deepCopy->a CompiledMethod (2064)
#name->a Comp...etc...
format: 162
instanceVariables: #('glyphTable' 'glyphs' 'kernPairs' 'copyright'
'familyName'...etc...
organization: ('accessing' name size)
('copying' deepCopy objectForDataStream: ...etc...
subclasses: nil
name: #TTFontDescription
classPool: a Dictionary(#Default->nil #Descriptions->a Set() )
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil
TTCFont class>>initialize
Receiver: TTCFont
Arguments and temporary variables:
tt: nil
Receiver's instance variables:
superclass: AbstractFont
methodDict: a MethodDictionary(#ascent->a CompiledMethod (1064)
#baseKern->a Co...etc...
format: 138
instanceVariables: #('ttcDescription' 'name' 'pixelSize'
'foregroundColor')
organization: ('as yet unclassified' ascent baseKern basicPixelSize:
computeTra...etc...
subclasses: nil
name: #TTCFont
classPool: nil
sharedPools: nil
environment: a SystemDictionary(lots of globals)
category: nil
UndefinedObject>>DoIt
Receiver: nil
Arguments and temporary variables:
Receiver's instance variables:
nil
Compiler>>evaluate:in:to:notifying:ifFail:
Receiver: a Compiler
Arguments and temporary variables:
t1: 'TTCFont initialize'
t2: nil
t3: nil
t4: nil
t5: [] in Compiler class>>evaluate:for:notifying:logged:
t6: DoIt
^ TTCFont initialize
t7: a CompiledMethod (3467)
t8: nil
Receiver's instance variables:
sourceStream: a ReadStream
requestor: nil
class: UndefinedObject
context: nil
--- The rest of the stack ---
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
[] in RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
BlockContext>>on:do:
[] in RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
ProgressInitiationException>>sendNotificationsTo:
[] in ComplexProgressIndicator>>withProgressDo:
ProgressInitiationException(Exception)>>handlerAction
ProgressInitiationException(Exception)>>signal
ProgressInitiationException>>display:at:from:to:during:
ProgressInitiationException class>>display:at:from:to:during:
String>>displayProgressAt:from:to:during:
RWBinaryOrTextStream(PositionableStream)>>fileInAnnouncing:
RWBinaryOrTextStream(PositionableStream)>>fileIn
RWBinaryOrTextStream(ReadWriteStream)>>fileInObjectAndCode
[] in ProjectLoading
class>>openName:stream:fromDirectory:withProjectView:
BlockContext>>ensure:
ProjectLoading class>>openName:stream:fromDirectory:withProjectView:
[] in ProjectLoading class>>openFromDirectory:andFileName:
BlockContext>>on:do:
[] in ComplexProgressIndicator>>withProgressDo:
BlockContext>>on:do:
ComplexProgressIndicator>>withProgressDo:
ProjectLoading class>>openFromDirectory:andFileName:
TheWorldMenu>>loadProject
TheWorldMenu>>doMenuItem:with:
[] in MenuItemMorph>>invokeWithEvent:
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor:
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
...etc...
-----Original Message-----
From: Alan Kay [mailto:Alan.Kay at squeakland.org]
Sent: Tuesday, April 15, 2003 6:02 PM
To: squeakland at squeakland.org
Cc: Andreas Raab
Subject: Re: Pendulum
What's the model behind the "movin' pictures"?
The simple frame by frame animation has a very weak and almost nonexistent
model.
But, as you've seen from our demos and the DVD documentary, even 5th graders
can figure out the two line script that represents an excellent 2nd order
differential equation of the (almost) constant accelleration of gravity near
the surface of the earth. This is what drives a real pendulum.
Now you just have to "see" how the downwards and sideways forces change with
the position of the pendulum and you can easily make a real model of it.
Enclosed is a project that has noticed that the rotational force is
proportional to the sine of the angle of the pendulum. But, there is a nice
way to bypass trig completely by directly "weighing" the forces exerted by
gravity at different angles ... heh heh ...
Cheers,
Alan
--
At 3:23 PM -0400 4/15/03, Brucestro at aol.com wrote:
Andreas/Phil,
Wouldn't another possilble approach be to create a series of pictures
showing all the possible positions of the pendulum and then control it as
one would control a cartoon/movie? (Phil - There are examples of this
technique at squeakland.org under the eToys link.) Another option that
comes to mind is to stack each of these pictures on top of each other and
move them front to back as required. Andreas, I'm new to Squeak -- would
these ideas work, or am I on the wrong track?
Thanks,
Bruce Strothenke
Teachers College Columbia University
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030415/14cd72cd/attachment.htm
More information about the Squeak-dev
mailing list
|