Z is a numpy array surf = pygame.surfarray.make_surface(Z) self.display.blit(surf, (0, 0)) pygame.display.update().
確定! 回上一頁