Horrific images generated by a ‘Nightmare Machine’ will spook you out
Eggheads have developed an algorithm that dreams up terrifying scenes

COMPUTER experts have created a 'Nightmare Machine' that spontaneously generates terrifying images.
The algorithm was built by Massachusetts Institute of Technology (MIT) and is capable of dreaming up ghoulish faces and eerie images.
MIT used Google's DeepDream to create horrifying portraits of famous landmarks around the world, including The Colosseum, Tower Bridge and the Eiffel Tower.
The search giant's software allows computers to create weird, hallucinatory pictures based on images it has been before.
While the project was set up as a bit of a Halloween gimmick, it shows how quickly the world of AI is developing.
Two of the main techniques used in the algorithm - style transfer and generative adversarial networks - were only published in papers last year and are considered state of the art.
Style transfer is a process where a computer learns right and wrong before adjusting its output.
In this project, the computer is able to learn what style of image people find most terrifying before transferring that to its output.
The algorithm was designed by three computer scientists and according to the site is designed as an "innovative way" to develop "a visceral emotion such as fear".
We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368