If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# 4. Functions

Snowman rigging involves scale, rotate, and translate deformers using functions. Functions perform operations on inputs like coordinates and transformation magnitudes. Different equations define scaling, rotation, and translation. Deformers transform vertices in shapes, and functions run multiple times for each vertex. Click here to review functions. Click here to review geometric transformations.

## Want to join the conversation?

• i really dont understand how to build a snowman. i need help.
• So the second input (value) is similar to having `+= value`?
• I need help in this rotate functions

var translateXFunction = function(coordinate, value) {
coordinate.x = coordinate.x + value;
};

var translateYFunction = function(coordinate, value) {
coordinate.y = coordinate.y - value;
};

var scaleFunction = function(coordinate, value) {
coordinate.x = coordinate.x * value;
coordinate.y = coordinate.y * value;
};

var rotateFunction = function(coordinate, value) {
var x = coordinate.x;
var y = coordinate.y;

};
• Does KA make units like a cartoon season?
• is there a program to make a 3D cheracter in khan?
• How to do you automatically know where each pixel/position is?
(1 vote)
• You don't, you go through some trial and error, they probably memorized the positions