Dr. Heinz Doofenshmirtz

Doctor Heinz Doofenshmirtz, also known as Dr. Doofenshmirtz or Doof is a fictional character from the anime series Phineas and Ferb and its spin-off Milo Murphy's Law. He also appears in two episodes of Saturday Night Live. He is played by Dan Povenmire. 

## Character
In Phineas and Ferb, Dr. Doofenshmirtz is an evil scientist who wants to use his machines to take over the Tri-State Area. He says he is “an evil scientist, not a mad scientist”. His nemesis Perry the Platypus stops his evil plans every day. Dr. Doofenshmirtz also has a lot of bad luck and says the reason he loses every time is because he has “poor planning skills”. Doofenshmirtz also gives almost every machine he builds a name ending with “inator”. Even though he calls himself evil and is the villain of the show, he has some good traits. For instance, he really does love his daughter Vanessa. He also has a cyborg younger son named Norm. In which he enhanced with military robotics and lots of guns. He acts like a henchman to him.

## Backstory
Dr. Doofenshmirtz likes to tell everyone his origin story to explain why he wants to try to be a supervillain. He says that neither of his parents showed up to the hospital the day he was born. They never gave him a birthday party. His parents abused and eventually disowned him. He was raised by The Mafia. When he was a child his only friend was a balloon that he lost. His father made him stand all day in the lawn dressed up as a gnome. His parents named their pet dog Only Son because Doofenshmirtz was scared to dive into a swimming pool. His mother didn’t let him go swimming in public pools. She liked his younger brother Roger Doofenshmirtz better than she liked him because Roger was the  one  who was good at kickball. Doof was also forced to wear dresses since his parents had thought Roger would be a girl.  He hates Roger not only out of jealousy but also because Roger accidentally destroyed a painting that Doof made. Since he was a child, Heinz Doofenshmirtz was in many science fairs but every time he lost to a baking soda volcano. When he became a writer of poetry, he still lost to a baking soda volcano.  He faced a lot of bullies over time. A woman he liked left him for someone with big finger. After moving to America and getting married and later getting a divorce he had a girlfriend who left him for a furry.

## Main Role in Phineas and Ferb 
In almost every episode, Dr. Doofenshmirtz builds a machine called an inator either to get revenge on someone from a backstory or to take over the Tri-State Area and is beaten by Perry the Platypus. Even though he loses to Perry every time, Dr. Doofenshmirtz accidentally destroys whatever Phineas and Ferb build. When their sister Candace tries to show it to their mother there is nothing there and Candace looks like she’s crazy.

## Redemption
In the Summer Belongs to You story arc where Dr. Doofenshmirtz works with Perry the Platypus to rescue his daughter Vanessa Doofenshmirtz. In the third season there was an episode called  Agent Doof where he tries to become a secret agent working for the good guys. He accidentally causes more problems than he did when he was evil so he decides to go back to being evil. In the Season Three episode, Where’s Perry, he builds a machine called the “Ultimate Evil-Inator” to turn Perry’s  Major Monogram evil. He accidentally hits Monogram’s assistant Carl making him turn evil. Doof ends up working with Monogram and Perry to stop Carl because Carl is a more dangerous villain than Doof was. He builds a machine called the Re-Good Inator and turns Carl good again. 

In the theatrical release Phineas and Ferb: Across the Second Dimension, he goes to a parallel universe where a more evil version of himself already won and Doof ends up stopping the other him from taking over the Tri-State Area from the main universe. In the Season 4, episode Mission Hero, he accidentally steals the powers of the superheroes from My Hero Academia and teams up with the Marvel supervillains but the villains betray him so he helps stop them. In the Season 4 episode Minor Monogram, his sidekick betrays him and tries to take over the world so Doof helps stop him. In the Season Four episode, “Primal Perry” he hires a hunter from Australia named Liam to trap Perry the Platypus. He ends up working with Perry to stop him after Liam tries to kill them both. In the episode Doof 101, it’s revealed that after summer ended he was given a choice between jail and community service and ended up as a high school science teacher. The episode Act Your Age, set in the future, reveals that he didn’t commit any crimes since then. In the episode Phineas and Ferb save Summer, he helps the good guys stop a mad scientist named Rodney from putting the world in a new ice age but says he’s still evil. In the horror episode Night of the Living Pharmacists, he accidentally starts a zombie pharmacist apocalypse and helps to stop it. In the series finale Last Day of Summer, he builds a machine called the Do-Over-Inator so that he can start the same day over any number of times and accidentally nearly destroys the universe so he tries to save it from himself and his daughter Vanessa convinces him to turn good. In the Vendpocalypse The Musical story arc, Norm announces to Doof that he identifies as a vending machine. Doofenshmirtz then builds a whole army of self replicating vending machines. His son norm sacrifices himself to save the Tri-State Area resulting in norm’s death. 

## Spin-Offs
Dr. Doofenshmirtz appears in both episodes of the spin-off anime the then-cancelled Netflix Spinnoff OWCA Files in which he’s partnered with Perry the Platypus and had to fight another evil scientist named Parenthesis. In the anime spin-off Milo Murphy’s Law, he invents time travel and changes his name to Professor Time. Doof also appears in the movie Phineas and Ferb: Candace Against the Universe where he helps fight the aliens and save Earth.

He also has two cameo appearances in Saturday Night Live. In the second one, he gives Donald Trump a “Tariff-Inator” and they work together to force U.S. citizens to pay more on taxes on foreign goods. He has also made an appearance on Shark Tank.