Homer's Endless Dream on Babylon.js

Do you remember the episode in the Simpsons “Eternal Moonshine of the Simpson Mind” where Homer is trying to restore memories and there is a moment where Homer was flying in space where random pictures float are his memories?
Запись_2024_10_07_07_21_46_214 (1)
So I made a code that simulates such a space → Code Example, you can move the arrows all the space is generated procedurally.

In general, I thought about how this idea could be developed, and I made a second version to begin with in which the pictures move smoothly along a randomly generated trajectory for each picture separately and not procedurally generated as in the first version so that they could be better seen.

Homer’s Endless Dream (Version 2)

And in the third version, I removed the random movement of the picture, and now the pictures just don’t move anywhere, and stand still.

Homer’s Endless Dream (Version 3)

And finally, in the fourth, final version, I added the ability to click on an image and you will be sent to some website.

Homer’s Endless Dream (Version 4)

And in the fifth optional version, I generated all the pictures of the same size, and the location of each picture is evenly spaced. run it at your own risk, and the risk may be so slow and you need to make sure that all the picture are loaded.

Homer’s Endless Dream (Version 5)

Offer your options on how to develop this idea in the future… Maybe someone will really need my work, and someone will be inspired by it and create something of their own.

Optional versions

The optional versions are a kind of sandbox for the realization of a variety of fantasies and experiments.

Endless colored mountain! | Babylon.js Playground

The further we fly back, the bigger it gets.

The endless gallery of Backrooms’ pictures (Makarov’s version) | Babylon.js Playground

4 Likes

hahaha! excellent!

I also have a 2d version Homer’s Endless Dream code.

https://picsum.photos is an image provider where you can easily retrieve pictures.

and here is the Simpsons cloud intro :slight_smile:

Why don’t you have pictures displayed? I have all the pictures displayed normally, example version 4:
Запись_2024_12_23_12_47_59_819

Homer’s dream

So it turns out that I’m not the first one to do something like this?
Запись_2024_12_23_18_56_03_664
I don’t see any pictures, it looks silly…

Can you access images from https://picsum.photos ?

If not are there any error messages in your browser console?

If you turn on the VPN, the pictures appear, but if you don’t turn it on, they don’t exist.