Take a Trippy Journey in This Machine-Generated Video

YouTube // Damien Henry
YouTube // Damien Henry

Coder Damien Henry created a 56-minute film based on one starting image and a machine learning algorithm. He trained the machine using video shot from the window of a moving train. Then he handed off that first frame and had the algorithm generate what it thought might be a "next" frame. That process repeated serially for the entire film, resulting in this beautiful, abstract train ride:

The soundtrack is Steve Reich's classic "Music for 18 Musicians," and the pairing helps create a mesmerizing atmosphere. Watching the video, you see smears of light and dark eventually form into landscapes (drawing on the algorithm's knowledge of landscapes), but those landscapes are often messy and surreal, looking like blobs in a lava lamp or perhaps a robot's low-fi idea of what a landscape might look like. Because the film includes zero editing, it is purely a product of that first frame and the machine's training. It's beautiful.

In the YouTube description, Henry wrote (in part):

The results are low resolution, blurry, and not realistic most of the time. But it resonates with the feeling I have when I travel in a train. It means that the algorithm learned the patterns needed to create this feeling. Unlike classical computer generated content, these patterns are not chosen or written by a software engineer.

In this video, nobody made explicit that the foreground should move faster than the background: thanks to Machine Learning, the algorithm figured that itself. The algorithm can find patterns that a software engineer may haven’t noticed, and is able to reproduce them in a way that would be difficult or impossible to code.

He also notes that the algorithm learns during the video's creation, which accounts for the increase in realism as the video goes on. He notes that the algorithm's learning system is updated every 20 seconds.

For a bit more from Henry on the project, check out his Twitter feed.

7 Top-Rated Portable Air Conditioners You Can Buy Right Now

Black + Decker/Amazon
Black + Decker/Amazon

The warmest months of the year are just around the corner (in the Northern Hemisphere, anyway), and things are about to get hot. To make indoor life feel a little more bearable, we’ve rounded up a list of some of the top-rated portable air conditioners you can buy online right now.

1. SereneLife 3-in-1 Portable Air Conditioner; $290

SereneLife air conditioner on Amazon.
SereneLife/Amazon

This device—currently the best-selling portable air conditioner on Amazon—is multifunctional, cooling the air while also working as a dehumidifier. Reviewers on Amazon praised this model for how easy it is to set up, but cautioned that it's not meant for large spaces. According to the manufacturer, it's designed to cool down rooms up to 225 square feet, and the most positive reviews came from people using it in their bedroom.

Buy it: Amazon

2. Black + Decker 14,000 BTU Portable Air Conditioner and Heater; $417

Black + Decker portable air conditioner
Black+Decker/Amazon

Black + Decker estimates that this combination portable air conditioner and heater can accommodate rooms up to 350 square feet, and it even comes with a convenient timer so you never have to worry about forgetting to turn it off before you leave the house. The setup is easy—the attached exhaust hose fits into most standard windows, and everything you need for installation is included. This model sits around four stars on Amazon, and it was also picked by Wirecutter as one of the best values on the market.

Buy it: Amazon

3. Mikikin Portable Air Conditioner Fan; $45

Desk air conditioner on Amazon
Mikikin/Amazon

This miniature portable conditioner, which is Amazon's top-selling new portable air conditioner release, is perfect to put on a desk or end table as you work or watch TV during those sweltering dog days. It's currently at a four-star rating on Amazon, and reviewers recommend filling the water tank with a combination of cool water and ice cubes for the best experience.

Buy it: Amazon

4. Juscool Portable Air Conditioner Fan; $56

Juscool portable air conditioner.
Juscool/Amazon

This tiny air conditioner fan, which touts a 4.6-star rating, is unique because it plugs in with a USB cable, so you can hook it up to a laptop or a wall outlet converter to try out any of its three fan speeds. This won't chill a living room, but it does fit on a nightstand or desk to help cool you down in stuffy rooms or makeshift home offices that weren't designed with summer in mind.

Buy it: Amazon

5. SHINCO 8000 BTU Portable Air Conditioner; $320

Shinco portable air conditioner
SHINCO/Amazon

This four-star-rated portable air conditioner is meant for rooms of up to 200 square feet, so think of it for a home office or bedroom. It has two fan speeds, and the included air filter can be rinsed out quickly underneath a faucet. There's also a remote control that lets you adjust the temperature from across the room. This is another one where you'll need a window nearby, but the installation kit and instructions are all included so you won't have to sweat too much over setting it up.

Buy it: Amazon

6. Honeywell MN Series Portable Air Conditioner and Dehumidifier; $400

Honeywell air conditioner on Walmart.
Honeywell/Walmart

Like the other units on this list, Honeywell's portable air conditioner also acts as a dehumidifier or a standard fan when you just want some air to circulate. You can cool a 350-square-foot room with this four-star model, and there are four wheels at the bottom that make moving it from place to place even easier. This one is available on Amazon, too, but Walmart has the lowest price right now.

Buy it: Walmart

7. LG 14,000 BTU Portable Air Conditioner; $699

LG Portable Air Conditioner.
LG/Home Depot

This one won't come cheap, but it packs the acclaim to back it up. It topped Wirecutter's list of best portable air conditioners and currently has a 4.5-star rating on Home Depot's website, with many of the reviews praising how quiet it is while it's running. It's one of the only models you'll find compatible with Alexa and Google Assistant, and it can cool rooms up to 500 square feet. There's also the built-in timer, so you can program it to go on and off whenever you want.

Buy it: Home Depot

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

Common Misconceptions About Dreams

If your nightmares look like Henry Fuseli's The Nightmare (1781), we're so sorry.
If your nightmares look like Henry Fuseli's The Nightmare (1781), we're so sorry.
Henry Fuseli, Detroit Institute of Arts, Wikimedia Commons // Public Domain

Contrary to what Ebenezer Scrooge initially thought in Charles Dickens's A Christmas Carol, nightmares aren’t merely a side effect of eating cheese before bed. In fact, studies have shown that pre-sleep snacks—dairy or otherwise—probably don’t influence your dreams at all. But even if you can’t blame your latest wacky snooze vision on last night’s midnight helping of chicken nuggets, you can try to trace it back to some stressor from your daily life.

Since dream interpretation isn’t an exact science—and sleep in general is one of science’s murkier territories—quite a few myths have arisen about what, why, and how we dream. In this episode of Misconceptions, Mental Floss's own Justin Dodd walks us through some of the more common fallacies about dreams. (And if you’re convinced you never dream, well, he has some news for you on that front, too.)

For more videos like this one, subscribe to the Mental Floss YouTube channel here.