A group called Botnik Studios used an algorithm based on the existing Harry Potter novels to generate a chapter of the newest wizarding sensation — Harry Potter and the Portrait of what Looked Like a Large Pile of Ash.
Featuring such lines as:
“What about Ron magic?” offered Ron. To Harry, Ron was a loud, slow, and soft bird. Harry did not like to think about birds.
The password was “BEEF WOMEN,” Hermione cried.
And, of course, the piece de resistance:
“I’m Harry Potter,” Harry began yelling. “The dark arts better be worried, oh boy!”