another yucky geometry question

TJ Frame tjframe at gmail.com
Tue Sep 27 18:51:40 EDT 2005


Jim.. wow that is one amazingly useful function for my needs.. just played
around with it by hooking it up to mulitple sliders and its going to be
super useful for my project!
 PS: I dont know what type of system you are using, but on my computer the
function takes less that 1 millisecond even with the step 4 part removed. I
get nothing but "0" milliseconds when I run the function. I'm running
a 1.7ghz p4 with 2 1/2 gigs of Ram..
  - TJ

 On 9/27/05, TJ Frame <tjframe at gmail.com> wrote:
>
> Wow.. ok thanks.. I'll delve into the whole thing again and see what I can
> come up with. Thanks for taking your time to help out!
>  I wish I could give back more to the community myself, but everyone here
> knows as much or more than I do!
>  - TJ
>
>  On 9/27/05, Jim Hurley <jhurley at infostations.com> wrote:
> >
> > >
> > >Message: 3
> > >Date: Mon, 26 Sep 2005 18:53:36 -0700
> > >From: TJ Frame < tjframe at gmail.com>
> > >Subject: Re: another yucky geometry question
> > >To: How to use Revolution <use-revolution at lists.runrev.com>
> > >Message-ID: < 7348a9e8050926185375614ce4 at mail.gmail.com>
> > >Content-Type: text/plain; charset=ISO-8859-1
> > >
> > >Thanks so much Jim, but alas, as this screenshot shows neither axis
> > will
> > >ever be parallel since this is a 2D perspectiev drawing utility. This
> > second
> > >image of the link is a screenshot shows a typical VP setup that might
> > exist
> > >and all the variations of ellipses that might result...
> > > http://www.tjframe.com/EllipseExample.htm
> > > But as I alluded to earlier, Perhaps this would be beyond the scope of
> > >something I could implement. I know that 3D do ellipses every day, all
> > day
> > >long, so I had assumed it would be a straightfoward task. But I guess
> > they
> > >use matrix calculations to generate the points of the object rotated
> > and
> > >stuff. Perhaps I would need to have a 3D underpinning for the ellipse
> > stuff
> > >to work..
> > > For now I'll put that feature on hold.
> > > Thanks again guys,
> > > - TJ
> >
> > TJ,
> >
> > Using the drawEllipse handler it is not hard to draw an ellipse of
> > any dimension, at any angle, at any location. It is fairly quick,
> > about 8 or 9 millisec. But, as I said, there would be a fair bit of
> > calculation required to GET the proper loc, dimensions, and angle.
> > You would need to expand on the calculation I used in the stack
> > "ellipseInAbox" to make the ellipse tangent to the radial lines. A
> > bit of work, but doable.
> >
> > Jim
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
>



More information about the use-livecode mailing list