[Morphic] Re: chanllenges. Juan's new morphic

Peace Jerome peace_the_dreamer at yahoo.com
Mon May 29 01:52:50 UTC 2006


Hi Juan,

Thanks for responding to my request to make the new
morph stuff available.

I've had a channce to play with it. In its present
form it runs out of running room fairly quickly.

That said. The decomposition of morphs into location
and co-ordinate system seems promising.

I tried putting some Testmorphs together. The
behaviour was odd.  Turning a morph with submorphs
left the submorphs stationary relative to the world.
This surprised me.

In the full conception what are the locations relative
to? Their direct owners or the world?

Picking up a morph would move its submorphs but
rotating a morph would not. The brown move handle
worked only for morphs owned by the world. Using them
on submorphs got a debug due to a DNU. The grab handle
worked for moving the submorphs relative to their (now
former) owner.  Dropping the morphs did seem to
reimbed them however.

So at this stage what kind of encouragement/help are
you looking for?

Yours in service, -- Jerome Peace


--- Juan Vuletich <jmvsqueak at uolsinectis.com.ar>
wrote:

> Hi Jerome!
> 
> It is in a very early stage, and blah blah bla.
> You can download it from
> www.sinectis.com.ar/u/jmvuletich/NewMorphic13.zip .
> Then do TestMorph new openInWorld, play a bit with
> it (move, stretch, 
> rotate). Then browse the class. The intersting part
> is that the #drawOn: 
> method doesn't need to know anything but it's own
> size: [-1..1] x [1..-1].
> 
> (what follows is copied from a recent mail from me):
> 
> What follows are some ideas for a redesign of
> Morphic. Some of them were
> suggested by John Maloney (the main implementor of
> Morphic). Others are old
> ideas of mine. I did my first experiments on them in
> C, way before knowing
> about Smalltalk.
> 
> - Every Morph defines a space and a coordinate
> system. His #drawOn: method
> and the location of his submorphs are expressed in
> his own coordinate
> system.
> 
> - The coordinate systems are 2D but are not
> restricted to Cartesian. Others
> are polar, logarithmic Cartesian, and hyperbolic and
> map-like projections.
> The basic one is Cartesian with Float coordinates.
> 
> - There is no concept of pixel. Going from pixels to
> general coordinate
> systems is like going from bits to objects. All the
> gui is independent of
> pixel resolution. All the rendering is antialiased.
> 
> - (A coordinate system + its position in an owner +
> its extent in an owner +
> its rotation angle in an owner) together specify a
> translation of 
> coordinates
> to the owner's space and coordinate system.
> 
> - The Morph hierarchy is NOT a shape hierarchy.
> Morphs don't have a concept
> of a border or color. There is no general concept of
> submorph aligning.
> 
> - The existing Morph hierarchy is renamed as
> OldXxxx. Anyway, most of them
> are deleted. Only kernel, a few basic, and the
> programming tools remain.
> 
> - Old Morphs and new Morphs can live together in a
> World.
> 
> Of course, if you (or anyone) is interested enough,
> you can help!
> 
> Cheers,
> Juan
> ----- Original Message ----- 
> From: "Peace Jerome" <peace_the_dreamer at yahoo.com>
> To: "Juan Vuletich" <jmvsqueak at uolsinectis.com.ar>
> Cc: <morphic at lists.squeakfoundation.org>
> Sent: Sunday, May 21, 2006 2:58 AM
> Subject: Re: chanllenges. Juan's new morphic
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Morphic mailing list