Difference between revisions of "ValueNode"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (ValueNodes moved to ValueNode over redirect)
m (there are 3 kinds of valuenodes)
Line 1: Line 1:
A ValueNode is a value that changes over time.
+
A ValueNode is a value that can change over time.
 +
 
 +
A ValueNode represents a description of a value and how it changes (or doesn't!) over time.
 +
 
 +
ValueNodes are the things we see as the value for every parameter of every layer.  The waypoints visible in the timetrack dialog are also part of the ValueNode - waypoints are how Animated ValueNodes work out what value to be at each point in time.
 +
 
 +
Each ValueNode (and hence each [[Parameter]] in Synfig has one of 13 [[Types]].
 +
 
 +
There are three kinds of ValueNodes in Synfig.  In the following examples the ValueNode's type is a [http://en.wikipedia.org/wiki/Real_number real number] in each case:
 +
 
 +
== Constant ValueNodes ==
 +
 
 +
These have a single value for all time, and no waypoints.  An example of such a ValueNode would be:
  
An example of a ValueNode would be:
 
 
  "3.4, for ever"
 
  "3.4, for ever"
  
A more complex example:
+
== Animated ValueNodes ==
"3.4 at the beginning of the animation,
+
 
 +
These have [[Waypoints]] that specify their value at particular points in time.  For times which don't have a value specified, the value is calculated by interpolating between the waypoints.  An example would be:
 +
 
 +
"3.4 at the beginning of the animation,
 
  move smoothly up to 7.6 at time = 10 seconds,
 
  move smoothly up to 7.6 at time = 10 seconds,
 
  then jump instantly to 2.0
 
  then jump instantly to 2.0
 
  and stay there until the end of time"
 
  and stay there until the end of time"
  
These are both descriptions of a value (in this case a [http://en.wikipedia.org/wiki/Real_number real number]) and how it changes (or doesn't!) over time.
+
== Converted ValueNodes ==
  
ValueNodes are the things we see as the value for every parameter of every layerThe waypoints visible in the timetrack dialog are also part of the ValueNode - waypoints are how ValueNodes work out what value to be at each point in time.
+
These are ValueNodes which have been [[Convert|Converted]] into sub-parameters, each of which is itself a ValueNodeRight-clicking on a parameter and selecting a type from the 'convert' sub-menu allows you to convert a ValueNode.  Converted ValueNodes don't have waypoints themselves, but their sub-parameters may do.  An example would be:
 
+
  "start at 3.4 and linearly increase by 1.2 per second"
Each ValueNode (and hence each [[Parameter]] in Synfig has one of 13 [[Types]].
+

Revision as of 19:12, 30 January 2008

A ValueNode is a value that can change over time.

A ValueNode represents a description of a value and how it changes (or doesn't!) over time.

ValueNodes are the things we see as the value for every parameter of every layer. The waypoints visible in the timetrack dialog are also part of the ValueNode - waypoints are how Animated ValueNodes work out what value to be at each point in time.

Each ValueNode (and hence each Parameter in Synfig has one of 13 Types.

There are three kinds of ValueNodes in Synfig. In the following examples the ValueNode's type is a real number in each case:

Constant ValueNodes

These have a single value for all time, and no waypoints. An example of such a ValueNode would be:

"3.4, for ever"

Animated ValueNodes

These have Waypoints that specify their value at particular points in time. For times which don't have a value specified, the value is calculated by interpolating between the waypoints. An example would be:

"3.4 at the beginning of the animation,
move smoothly up to 7.6 at time = 10 seconds,
then jump instantly to 2.0
and stay there until the end of time"

Converted ValueNodes

These are ValueNodes which have been Converted into sub-parameters, each of which is itself a ValueNode. Right-clicking on a parameter and selecting a type from the 'convert' sub-menu allows you to convert a ValueNode. Converted ValueNodes don't have waypoints themselves, but their sub-parameters may do. An example would be:

 "start at 3.4 and linearly increase by 1.2 per second"