A visual 3D temperature field system of electron beam welding (EBW) based on the finite difference method (FDM) was developed on the Windows NT platform by virtue of the rapid development soft of C + + Builder and the 3D animation interface of OpenGL.