Entanglement witnesses are non-positive Hermitian operators which can detect whether a quantum state is entangled. Positive maps based on one and two given quantum states are constructed, and entanglement witnesses are generated by composing the positive maps with affine maps. An entanglement witness example is given at the end.