首页 / 热门案例 / Reddit 热帖

I was trying to visualize a 4D array and somehow ended up at time dilation lmao

Reddit r/manim 热榜第 3 位 · 发布 2026-11-03 · 收录于 2026-11-04
导读:作者本想给学弟学妹画个 4 维数组的直观图,结果一路推到了时间膨胀——社区高赞的'跑题'佳作。高维可视化正是 3D 场景 + 相机运镜的练手方向,可对照本站《3D 场景与相机》一章。
前往 Reddit 热帖 原页 ↗著作权与完整内容归原作者所有,本站做中文收录与导读

原帖内容

I was trying to visualize a 4D array and somehow ended up at time dilation lmao

I started with a pretty simple question, how do you visualize a 4D array? I wanted to give my juniors some kind of picture for how multi-dimensional array operations work in numpy.

But if you keep following the "an n-dimensional thing is a stack of (n-1)-dimensional things" idea, and swap the arrays for actual 3D space (the space R^3) at every instant in time, you get a visualization of spacetime. I took that picture and applied it to Einstein's thought experiment, and it took me all the way to deriving the lorentz factor.

I animated the whole thing in manim, would genuinely love feedback!

This video goes up to why a moving clock ticks slower for someone watching it. Part 2 derives the lorentz factor, which tells you exactly how much slower.

Here's the youtube video: 👉👉 https://youtu.be/LF3Dws8qwQI

submitted by /u/not_LonelySoul
[link] [comments]

想自己做出这类动画?

配合站内中文教程:示例代码速查 · 入门教程 · 3b1b 复刻系列。遇到环境问题先查安装报错全解。