Add triangle timer logic.