Primer is a 2004 American science fiction drama film about the accidental discovery of a means of time travel; written, directed, and produced by Shane Carruth.