Re: Contesting for Idiot du Jour

2020-09-03 Thread Roger Guay via use-livecode
Great suggestion, Thomas! It works very well. Originally, I was flummoxed by my code, using polar coordinates, not working as expected. Thanks to you and the others responding to this thread, I now get it. Your suggestion reestablishes my faith in the basic math, while recognizing limitations

Re: Contesting for Idiot du Jour

2020-09-03 Thread Thomas von Fintel via use-livecode
I think the easiest way is to adjust the linear random function so that it produces higher numbers more frequently than lower numbers. More precisely, the frequency of 10 must be four times that of 5 (because the area quadruples if you double the radius). Or else the outer points have a lower

Re: Hacktoberfest is coming

2020-09-03 Thread Richard Gaskin via use-livecode
True, focusing on the subset of issues in the IDE, leaving the engine work to the experts on the core team, would make the work much more actionable. The enthusiasm is good to see. I like the vision of a world where we all share one common engine and language, and have a wide range of IDE

Re: ...and now for something completely off the wall...

2020-09-03 Thread Richmond via use-livecode
Well, the last line is in Latin. Also, be aware that Scots and English have been twining round each other like the two snakes on a caduceus; how ever, to my mind that is part of a poem by William Dunbar, so 15th century. Fit fashes me, mynd, is that the orthographie micht hae been chaungit,

Re: Contesting for Idiot du Jour

2020-09-03 Thread chaplais via use-livecode
There is no simple way, because the infinitesimal area is polar coordinates is r dr dtheta where r is the radius and theta is the angle. More intuitively, the farther you are from the center, the smaller the angle that covers a fixed size pixel becomes. All the best, François Le 3 sept. 2020 à

Re: Contesting for Idiot du Jour

2020-09-03 Thread Roger Guay via use-livecode
Or to put it simply, how would one select random point (e.g. in a circle) using Polar Coordinates?? Roger > On Sep 3, 2020, at 8:17 AM, Roger Guay via use-livecode > wrote: > > Jerry, > > You’ve done a very nice job of describing what’s actually(?) happening in my > code, but I think you

Re: Contesting for Idiot du Jour

2020-09-03 Thread Roger Guay via use-livecode
Jerry, You’ve done a very nice job of describing what’s actually(?) happening in my code, but I think you missed the point of my question. You agree that if you simply sample random pixels then the ratio of a random pick inside the smaller circle will depend on the area of the circles. And, if

Re: Hacktoberfest is coming

2020-09-03 Thread Mike Kerner via use-livecode
it's not the engine, it's the ide portion, which is not binary. in addition, as it is a fork, it would be maintained in parallel with the LC version, so when LC releases an update, beta or otherwise to the ide, you would merge it into the fork, and review all the diffs. in some other projects, the