• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting cartesian values from Bezier curve question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting cartesian values from Bezier curve question


  • Subject: Re: Getting cartesian values from Bezier curve question
  • From: Raphael Sebbe <email@hidden>
  • Date: Wed, 16 Jun 2004 09:35:23 +0200

I second Marcel on this. Use NSBezierPath for drawing only (even simple lines) and something more suited to your needs internally.

I'd recommend something like Kochanek splines that provide local control for tension, continuity and bias and are widely used in animation softwares.

Raphael

On 15 Jun 2004, at 17:35, Marcel Weiher wrote:

Are you sure you want an NSBezierPath to control a set of values? It seems more like you want to have a lookup of values with smooth interpolation, which could potentially be rendered using a NSBezierPath. However, since you actually need to smoothly interpolate values without the bezier path, it probably won't be necessary.

Cheers,

Marcel

On 15 Jun 2004, at 15:11, Vince Ackerman wrote:

Did you get an answer to this? I too need to find this method.

Vince

On Jun 14, 2004, at 16:05, dan donaldson wrote:

Hello Wise Ones

I am considering adding a control to allow users to use a Bezier Path to edit a set of values that change over time. The essentials are a timeline with values determined by keyframes which will be represented by Bezier nodes.

My question is, is there a simple way to derive the y value of a bezier line segment given an x coordinate. Assume that there is no circumstance where more than one y value might exist for a given x value. I don't see anything in the NSBezierPath documentation that indicates that this is supported.

For the purposes I will be putting this to, a close approximation - eg 2% error - would suffice.

Anyone?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Getting cartesian values from Bezier curve question (From: dan donaldson <email@hidden>)
 >Re: Getting cartesian values from Bezier curve question (From: Vince Ackerman <email@hidden>)
 >Re: Getting cartesian values from Bezier curve question (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: option-click hides apps
  • Next by Date: Re: option-click hides apps
  • Previous by thread: Re: Getting cartesian values from Bezier curve question
  • Next by thread: Re: Getting cartesian values from Bezier curve question
  • Index(es):
    • Date
    • Thread