The following online sites might be of some assistance in producing simulations of logic gates:
Examples