The segment in the film version is a full-length animated sequence of vivid colour and disturbing visuals; the animation was originally designed for the album's concert performances, before being reworked for the film adaptation. Political cartoonist Gerald Scarfe directed the design for the segment. The film segment relies not only on visuals, but also on the themes, music, and lyrics of the original song. Pink, himself, is portrayed as an almost inanimate rag doll throughout the sequence. Pink's schoolmaster, wife and mother and the prosecutor and judge are depicted as large and grotesque caricatures and are known individually by their role: