Press ESC to close

computational method