Moving to ndarray for canvas