The West Wing creator Aaron Sorkin has called the president-elect a "thoroughly incompetent pig" in a moving letter penned to his teenage daughter in the wake of Donald Trump's election victory.

The 55-year-old Oscar-winning screenwriter of The Social Network wrote the letter to his 15-year-old daughter, Roxy, and her mother, Julia Sorkin.

"The world changed late last night in a way I couldn't protect us from. That's a terrible feeling for a father. I won't sugarcoat it - this is truly horrible," he wrote.

In the letter, published in Vanity Fair, he called Trump a "thoroughly incompetent pig with dangerous ideas, a serious psychiatric disorder, no knowledge of the world and no curiosity to learn".

Speaking of the president-elect's supporters, he added: "The Klan won last night. White nationalists. Sexists, racists and buffoons ... Men who have no right to call themselves that and who think that women who aspire to more than looking hot are shrill, ugly, and otherwise worthy of our scorn rather than our admiration, struck a blow for misogynistic shitheads everywhere."

He added: "For the next four years, the president of the United States ... will be held by a man-boy who'll spend his hours exacting Twitter vengeance against all who criticise him ... We've embarrassed ourselves in front of our children and the world."

Sorkin said that "Muslim-Americans, Mexican-Americans and African-Americans are shaking in their shoes" and "that many of Donald Trump's fans are not fans of Jews. On the other hand, there is a party going on at Isis headquarters".

He ended the letter: "The battle isn't over, it's just begun. Grandpa fought in World War II and when he came home this country handed him an opportunity to make a great life for his family. I will not hand his granddaughter a country shaped by hateful and stupid men. Your tears last night woke me up, and I'll never go to sleep on you again."

Meanwhile, comedian Amy Schumer said she was joking when she said she would leave the US if Donald Trump won.

The "grieving" star said that the comment in a Newsnight interview "was said in jest".

But she wrote on Instagram: "My heart is in a million pieces ... Like everyone else I am horrified that people believed these bumper sticker slogans filled with hate he spewed. People who voted for him, you are weak."

She added of Hillary Clinton: "You are not just misinformed. You didn't even attempt information. You say lock her up and you know something about the word email but what was in the emails? You have no clue.

"Well I'll tell you if you were able to read this far through the holes in your sheet. They said nothing incriminating. Nothing. She dedicated her entire life to public service and got our children heath care and education without discrimination."

She added: "Yelling about emails you know nothing about and not liking her clothes or her hair she wanted to protect you even you. Well you've gotten what you asked for and now you can watch the sky open up."

Game of Thrones author George RR Martin did not hold back in a blog, entitled "President Pussygrabber".

"Trump was the least qualified candidate ever nominated by a major party for the presidency. Come January, he will become the worst president in American history, and a dangerously unstable player on the world stage," he said.

"Over the next four years, our problems are going to get much, much worse. Winter is coming. I told you so."

Filmmaker Michael Moore joined the protests over Trump's win, writing on Facebook: "Out with tens of thousands of protesters in the streets tonight. The shit has only begun to hit the fan. #OccupyTrump."

On Wednesday, Madonna warned that "we never give in", while Katy Perry called for "revolution".

Lady Gaga, JK Rowling, comedian Sarah Silverman, Nigella Lawson, Cher and Lily Allen vented their feelings on Twitter.

Family Guy creator Seth MacFarlane said that next stop was "President Kim Kardashian", while ex-One Direction singer Niall Horan said: "I'm sure the American people will have more sense in four years."