Continuous-curvature rational curves for drawing applications
AssigneeAdobe Inc.
InventorsStephen Schiller, Zhipei Yan
Life of this patent
Estimating the term…
Abstract
Techniques of generating curves in drawing applications involve generating rational interpolating curves in response input points being specified on a display such that the rational interpolating curves have an adjustable sharpness at each of the input points. Along these lines, a user specifies control points of a curve in a drawing application by, e.g., moving these control points on a display. In response, a computer running the drawing application generates a rational interpolating curve that intersects the input points such that the curvature of each curve at its input point is a local maximum and such that the user's sharpness values change the roundness of the curve around corresponding control points.
Claims20
A method, comprising:
- receiving, by processing circuitry configured to display drawings on a display device, point data input by a user on the display device, the point data representing a set of input points through which a rational interpolating curve is configured to intersect;
- producing, by the processing circuitry, sharpness data based on the point data, the sharpness data representing a shape of the rational interpolating curve;
- generating, by the processing circuitry, rational interpolating curve data representing the rational interpolating curve based on the point data and the sharpness data, the rational interpolating curve data including a set of weights, each of the set of weights corresponding to a respective input point and modulating an effect of a change of shape of the rational interpolating curve;
- and
- displaying as a drawing on the display device, by the processing circuitry, the rational interpolating curve based on the rational interpolating curve data, the rational interpolating curve having a local maximum of a curvature at each of the set of input points.
A computer program product comprising a nontransitory storage medium, the computer program product including code that, when executed by processing circuitry of a computer configured to display drawings on a display device, causes the processing circuitry to perform a method, the method comprising:
- receiving point data input from a user on the display device, the point data representing a set of input points through which a rational interpolating curve is configured to intersect;
- obtaining sharpness data from the user, the sharpness data representing a shape of the rational interpolating curve;
- generating rational interpolating curve data representing the rational interpolating curve based on the point data and the sharpness data, the rational interpolating curve data including a set of weights, each of the set of weights corresponding to a respective input point and modulating an effect of a change of shape of the rational interpolating curve;
- and
- displaying, as a drawing, the rational interpolating curve based on the rational interpolating curve data, the rational interpolating curve having a local maximum of a curvature at each of the set of input points.
An electronic apparatus configured to display drawings on a display device, the electronic apparatus comprising:
- a network interface;
- a memory;
- and
- controlling circuitry coupled to the memory, the controlling circuitry being configured to:
- receive point data input by a user on the display device, the point data representing a set of input points through which a rational interpolating curve is configured to intersect;
- obtain sharpness data representing a shape of the rational interpolating curve;
- generate rational interpolating curve data representing the rational interpolating curve based on the point data and the sharpness data, the rational interpolating curve data including a set of weights, each of the set of weights corresponding to a respective input point and modulating an effect of a change of shape of the rational interpolating curve;
- and
- display, as a drawing, the rational interpolating curve based on the rational interpolating curve data, the rational interpolating curve having a local maximum of a curvature at each of the set of input points.
Dependencies are inferred from the claim text.