Search found 103 matches

by ajperks
Thu Nov 10, 2022 10:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can an image be searched?
Replies: 60
Views: 24584

Re: How can an image be searched?

Thank you all for your input.
I will be looking at the problem again on Sunday and hope to report back.
by ajperks
Tue Nov 08, 2022 9:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can an image be searched?
Replies: 60
Views: 24584

Re: How can an image be searched?

It was mentioned that judging the distance the robot was from the camera would be hard to calculate. It isn't an issue, because the camera would be looking down, not along the robot path. The room extremities would become the edge of the map. Just imagine a camera fixed to the ceiling and capturing ...
by ajperks
Tue Nov 08, 2022 6:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can an image be searched?
Replies: 60
Views: 24584

Re: How can an image be searched?

Thank you all for your suggestions. The setup I envisage would be an immoveable webcam that covers a set area of a room. Within the room would be the robot and it would have a point of light beacon on the top, emitting a unique colour. As you might imagine, as the robot moves, so does the position o...
by ajperks
Sun Nov 06, 2022 6:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How can an image be searched?
Replies: 60
Views: 24584

How can an image be searched?

A page of text can easily be searched to find to position of a specific character. However, I need to search an arbitrary image, let's say the screen or a JPG for the specific occurrence of a coloured pixel or mousepointer or simple shape and report it's x,y position. Has anyone done this? If so, ho...
by ajperks
Sun Sep 11, 2022 2:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

Hi Roger, Stam, Craig... I know this is all early days in development, for me and I went to bed last night pretty pleased that I had the little amoeba (chosen because it has a fixed shape) detecting the target and heading to it for lunch. I woke up this morning realising I had got it all wrong. It c...
by ajperks
Sat Sep 10, 2022 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

Hi Craig, You asked to let you know how I am progressing. Having thought about the problem, I have decided on a substantially non-mathematical approach. My reasoning is this. The cell only knows the rough direction of the target/nutrient because the chemicals detected are strongest on the nearest si...
by ajperks
Sat Sep 10, 2022 1:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

Hi Stam, I did find the simulation interesting. I was aware lots of people had created computer programs to do similar simulations and I have tried to avoid watching them, or at least being influenced by their techniques. I was keen to avoid being influenced by their thought processes. If I stand on...
by ajperks
Sat Sep 10, 2022 9:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

Based on my research, it appears the current public opinion of how basic life forms function and perform has the underlying notion that there is intelligencee at the heart of it. I don't believe this is correct. Remarkable things happen that appear intelligence driven but are simply the result of ch...
by ajperks
Fri Sep 09, 2022 7:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

I have already started the long winded approach of testing etc. I know it will work that way, but i had hoped there was a simple routine that avoids testing the + or - of the values. I note the slick code you suggest that moves in one direction. It will take me a while to understand it. I tend to wr...
by ajperks
Fri Sep 09, 2022 6:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Re: Is there a simple equation for this?

Hi Craig, ultimately the target may move. I will look at the download after my evening meal. FYI, this project is a brain stretcher for me. I haven't used Livecode for a while and building this simulation should get the grey cell working and bring me back up to speed with LC. My main interest is rob...
by ajperks
Fri Sep 09, 2022 5:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Is there a simple equation for this?
Replies: 30
Views: 13377

Is there a simple equation for this?

I am attempting to mimic the movement of a cell in a Pietri dish. At this stage, the cell is attracted to a target and moves slowly, an increment at a time, towards it. Cells diagram.jpg I have the coordinates of the target (shall we say 144,62) I have the coordinates of the cell (shall we say 320,1...
by ajperks
Sun Jul 31, 2022 11:33 am
Forum: HTML5
Topic: Anyone have a recent livecode webapp i could run?
Replies: 7
Views: 4815

Re: Anyone have a recent livecode webapp i could run?

Thank you FourthWorld , For me, there is no point developing anything that won't run on all current browsers. I wrongly assumed that Edge, being Chrome based, should work. I have deleted Version 10 now and am looking for a community based version of Livecode, the latest free version so I can still d...
by ajperks
Sat Jul 30, 2022 5:25 pm
Forum: HTML5
Topic: Anyone have a recent livecode webapp i could run?
Replies: 7
Views: 4815

Re: Anyone have a recent livecode webapp i could run?

Hi Bob, I have just started using the version 10 of the web platform. All I needed to do was run something built with Livecode HTML5 to see if it will run on my Edge browser in Win 10. No HTML apps, even yours will run. I always get an # Exception thrown, see JavaScript console error message. Obviou...
by ajperks
Tue Jul 26, 2022 2:14 pm
Forum: HTML5
Topic: Anyone have a recent livecode webapp i could run?
Replies: 7
Views: 4815

Anyone have a recent livecode webapp i could run?

I have just started to use the web platform of Livecode and the recent write or read textfile to web app does not load for me. I end up with the loading whirlything that never completes. I am using Edge as my browser. I need to check if the loading time of the engine, prior to displaying the web pag...
by ajperks
Wed Oct 27, 2021 11:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: one liner needed to filter file list
Replies: 5
Views: 2359

Re: one liner needed to filter file list

Thank you all and I appreciate the help.

Go to advanced search