Re: adjacent objects

2015-12-06 Thread Walt Brown
Richmond, I was trying to recreate "Boids" (but got distracted playing with the muckingabout stack at the same time, more on that later :-). I had each object post their position to a global list of objects when they stopped moving (or when a new recalculation cycle is declared). Then each

adjacent objects

2015-12-06 Thread Richmond
I am aware that objects/controls are on different layers on a LiveCode card, but the end-users looking at a 2-dimensional screen they are all, apparently, on a flat surface. Has anyone any idea how a script within the mouseUp of one control could detect the presence of "adjacent" controls on

Android SDK on Ubuntu 14.04

2015-12-06 Thread Alejandro Tejada
Hi All, Today, I am reinstalling again all my Linux setup. This time, I am installing Ubuntu 14.04 64bits (previously Lubuntu 14.04 32bits) and found with surprise that Android SDK could not install API 8, API 10, API 15 and API 18. Android SDK Manager marks an error and do not allows me to

Re: adjacent objects

2015-12-06 Thread [-hh]
Hi Richmond and Walt, I tried to find out your definitions of "adjacent". Walt has its own clever situation-dependent, sometimes self-adapting definition of 2D- or 3D-neighbourhoods, perhaps too complicated for your project. You, Richmond, think at first of 'nearby' rects. I suggest to do that

Re: Pointlist to Bezier

2015-12-06 Thread Alejandro Tejada
Hi Michael, > Michael K. wrote: > Pointlist to Bezier > Hi there, I wonder if any have code to take a > point-list and turn it into a smooth-lined bezier. Look at this stack, that implements two polygon smoothing algorithms: Chaikin and Shemanarev

Re: Pointlist to Bezier?

2015-12-06 Thread [-hh]
> Michael K. wrote: > Pointlist to Bezier > Hi there > I wonder if any have code to take a point-list and turn it > into a smooth-lined bezier. A bezier curve is a mathematical model. It can only approximately be drawn by polygons. LC's path method is as good as others, has only (because it's not

Re: adjacent objects

2015-12-06 Thread Roger Guay
Coincidently, I am facing the same problem as I too am trying to recreate Boids in LC. However, I’m confining myself to 2D, thinking I need to learn to walk before I can fly like the Boids! How about this: create a graphic “Region” that corresponds to your desired size/region of adjacency, and

Re: adjacent objects

2015-12-06 Thread Kay C Lan
On Mon, Dec 7, 2015 at 3:33 AM, Richmond wrote: > > If we imagine a chessboard . . . > > ... > > Of course, the main criticism about my idea of using a field to store prop > details is that looking up info in it > will be significantly slower than using an array. > >

Re: adjacent objects

2015-12-06 Thread Richmond
On 06/12/15 20:44, Walt Brown wrote: Richmond, I was trying to recreate "Boids" (but got distracted playing with the muckingabout stack at the same time, more on that later :-). I had each object post their position to a global list of objects when they stopped moving (or when a new

Re: Invalid host address

2015-12-06 Thread Malte Brill
Hey Dan, just a quick headup that I see the same thing (Win 7 and 10 though). As soon as a user is logged in as a domain user, local servernames can not be resolved. Connecting to the IP works though. I mentioned this in an earlier thread:

Re: Pointlist to Bezier?

2015-12-06 Thread Scott Rossi
Hi Michael: There a few example Bezier stacks on RevOnline that show how to simulate Bezier curves, but when drawn using polygons, LiveCode's card resolution limits how smoothly the curves can be drawn. If you're interested, I wrote a blog post that explains a bit more, and provides an improved

Re: Death of the Application Browser

2015-12-06 Thread Geoff Canyon
On Wed, Dec 2, 2015 at 4:45 PM, Geoff Canyon wrote: > On Wed, Dec 2, 2015 at 2:41 PM, J. Landman Gay > wrote: > >> Okay, good to know. As Hermann mentioned, he had to learn its >> capabilities by reading our discussion. That's a problem I have with