Game Development Reference
In-Depth Information
Figure 7.6
The expression | x þ 4 | translates the graphs to the left.
Horizontal translation differs from vertical translation because the addition or
subtraction you perform is within the absolute value signs. You are changing the
value of x , as such, before you determine its absolute value. The effect of such an
addition is that you move along the x axis to the right if you subtract a value. You
move to the left if you add a value.
This equation shifts the graph to the left:
y ¼j x þ 4 j
This equation shifts the graph to the right:
y ¼j x 4 j
For Figure 7.6, you replace x with the expression x þ 4. This activity moves to
graph to the left.
Exercise Set 7.5
Graph the results of the following equations.
a. y ¼ 3 þjx j
b. y ¼2 þj3 j
c. y ¼ð3Þj 4 j
 
Search WWH ::




Custom Search