function sideways(t) {
  return math.matrix([
    [cos(t), 0, -sin(t)],
    [     0, 1,       0],
    [sin(t), 0,  cos(t)]
  ])
}
// A matrix used to represent sideways motion
A matrix used to represent sideways motion
A matrix used to represent sideways motion
function sideways(t) {
  return math.matrix([
    [cos(t), 0, -sin(t)],
    [     0, 1,       0],
    [sin(t), 0,  cos(t)]
  ])
}
function sideways ( t ) { return math . matrix ( [ [ cos ( t ) , 0 , - sin ( t ) ] , [ 0 , 1 , 0 ] , [ sin ( t ) , 0 , cos ( t ) ] ] ) }
A matrix used to represent sideways motion
A matrix used to represent sideways motion