Homer takes Bart and Lisa to the "Sick, Twisted, and Totally F***ed Up Animation Festival" where they sample some of the most cutting edge cartoons from around the world. During a workshop, Homer becomes fascinated by an electronic device that renders cartoons from human movements called the Animotion machine. Later, he invests the family's life savings in the company and loses all their money. To make back some cash, Homer becomes a human guinea pig. During one experiment, the scientists find a crayon lodged in his brain-the cause of Homer's slow wit. After the crayon is removed, Homer becomes smarter. Soon, he discovers that being intelligent doesn't make people like you any more. He decides to return the crayon to his brain and become his old self again. Lisa is disappointed to lose the new, smarter Homer, however she knows that he's wise enough to continue loving her.