Transformations.transition

You're seeing just the function transition, go back to Transformations module for more information.
Link to this function

transition(mtx, xt, yt, zt)

View Source

Transition (shift) a shape by xt, yt and zt along the x, y and z axes.

Examples

    iex(1)> shape = Transformations.matrix([
                      [0,1,1,0,0,1,1,0],
                      [0,0,0,0,1,1,1,1],
                      [0,0,1,1,0,0,1,1],
                      [1,1,1,1,1,1,1,1]
                    ])
            shape |> Transformations.transition(1,2,3)
    #Matrex[4×8]
                                                                  
      1.0     2.0     2.0     1.0     1.0     2.0     2.0     1.0 
      2.0     2.0     2.0     2.0     3.0     3.0     3.0     3.0 
      3.0     3.0     4.0     4.0     3.0     3.0     4.0     4.0 
      1.0     1.0     1.0     1.0     1.0     1.0     1.0     1.0