splits SpaceVisualizer::update() function
makes use of push & popMatrices