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]

Kodak’s New Cameras Don't Just Take Photos—They Also Print Them

Your Instagram account wishes it had this clout.
Your Instagram account wishes it had this clout.
Kodak

Snapping a photo and immediately sharing it on social media is definitely convenient, but there’s still something so satisfying about having the printed photo—like you’re actually holding the memory in your hands. Kodak’s new STEP cameras now offer the best of both worlds.

As its name implies, the Kodak STEP Instant Print Digital Camera, available for $70 on Amazon, lets you take a picture and print it out on that very same device. Not only do you get to skip the irksome process of uploading photos to your computer and printing them on your bulky, non-portable printer (or worse yet, having to wait for your local pharmacy to print them for you), but you never need to bother with ink cartridges or toner, either. The Kodak STEP comes with special 2-inch-by-3-inch printing paper inlaid with color crystals that bring your image to life. There’s also an adhesive layer on the back, so you can easily stick your photos to laptop covers, scrapbooks, or whatever else could use a little adornment.

There's a 10-second self-timer, so you don't have to ask strangers to take your group photos.Kodak

For those of you who want to give your photos some added flair, you might like the Kodak STEP Touch, available for $130 from Amazon. It’s similar to the regular Kodak STEP, but the LCD touch screen allows you to edit your photos before you print them; you can also shoot short videos and even share your content straight to social media.

If you want to print photos from your smartphone gallery, there's the Kodak STEP Instant Mobile Photo Printer. This portable $80 printer connects to any iOS or Android device with Bluetooth capabilities and can print whatever photos you send to it.

The Kodak STEP Instant Mobile Photo Printer connects to an app that allows you to add filters and other effects to your photos. Kodak

All three Kodak STEP devices come with some of that magical printer paper, but you can order additional refills, too—a 20-sheet set costs $8 on Amazon.

This article contains affiliate links to products selected by our editors. Mental Floss may receive a commission for purchases made through these links.

Funko Is Releasing a New Batch of Simpsons "Treehouse of Horror" Pops for Halloween

Funko/Amazon
Funko/Amazon

"Treehouse of Horror" has been a beloved Halloween tradition for Simpsons viewers for almost 30 years. Now, fans of the specials can get their hands on new Funko Pop! dolls modeled after spooky versions of their favorite characters, Bloody Disgusting reports.

Each figurine in the new collection is inspired by a classic "Treehouse of Horror" Simpsons short. You've got Homer depicted as both the Grim Reaper and a creepy jack-in-the-box, from "Treehouse of Horror XIV" and "Treehouse of Horror II," respectively. There's also a version of him with a donut for a head exclusively from Box Lunch. Bart is available as a skateboarding zombie and a spaceman with an alien Maggie bursting out of his chest. Other classic "Treehouse of Horror" characters, like Vampire Krusty, Devil Flanders, and Marge the Witch, are also included.

According to Comicbook, this is the second time Funko has reimagined The Simpsons "Treehouse of Horror" specials as Pop! dolls. Last year it came out with a set featuring the five main characters as different monsters. This year's "Treehouse of Horror" collection will be even bigger and feature side characters for the first time.

You can pre-order your favorite Simpsons "Treehouse of Horror" Funko Pop! today from Amazon for $11 each ahead of their release in October. Here are more rare Funko figures to add to your collection.

[h/t Bloody Disgusting]

This article contains affiliate links to products selected by our editors. Mental Floss may receive a commission for purchases made through these links.