GSoC/GCI Archive
Google Code-in 2010 KDE

Painting assistants: spline assistant (2/3)

completed by: goffrie

mentors: Cyrille Berger

 

Painting assistant

Krita has a framework to allow painting assistant, it is the virtual version of physical tools such as rulers, compass... It allows to restrict the drawing to follow a given shape. It differs from the line/ellipse tools in that those tools gives perfect and regular results, while the assistant allows the artist to have some control on the drawing. The following blog post contains a video that show it in work:

http://blog.cberger.net/2008/04/08/drawing-assistant-ruler/

Spline assistant

This assistant would allow to draw following a spline. The student is expected to provide an implementation of KisPaintingAssistant for that purpose. It should be done using four control points, two of them showing the extremety of the spline, and the two others the tangeant of each point.