Synfig Manual 1
Synfig Manual 1
Synfig Studio main interface components are: The center window is the Canvas Window. A
new Canvas Window appears each time Synfig
• Toolbox — is the main Synfig Studio Studio starts. The window represents the Root
window. It contains system menu and Canvas, not that it means much to you at the
buttons, tools and more to create and edit moment, but that's OK — we're just trying to
your artwork. Closing it exits the show you around. In the upper left corner of
application. the Canvas Window, you'll see a button with a
• Canvas — displays your artwork and
caret. If you click on this caret button, the
animation.
canvas window menu will pop up. If you right-
• Panels — contain tools and information click in the canvas area and there is no Layer
about certain elements of your project. under the mouse position, this menu will also
Some panels will allow you to modify appear. So now you know where the most
those elements. important canvas menu is. Good.
Note The other two windows (one on the bottom,
To reset Synfig to its default window and one to the right) are customizable dock
arrangement. In the "File" menu from the dialogs. Each dock dialog contains a set of
Toolbox select "Panels/Reset Windows panels, arranged horizontally or vertically.
to Original Layout” Some panels share the same space inside the
dock dialog and you can switch between them
by clicking on their tabs. You can rearrange the
contents of dock dialogs as you wish by
dragging the panel tab to where you want it. You
can even create a new dock dialog by dragging a
tab out of its dock dialog.
If you accidentally close a panel (by dragging it
out of the dock dialog, and closing the new dock
dialog that gets created), no worries. Simply go to
the Toolbox, select "File/Panels" in menu
right there and then click on the name of the
panel you need.
The most important panels are:
• Layers Panel — shows you the hierarchy
of the layer of your working canvas. It
also allows you to manipulate these layers.
• Parameters Panel — shows you the
parameters of the layer currently selected.
When multiple layers are selected, only
the parameters that the selected layers
have in common are displayed.
• Tool Options Panel — shows you any
options specific to the currently selected
tool.
• Navigator — shows a thumbnail image of
what the currently selected canvas looks
like. You can also zoom in and move the
focus around with this panel.
• History Panel — shows you the history
stack for the current composition. You can
also edit the actions in history.
There are also many other panels in Synfig
Studio. If you have no idea what a panel does,
simply hold your mouse over its icon and a
tooltip will pop up describing its function.
Under the hood When you click on the Circle Tool, you should
notice that the Tool Options Panel changed.
Synfig Studio, like most every other competent But we'll get to that later.
graphics program, breaks down individual
elements of a canvas into layers. However, it With the Circle Tool selected, you can now
differs from other programs in two major ways: create circles in the Canvas Window. This
works as you might expect — click on the
1. An individual layer in Synfig usually canvas, drag to change length of the radius,
represents a single "Primitive". I.e. a and release the mouse button when you are
single region, an outline of a region, an done. Go ahead and create two circles (or
imported image, etc... This allows you to more, if you fancy). If you accidentally release
have a great deal of flexibility and control. the mouse button before dragging, you end up
It is not uncommon for a composition to creating a circle with 0 radius and it is
have hundreds of layers (organized into a effectively invisible! No need to worry, you
hierarchy for the artist's sanity of course). can easily fix this. In the Parameters Panel,
2. A layer can not only add information on you can change the parameters of the selected
top of the image below it, it can also object. If you just made a 0 radius circle, it
distort and/or modify it in some other way. should be the current selected object. You can
In this sense, Synfig's Layers act much change its radius to some value other than 0,
like filters do in Adobe Photoshop or say 10, and manipulate it to your liking with
GIMP. For example, we have a Blur the handles later.
Layer, Radial Blur Layer, Spherize Layer,
Color Correct Layer, Bevel Layer, etc... Note
Each layer has a set of parameters which Some users might experience the following
determine how it behaves. When you click on a problem: when you click and drag on the
layer (either in the Canvas Window, or in the canvas using the Circle Tool, either nothing
illustrated Layers Panel), you will see its seems to happen or you end up making
parameters in the Parameters Panel. insanely huge circles. To fix this go to
"File/Input Devices" and disable all the
devices you can find there.
First steps
Let's create something to work with. If you have an extended input device that you
First, go over to the toolbox and click on the want to use, such as a pressure-sensitive pen,
Circle Tool (if you don't know which one it is, then enable it in this screen. After this change
just mouse over them until you find the one with Synfig will work as expected.
the tooltip that says "Circle Tool").
Now go back to the toolbox and click on the
Transform Tool (the button with the arrow on
it). After you do this, click on one of your
circles. You will see a "bounding box" (which
is kind of useless at this point in time, but we
digress), a green dot at the center, and a cyan
dot on the radius. Those dots are called
"handles". If you want to modify the circle,
grab a handle and drag it around. Easy!
You can select a Layer by clicking on it. If you
want to select more than one layer, hold down
Ctrl key while you are clicking — this works
Illustration 2: The circle tool in both the Canvas Window and the Layers
Panel. Try it!
You can also select multiple handles. You can
do this in several ways. First, you can hold
down Ctrl and individually click the handles that just one of the circles and changing its radius
you want selected, but this can be tedious. — the other one will change as well. Neat
stuff, eh? This is how outlines are attached to
However, there is a much faster method — just their regions — but we're getting ahead of to
create a selection box by clicking the mouse and the chapter.
dragging it over the handles that you want.
Go ahead, select two circles and select all of their Linking is a fundamental concept in Synfig.
handles. With several handles selected, moving You can create links not only for handles, but
one handle will move all of them. also between parameters as well by selecting
Note multiple layers, right clicking on the parameter
in the Parameters panel, and selecting
Synfig Studio has an autorecovery feature. If it
"Link".
crashes, even if the current file has not been
saved, you will not lose more than 5 minutes of
work. At restart it will automatically prompt to Color selection
recover the unsaved changes. Unfortunately
Let's say you want one of the circles to be a
history isn't recovered yet.
different color. If you look in the toolbox
below the tools, you'll see the outline/fill color
The rotate and scale tools work much like the selector, the outline width selector, and some
Transform Tool, except in the case where you other stuff like the default blend method and
have multiple handles selected. It is much easier gradient. The outline/fill color widget works
just to try, than read about it. Select a few circles, exactly as you might expect — you can click
select all of their handles, and try using the rotate on the fill color, and a modest color chooser
and scale tools. will appear. Now you can change the color
pretty easily.
Note that tools manipulating with handles have
options associated with them. If a particular tool But sometimes you just want to click on a
isn't doing what you want, take a look at the Tool color and go. This is where the palette editor
Options Panel to see available options. tab comes in.
Click on the Palette Editor panel tab and have
a look — it's the one with the palette-ish
looking icon. Clicking on colors with the left
mouse button will immediately change the
default outline color and clicking with the
middle mouse button will change fill color.
Illustration 3: Rotate Tool Options Panel That's all great, but we still haven't changed
the color of the circle. There are three ways to
do this. The first is to click on the "Fill
Tool" from the toolbox, and then click on the
Linking
circle in the Canvas Window. Boom. Circle
Now let's try linking. Suppose we always want changes color. This works with more than just
these two circles to be the same size. Select two circles. Also, you can select the circle layer
circles, and then select both of their radius you want to modify, go to the Parameters
handles (the cyan dots). panel, right-click on the Color parameter and
To select multiple handles, either drag a rectangle select "Apply Fill Color" or "Apply
around them, or select the first one, then hold the Outline Color" at you preference. Or
Ctrl key while selecting the rest. Once you have simply double-click on the "Color"
the two radius handles selected, right click on parameter - a color selector dialog will show
either of them and a menu will pop up. Select up, and you can just tweak away.
"Link". Boom. The parameters are linked
together. You can prove it to yourself by selecting
Try playing around with the circles for a bit.
Muck around with the parameters, and see what
happens. To start, try out to set the Feather
Parameter to 5.
Digging deeper
Of course, so far you just found out how to use
the basic features of Synfig Studio but not how
you animate a drawing. This is covered in the
next section.
Animation Basics
Introduction
Creating an animation in Synfig Studio is really
easy. It basically means to change a drawing —
you just need to create the first stage and last
stage of a change, and Synfig takes care of the
steps in between.
Illustration 5: Square on the canvas
Let's look at a simple example. Consider a
moving light like the one at the front of the
Now we need a circle. Change the fill color to
Knight Rider car. Drop the realism, you get a
red, select the Circle Tool and create a circle. It
circle moving from left to right and back. In other
doesn't matter if it's not perfect: You can edit
words, you need to create three 'steps' or 'stages':
it. Select the Transform Tool and click the
1. The circle is on the left. circle. It will go into an editing mode which is
2. The circle is on the right. easy to detect by the small green dot in the
3. The circle is back on the left. middle and the whiterectangle around it. You
can move the circle by grabbing it on its green
dot (the Origin) in the middle.
Setting up the workspace
Let's do it. Start Synfig Studio. A new file is
created at the start automatically . Click the caret
menu (between the horizontal and vertical rules,
in the top left hand corner of the canvas), then
select "Canvas/Properties" or select
"Canvas/Properties" from the menu. The
Canvas Properties Dialog will appear.
Adding movement
In the beginning, you entered a value of 2
Illustration 4: Canvas Properties Dialog seconds in the Properties dialog. Because the
length of your animation is non-zero, your
Give a name and description for your canvas, canvas window (the one where you draw) has
then click "Apply" (don't click "OK" yet — a grey time slider at the bottom, the Timebar.
we're not quite done with the Properties dialog). You can click on it, and a small orange
Go to the "Time" tab and make sure to edit indicator will appear indicating your position
"End Time". Change "5s" to "2s" — that will in time. Try clicking in several places on the
make our animation 2 seconds long. time slider and notice that the entry field on
the left of the time slider is changing its values
Now click "OK", select the Rectangle Tool and to something like "12f", "1s 15f", etc. You can
create a simple black rectangle that will serve as set your position on the time slider by
our background. changing values in that field. For example, if
you enter "1s" and press ↵ Enter, the orange to edit keyframes. Now press the small button
indicator will move in the middle of the time with the "plus" sign and you should get a new
slider, and entering "2s" will move it to the end of entry in the list displaying "0f, 0f,
the time slider. (JMP)".
Note
Now, go to the "1s" mark in the time slider.
At 2s the orange indicator won't be visible. That's The small orange indicator should move there.
because "2s" is at the far right boundary of the
time slider, putting the indicator out of view.
You may notice that nothing changes on the
canvas at this point. Return to "0s" and switch to
Animate Editing Mode by clicking the green man
button to the right of the gray time slider. The Then add another keyframe by clicking the
canvas will display a red outline; it reminds you small plus sign. Repeat the process with the
that changes to your objects now affect your time slider indicator set to "2s" (it's at the end
animation at the time shown in the time slider. of your animation). You should now have three
keyframes in the list.
BasicKnightRider.sifz ==>
BasicKnightRider.gif: DONE
Conclusion
Of course, the position of an object is not the
only thing you can change with Synfig Studio.
Other possibilities include its size, its outline, its
color, etc. Synfig comes with several example
files that should let you dig deeper into the
possibilities.
Now, let's continue with the next manual chapter:
Adding Layers
Adding Layers Pick the Gradient Tool from the Toolbox, press
the left mouse button on the canvas, drag to
change the gradient direction and release the
Introduction button when you are done. You should note
that another layer was added in the Layers
In the previous tutorial, you made your first
Panel called Gradient. This is nothing special.
simple animation by changing the attributes of
primitive objects, such as: position, color, and
size. These simple types, however, are seldom
sufficient to create advanced characters and
objects. To do so, Synfig uses layers. They are
similar to layers used in other drawing
applications in that they are used to separate
different elements of an image.
However, Synfig's layers have following
important specific:
1. Every object or element gets its own layer.
2. You can organize layers into hierarchical
Note
groups.
3. You can use upper layers to change the If you see no gradient but just a plain color,
behavior (or look) of underlying layers. that means that you probably just clicked on
Those are called filter layers or effect the canvas without dragging your mouse. To
layers. fix that pick the Transform Tool, click into the
canvas to activate the gradient's handles. You
As you will see, layers are an extremely need to grab the one you see and move it a bit
important aspect of Synfig, much more so than until a gradient appears.
most graphics programs. Understanding the You now have a gradient, but it is not what
concept of layers is an important part in you wanted: it spreads across the whole
understanding how Synfig works. canvas. The goal was to have a gradient in the
rectangle. So, let's fix this now.
Combining layers In the Layers Panel, select both the gradient
So let's look at a simple example of how we can and the rectangle layer. Then, right-click and
combine two layers to create a gradient effect on select "Group Layer" from the menu. The
a rectangle. view of your Layers Panel should change now,
showing a small box called Group with a "+"
Create a new file with 0 duration. There's no need in front. By clicking on the "+" you can
to bother with a timeline at this point. Next,
expand the group layer to see its contents, your
create a simple rectangle with the Rectangle Tool.
previous two layers: the gradient and the
rectangle.
If only for the additional organization,
grouping layers dramatically improves the
ease of use of Synfig Studio. But lots of
programs can do this. The concept of scope as
just demonstrated sets Synfig apart from other
programs with layer hierarchies. The key point
You can treat this layer like any other layer — is that a layer, inside it's own group, will only
move it around, duplicate it, copy and paste it. If modify the data contained by all the layers and
you want to change the name of it to something groups below it. In other words, if you were to
more descriptive, just select the layer in the layer throw a Blur Layer on top of the layers inside
tab and click on its label. Then you just edit it in the group layer we created, it would just blur
place. You can do this for ANY layer, and are them — anything under the group layer would
strongly encouraged to do so. not be blurred! Let's try it.
Digging further...
Expand the group layer to show its contents, and If you care to look into Synfig's main menu
select the top layer inside of it (should be the under "Layer/New Layer" you will note
gradient layer). This is where we want to insert quite a lot of different possibilities for making
the new layer. Create another circle filled with a layers. Several of them sound rather unusual,
black color. The black circle layer will be created like "Transform/Rotate" for example.
over the gradient layer inside the group layer. You can use this to add new attributes to your
objects. And just like other, basic attributes in
the previous animation tutorial, you can
change them to be different on certain
keyframes.
Synfig will take care of interpolating the steps
in between. For example, you could create a
shape and add a Rotate Layer over it. Combine
this with the lesson learned in the last tutorial
and you will obtain a rotating effect. This
technique is used for the creation of Cut-out
Now, right click on the black circle layer in the Animation.
layers panel and a popup menu will appear. The
first item in that popup is "New Layer". Inside
of the "New Layer" menu, you'll see several
categories of layers you could create, but what we
want is a blur, so go to the blurs category and
select the "Blur" layer (so that would be "New
Layer/Blurs/Blur").
Point your stylus at the last handle of your new Second, you can use Smooth Move Tool to
Spline and continue drawing to the right border of deform an existing shape. Go for it and click
the canvas. When you finish, look at the Layers the Smooth Move Tool button in the toolbox.
Panel again. There's still only one outline layer. The trick about this tool is that it affects
Synfig Studio is smart enough to figure out that selected handles only. Press and hold your left
you don't need a new outline layer and properly mouse button in an empty place of the canvas.
extends the last one. You can extend the Spline Drag to create a selection box. Release the
from both ends, but if you start drawing from any mouse button when you are done. Or just hit
other place of the canvas a new outline layer will Ctrl-A to select all handles. Now you can
be created. Though your first line will remain deform the selected segments of Spline. You
selected and nothing stops you from extending it can change the size of the influence area by
later. tweaking "Radius" in the Tool Options
Panel.
Back to our artwork. In the Tool Panel hit the What about outline width? There is a Width
button with the bucket icon to fill the outline we Tool for that purpose. It is designed for
just created. A region layer will appear at the top increasing or decreasing the width of a line
of the layer we are working with. Select the much like you would with a pencil on paper.
outline layer and press the "Raise Layer" Click the Width Tool button in the toolbox,
button in the layers panel to put the outline layer move your stylus over the line you want to
on top of the region. change, press and move the cursor back and
Extend a line from both sides down to the corners forth along the line, like you are scratching
of the canvas to make the fill appear at the something. The width of the outline will be
bottom. Great. increased at the places where you moved the
cursor. If you want to decrease the width, just
hold "Ctrl" while scratching. Easy!
If you don't want width handles to be displayed,
during usage of the Width Tool, just turn them off
by pressing the "Toggle width handles"
button at the top of the canvas window.
Tip
You can also change waypoint Out
interpolation by right-clicking on it and
selecting "Out/Constant".
This means that after that waypoint, the Amount
value will remain constant, until another
waypoint is encountered. So from 0f to 4s the
Amount value will be equal to 0, and at 4s it will
suddenly changed to 1, and make the petals
visible, as expected. Alternatively, we could have
achieved the same effect by setting the In
Interpolation of the waypoint at 4s to
"Constant".
Notice how (half of) the waypoint changes from a
green circle (meaning smooth animation of the
amount parameter) to a red step (meaning that the
amount parameter is suddenly stepped).
Now you're done. The stem grows for 4.5 seconds
and then stays still the last 1.5 seconds. The petals
are hidden until 4 seconds, and then grow quickly
between 4 and 5 seconds, and stay still the last 1
second too.
Click on "File/Render" to render your
animation. Select any format you want, and
ensure that "Use current frame" option is
unchecked (otherwise, one frame only will be
rendered). In the next and last part we will be
covering basic usage of the bone system in
Synfig.
Basic bone Tutorial In picture 4 and picture 5 we can see how the
horizontal crosshair line matches the straight
line of the bottom of the upper arm and at the
Introduction same time the outline of the
circle of the crosshair
In this tutorial we are going
matches the top curved
to rig an arm with fixed joints
outline of the lower arm.
using the Skeleton Layer and
three bones. The arm consists The same principle is
of three parts: the applied to the hand and the
upperArm, the lowerArm bottom part of the lower
and the hand. (pic.1) Each arm. The crosshairs also
part is grouped in its own mark the centre of the
layer and the three groups are rotation point that will later
again grouped in a layer that be used when placing the
is called arm (pic.2). bones. Before placing the
bones we can align the
Group Transformation
Widget (press control and
move the left corner handle
of the Group Transformation
Widget to move it.) of the
lowerArm group and the
hand group with the crosshairs of the elbow
and the wrist to check if the joints rotate
correctly.
Don’t forget to bring the arm into its original
position by pressing undo. (Don’t worry if the
hand does not rotate with the elbow when you
check the elbow joint by using the Group
Transformation Widget.)
Prepare The Joints
Before we start rigging the
arm we have to prepare it to
make sure that the joints
properly rotate. In picture 1
we can see that the lower
side of the upper arm is
straight and does not have
an outline, while the upper
part of the lower arm has an
outline that is curved. The
bottom part of the lower arm
does not have an outline and
is also straight. The joint of
the hand is also curved with
an outline. To make sure that
the joint parts of the arm rotate correctly, we
made them with the help of a couple of crosshairs
(picture 3).
Adding The Bones Attaching The Bones
Now it’s time to add a Skeleton Layer that will Now that the Skeleton
provide the bones we need to rig the arm. Layer is in place we
have to attach the bones
Right-click on any layer in the
to the parts of the arm.
Layers Panel and choose "New
Layer/Other/Skeleton" In the Layers Panel click
on the upperArm
. A new Skeleton Layer (pic. 7)
group, right-click and
will appear in the Layers Panel
"Select All Child
alongside with a small bone in
Layers". Then press
the canvas (pic.6). Put the
CtrlA in the canvas
Skeleton Layer above the arm
window. With
group if it is not already there.
everything in the
The green handle of the bone is
upperArm group
the origin of the bone and is
highlighted, Ctrl-click
used to move the bone in place
on any bone in the
and is also its centre of
canvas window and right-click on any of the
rotation. The blue handle is
handles of the parent bone and click "Link to
used to rotate the bone. The orange handle
Bone". The upperArm group is now linked to
determines the lenght of the bone is used to
the parent bone. Go the Layers Panel again
stretch the bone and its contents. The first bone is
and select the lowerArm group. Right-click
the parent bone and should be moved toward the
and "Select All Child Layers". Press CtrlA in
shoulder and stretched so that it almost reaches
the canvas window and Ctrl-click on one of
the outlines of the first crosshair of the elbow.
the bones. Then right-click on any of the
Right-click on any of the handles of the parent
handles of the first child bone and select
bone and select "Create Child Bone".
"Link to bone". The lowerArm group is
Move the green origin point of the child bone so
now linked to the second child bone. In the
that it matches the crosshair of the elbow and
Layers Panel select all the child layers of
stretch it until it almost reaches the crosshair of
the hand group and press Ctrl-A in the
the wrist. Right click on any of the handles of the
canvas window. Ctrl-click on any bone and
child bone and create another child bone. Move
then right-click on any of the handles of
the green origin point of the second child bone so
the second child bone and select "Link
that it matches the crosshair of the wrist (pic.8).
Stretch the bone until it reaches the end of the to bone" (pic.8) The hand is now linked
fingers. to the second child bone and the entire
skeleton is now linked to the arm.
Tip
Making a crosshair in Synfig is easy. Draw a
circle. Draw the outlines of a square and align
them with the circle. Draw an X using the corners
of the square as a reference. Delete the square.
Group the circle and the X. Rotate 45 degrees
using the Group Transformation Widget.