Claims
- 1. A method for drawing a curve using a system having position indication means, visual display means, and calculating means; the method comprising the steps of:
- a.) manipulating the position indication means in a manner so as to describe a curve;
- b.) sampling the position indication means, as the position indication means is manipulated, to collect a first sampled point (n) and a second sampled point (n+1), where n+1 represents a number of sample points and n represents a number of curve segments resulting from the number of sample points n+1;
- c.) representing x and y coordinates of the curve using parametric equations of forms x=a.sub.x t.sup.2 +b.sub.x t+c.sub.x and y=a.sub.y t.sup.2 +b.sub.y t+c.sub.y, wherein a.sub.x, b.sub.x, c.sub.x, a.sub.y, b.sub.y and c.sub.y represent unknown variables to be solved in step (g) and t is a variable;
- d.) substituting values for the first sampled point into equations of step (c.) to provide first and second solution equations for the unknown variables as a function of t, and substituting values for the second sampled point into the equations of step (c.) to provide third and fourth solution equations for the unknown variables as a function of t;
- e.) formulating a fifth solution equation by evaluating a slope ml of the curve at the first sampled point, wherein m.sub.1 is substantially equal to a derivative of the second solution equation divided by the derivative of the first solution equation; and
- f.) formulating a sixth solution equation by selecting a value for m.sub.2 so as to provide a substantially smooth curve between the first and second sampled points; wherein m.sub.2 is empirically specified as the slope of the curve to be drawn in step (h.) from the first sampled point n to the second sampled point n+1, such that m.sub.2 is substantially equal to m.sub.1 at the first sampled point n;
- g.) solving for the unknown variables a.sub.x, .sub.b x, c.sub.x, a.sub.y, and c.sub.y, in the first, second, third, fourth, fifth and sixth solution equations to calculate the curve to be drawn;
- h.) drawing the curve calculated in step (q.) on the visual display means as the position means is being manipulated.
- 2. A method for drawing a curve as set forth in claim 1 wherein m.sub.2 is determined a (a) postulating a first point p.sub.t at a distance D beyond the first sampled point and at a slope m.sub.1 from the first sampled point, (b) postulating a test line l.sub.t joining Pt with the second sampled point, and (c) specifying that m.sub.2 at the second sampled point is equal to the slope of l.sub.t.
- 3. A method for drawing a curve as set forth in claim 2 wherein D is approximately equal to one-eighth to one-third of the distance between the first and second sampled points.
- 4. A method for drawing a curve as set forth in claim 2 wherein D is approximately equal to one-quarter of the distance between the first and second sampled points.
- 5. A method for drawing a curve as set forth in claim 1, wherein
- c.sub.x =a value of x at P(1)=x.sub.p(1) ;
- c.sub.y =a value of y at P(1)=y.sub.p(1) ;
- b.sub.x =K*d.sub.x /d.sub.t , evaluated at t=1 for d.sub.x /d.sub.1 of a previous curve;
- b.sub.y =K*d.sub.y /d.sub.t , evaluated at t=1 for d.sub.y /d.sub.1 of the previous curve;
- b.sub.y =K*(y.sub.P(2) =y.sub.P(1));
- a.sub.x =((x.sub.P(2) =x.sub.P(1))=b.sub.x ;
- a.sub.y =((y.sub.P(2) =y.sub.P(1))=b.sub.y ;
- a.sub.y =((y.sub.P(2) =y.sub.P(1))=b.sub.y ;
- where K is a constant defined as:
- 2*((x.sub.P(2)=x.sub.P(1) =(y.sub.P(2) =y.sub.P(1))*s.sub.1)/dy*(m.sub.1 -m.sub.2);
- and d.sub.y =b.sub.y +2*a.sub.y from the previous curve.
Parent Case Info
This is a continuation of application Ser. No. 08/390,184 filed Feb. 17, 1995, now abandoned.
US Referenced Citations (6)
Non-Patent Literature Citations (2)
Entry |
Peter Karow, "Digital Typefaces", 1994, pp. 255-261. |
Thomas Jr., George B. and Ross L. Finney, Elements of Calculus and Analytic Geometry, Addison-Wesley Pub. Co, 1981, pp. 88-93. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
390184 |
Feb 1995 |
|