Skip to content

Commit

Permalink
Added Animate Color Node
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Mar 17, 2017
1 parent 2c31906 commit 82d31d6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/user_guide/nodes/animation/animate_color.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Animate Color
=============

Description
-----------
This node mixs between two colors where the factor for mixing is the time mapped to an input interval---*Duration*.

.. image:: images/animate_color_node.png
:width: 160pt

Inputs
------

- **Time** - A time or the factor for mixing.
- **Start** - A value to start the animation with or the first input for mixing.
- **End** - A value to end the animation with or the second input for mixing.
- **Interpolation** - An Interpolation(Function) to evaluate the time at (Linear will just use the input time).
- **Duration** - The duration of the animation or the interval to map the time to.

Outputs
-------

- **Time** - The different between the input time and the duration (Isn't affected by the input interpolation).
- **Result** - The value of the animation evaluated at the input time or the result of mixing.

Advanced Node Settings
----------------------

- N/A

Examples of Usage
-----------------

.. image:: gifs/animate_color_node_example.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/user_guide/nodes/animation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ Animation
Animate Euler <animate_euler>
Animate Quaternion <animate_quaternion>
Animate Matrix <animate_matrix>
Animate Color <animate_color>

.. image:: images/animation_overview.png

0 comments on commit 82d31d6

Please sign in to comment.