摘要 |
A method and system are provided for rendering a brush stroke with multiple nibs which are added to a centre point indicated by a cursor, and the position and movement of each nib are controlled based on variables which can be set by a user. The variables include a number of nibs to be rendered in the brush stroke, initial position values determining an initial position of each nib relative to a centre point, and movement variables representative of movement of each nib relative to the centre point. A current position of the centre point is determined relative to the document. A new position for each nib is calculated, relative to the current position of the centre point, based on the initial position values and the movement variables. A dab is rendered at the new position of each nib. By repeating the steps of determining a current position, calculating a new position and rendering a dab while the centre point is being moved, a brush stroke of unique painting effect is rendered.
|