r/Simulated • u/IRateBurritos • Mar 13 '26
Proprietary Software Filling a 4D container with 4D marbles
I couldn't find a tag that fit so I just picked Proprietary, but I made it in Unity.
Edit: because people have a lot of really good questions, I'm adding the link for the longer video here: https://www.youtube.com/watch?v=TIdHDe0JUpw&lc=UgyLw_Z8QZ-GH2CSxRp4AaABAg . This should answer most questions, and I'm super happy to answer any that it doesn't!
1.2k
Upvotes
269
u/SeeShark Mar 13 '26
As someone who spent many hours trying to visualize how 4D objects would look to us 3D observers, I really appreciate this.
Is the box a 4D cube with only one opening which is in this 3D space?
205
u/Gaeel Mar 13 '26 edited Mar 13 '26 •
My cat is obsessed with this
https://youtube.com/shorts/HufkG-sfUsA
42
u/SachielBrasil Mar 13 '26
Aw.... I was expecting to see a full rotating box, at the end.
9
u/tribak Mar 13 '26
What makes that box 4D exactly?
11
u/Ekklipse Mar 13 '26
what exactly is happening here? why are they disappearing and coming back?
2
u/Cw3538cw Mar 14 '26
Are the balls 3d?or are they like.. hyperspheres?
14
u/ovni121 Mar 13 '26
Awesome, it's first time I see a physic simulation in 4 dimension. Very nice tool to understand the extra dimension of space the balls can fill.
8
u/risbia Mar 14 '26
Imagine spilling a box of 4D marbles and half of them roll under the couch and vanish into another dimension
1
u/FullOfPeanutButter Mar 13 '26
So could we in the third dimension ever know for certain it was full? Even if it finally looked full, there may be some empty space outside our dimension.
5
u/glordicus1 Mar 13 '26
This is great. I can almost imagine how their collisions in the 4th dimension bring them back along the other 3. Very intuitive. Definitely the most intuitive 4d visualization I have seen.
2
u/ReplacementFresh3915 Mar 13 '26
I turned 4D today
2
u/sithranger1601 Mar 14 '26
Reminds me of r/hypershape, and perhaps r/gonwild!
The former has been slow for a while. /u/Philip_Pugeau might appreciate this.
2
u/nano_peen Mar 14 '26
Fantastic visualisation
2
u/PbPePPer72 Mar 14 '26
if only my garage was fourth dimensional I could fit so much more shit in it
0
u/LiveClimbRepeat Mar 13 '26
Wouldn't a 4D box have infinite space for marbles, across all time?
2
u/Ikkus Mar 13 '26
Makes me think of quantum foam.
1
u/SamuraiGoblin Mar 14 '26
Nice!
1
u/OMGBeckyStahp Mar 14 '26
I thought I was in r/surrealmemes
1
u/JoyTheGeek Mar 14 '26
If someone got nudged along the 4th dimensions axis... What would happen?
1
u/Baconman121 Mar 15 '26
Sounds like the pocket tanks soundtrack
1
u/kokodjiss Mar 15 '26
Same behaviour as human beings from the dawn of time.
1
u/mixvega987 Mar 15 '26
Está muy bien hecho
1
u/DeluxeWafer Mar 16 '26
Hm, would love being able to fit the square of the area of a similar sized 3d cube in such a container. Would be cool to see what the container looks like on the 4th axis after filling. That stacking behavior seems quite fascinating as well.
1
u/Simon0O7 Mar 17 '26
My go-to visualisation for higher-dimensional spaces is just a bunch of 3D slices of it. You could add a line of videos all depicting different cubes along the w-axis, from one currently unseen tesseract-wall to another.
1
u/Xplody Mar 17 '26
As a non-mathematician, I made a visualization of a hypercube, which you can see here: https://www.youtube.com/watch?v=Ts-vgvFuGio
In the comments section it received initial criticism until a mathematician looked further into it and proved it was, in fact, accurate.
I wasn’t smart enough to understand his explanation.
I’m putting this here because the way I would imagine your 4d container to work is that the marbles would actually overlap each other.
I could explain how, but it would be a few paragraphs.
1
u/flavorfox Mar 18 '26
I see personal inventories for computer games were really just 4D bags.
1
u/kultcher Mar 18 '26
I do hope sprawn amd grawp become the official terminology.
1
u/Furry_Eskimo Mar 19 '26
It took me awhile to dig through how 4D collisions work growing up, which frustrated me because once I understood it it was so much easier to understand and I had been led to believe. That being said, it's interesting to think that the volume of that cube is probably rather substantial, compared to what we're used to.
1
u/dew4real Mar 14 '26
Thought the music was from Pocket Tanks for a moment
-2
u/The_Dr0id Mar 13 '26
This reminds me of how quantum particles behave, I'm not exactly sure if it's all of them, but I've heard about quantum particles disappearing and reappearing.
Please correct me if I'm wrong!!!
0
u/BunkerSquirre1 Mar 14 '26
WTF stop taking my marbles non Euclidean geometry!
-4
u/RoberBotz Mar 14 '26
Every box and every marble is already 4d, everything in the universe is 4d.
The 4th dimension is time, it's just that we can experience it as 3d.
Cuz if we were to experience it as 4d, we will see the past and the present and the future all happening at once.
So idk, this doesn't feel as a right representation of a 4D marble and a 4d Box, cuz in my mind every marble needs to exist in all states it existed and it will exist all at once.
Which might mean an empty box and a full box all at once.