Andreas Rentz/Getty Images
Andreas Rentz/Getty Images

An AI Program Wrote Harry Potter Fan Fiction—and the Results Are Hilarious

Andreas Rentz/Getty Images
Andreas Rentz/Getty Images

“The castle ground snarled with a wave of magically magnified wind.”

So begins the 13th chapter of the latest Harry Potter installment, a text called Harry Potter and the Portrait of What Looked Like a Large Pile of Ash. OK, so it’s not a J.K. Rowling original—it was written by artificial intelligence. As The Verge explains, the computer-science whizzes at Botnik Studios created this three-page work of fan fiction after training an algorithm on the text of all seven Harry Potter books.

The short chapter was made with the help of a predictive text algorithm designed to churn out phrases similar in style and content to what you’d find in one of the Harry Potter novels it "read." The story isn’t totally nonsensical, though. Twenty human editors chose which AI-generated suggestions to put into the chapter, wrangling the predictive text into a linear(ish) tale.

While magnified wind doesn’t seem so crazy for the Harry Potter universe, the text immediately takes a turn for the absurd after that first sentence. Ron starts doing a “frenzied tap dance,” and then he eats Hermione’s family. And that’s just on the first page. Harry and his friends spy on Death Eaters and tussle with Voldemort—all very spot-on Rowling plot points—but then Harry dips Hermione in hot sauce, and “several long pumpkins” fall out of Professor McGonagall.

Some parts are far more simplistic than Rowling would write them, but aren’t exactly wrong with regards to the Harry Potter universe. Like: “Magic: it was something Harry Potter thought was very good.” Indeed he does!

It ends with another bit of prose that’s not exactly Rowling’s style, but it’s certainly an accurate analysis of the main current that runs throughout all the Harry Potter books. It reads: “‘I’m Harry Potter,’ Harry began yelling. ‘The dark arts better be worried, oh boy!’”

Harry Potter isn’t the only work of fiction that Jamie Brew—a former head writer for ClickHole and the creator of Botnik’s predictive keyboard—and other Botnik writers have turned their attention to. Botnik has previously created AI-generated scripts for TV shows like The X-Files and Scrubs, among other ridiculous machine-written parodies.

To delve into all the magical fiction that Botnik users have dreamed up, follow the studio on Twitter.

[h/t The Verge]

5 Film Transitions Worth Knowing

You see them every day, on TV shows, the news, and in movies, but how well do you know the most oft-used film transitions? Here are the big five:


The dissolve is an editing technique where one clip seems to fade—or dissolve—into the next. As the first clip is fading out, getting lighter and lighter, the second clip starts fading in, becoming more and more prominent. The process usually happens so subtly and so quickly, the viewer isn't even aware of the transition. The above video offers a great overview of the cut, with examples.


This transition is the opposite of the dissolve in that it draws attention to itself. The best example of the wipe is what's known as the Iris Wipe, which you usually find in silent films, like Buster Keaton's or the Merrie Melodies cartoons—the circle getting smaller and smaller. Other wipe shapes include stars, diamonds, and the old turning clock.

The Star Wars films are chock-full of attention-grabbing wipes. Here are two good examples from The Empire Strikes Back. The first shows the clock wipe; the second, the diagonal wipe (pay no attention to the broken blocks at the start of the second clip—that's a technical glitch, not part of the film).


As the name implies, in the basic cutaway, the filmmaker is moving from the action to something else, and then coming back to the action. Cutaways are used to edit out boring shots (like people driving to their destination—why not see what the character is seeing or even thinking sometimes?) or add action to a sequence by changing the pace of the footage. My favorite use of the cutaway is in Family Guy, where the technique is used to insert throwaway gags. Here's a great example:


The L Cut, also called a split edit, is a very cool technique whose name dates back to the old analog film days.

The audio track on a strip of celluloid film runs along the side, near the sprocket holes. In the L Cut transition, the editor traditionally cut the picture frames out of the strip, but left the narrow audio track intact, thus creating an L-shape out of the film. A different camera angle, or scene was then spliced into the spot where the old picture was, so the audio from the old footage was now cut over the new footage.

Of course, with digital editing, one doesn't need to physically cut anything anymore, but the transition is still widely used, and the name has remained the same.

Split edits like these are especially effective in portraying conversations. Imagine how a simple conversation between two people might look if all we ever got was a ping-pong edit back and forth between the two people talking. The L cut allows the viewer to read the emotion on the listener's face, as the dialogue continues over, as we see in this clip from Ferris Bueller's Day Off:


The fade in and fade out usually signal the beginning or end of a scene, especially if the filmmaker is fading to/from black. This is the most common, of course, but fading to white has become trendy, too. The opening title sequence from the HBO series Six Feet Under featured many fades to black and a couple brief fades to white. The very last bit in the sequence fades slowly to white, and is my all-time favorite example of the transition:

LEGO Is Rolling Out Its First Sustainable, Plant-Based Blocks

LEGO produces roughly 19 billion elements each year [PDF], and until recently, most of those bricks, minifigures, and accessories were made using oil. Now, the toy company has announced that it's experimenting with more sustainable production methods for certain items. As Mashable reports, the company will start selling 'botanical' pieces made from real plants this year.

To craft the new type of material, LEGO is sourcing sugarcane from Brazil. The crops are grown on agricultural land rather than former rainforests, and the sourcing has received the stamp of approval from the Bioplastic Feedstock Alliance, an organization that encourages corporations to make sustainable, plant-based plastics.

Making LEGO parts from sugarcane results in a softer plastic, so the new method will only be used to make plant pieces like leaves, bushes, and trees for now. The bioplastic botanicals will start appearing in LEGO boxes this year and become standard by the end of 2018.

“The LEGO Group’s decision to pursue sustainably sourced bio-based plastics represents an incredible opportunity to reduce dependence on finite resources," Alix Grabowski, a senior program officer at the World Wildlife Fund, said in a release from LEGO.

Though the switch will reduce the company's carbon footprint, the bioplastic botanicals still only make up of a small fraction of their total product line. LEGO says the change represents one step in its mission to use sustainable materials in core products and packaging by 2030.

[h/t Mashable]


More from mental floss studios