generate frame border for illumination