Adapted from a 1993 novel by Irvine Welsh, who has a cameo in the movie as a drug dealer, Trainspotting was created by the same team that turned out the much less
interesting Shallow Grave: producer Andrew Macdonald, director Danny Boyle, writer John Hodge, lead actor Ewan McGregor, and the same cinematographer, production designer, and editor.