private void setTransform(int y) { int deltaY = firstY - y; float s = (float)Math.Pow(2, deltaY * 0.02); gv.ViewMatrix = oldM * Matrix.Scaling(s, s, s); }