Experimenting with Vector Graphics

I’m still experimenting with Pencil2D and I’m learning how to harness, what to others might seem like bugs to improve my vector work flow.

If you draw two shapes as shown below, in bitmapped mode users will see five shapes which they will attempt to fill with colour. This doesn’t include the surrounding area.


In vector graphics there are only two shapes, which can be filled with colour. These two shapes are drawn on separate sub layers and thus there are no intersections.


Incidently the gap between the outline and the fill is caused because Pencil2D uses 1st generation vector graphics methods.

The bottom layer was drawn first and then the second shape was drawn on top.

The fact that both outlines appear on top is a minor bug within the implementation.


The outlines can be hidden by creating a hidden colour. I usually start off with a pink colour and then set it’s Alpha Value to 0.

You can see an example of my Pencil2D vector animation in Your Stuff, Hand drawn animation using the Vector tools.

To fill the surrounding area you need to draw a shape to fill. You cannot simply fill by clicking on the surrounding area to fill it as you can in Pencil2D bitmapped mode.


You’ll notice that the shape of the surrounding area is not a rectangle, I want it to become one. To do this is move the mid point over the right corner, the mid point on the virtual over the bottom corner and the same with the mid point on the bottom line.


This oroduces a rectangle which can now be filled.


The rectangle is over the top of the two other shapes because it was drawn last. If I had drawn the rectangle first the other shapes would be on top of the rectangle.

To get the desired result, I make a duplicate using the duplicate button next to the delete frame button.


I then delete the blue rectangle on the original frame, move the blue rectangle away to the right on the duplicate and then delete the two other shapes.

Then I copy the badge shape and yellow rectangle over the blue rectangle.


I’m gradually solving the problems that are faced drawing hand drawn animation using vectors.

I can draw shapes within a drawing with variable line width, that are on the same sub layer as the colour. This includes zero width strokes.

I can edit these shapes including the strikes, if they’re not what I envisaged.

I can draw perspective backgrounds which can be edited to change the perspective.

I can move elements of a drawing up and down the sub layer stack.

I can add or remove points within a vector curve.

I can manage the joining of the end points to form a contiguous curve.

I have a method for adding circles and squares without drawing them from scratch.

I included text on screen, each character is a series of vector lines and fills.

It’s been a voyage of discovery, which has given me new insights to the manipulation of vector images. I don’t mind being in group of one, or a few.

This is an example of my vector animation, both for the character and the background.

1 Like

CAUTION the attached file is NOT a pclx but a pdf file. To read it upload it and change the extension to pdf! You can’t upload pdf files to this forum.

SVG_VEC.pclx (457.4 KB)