Uploaded October 2026 | Updated November 2026, 3 hours ago
A simulation on how it could look like if a moose-shaped star distribution would evolve in time if released with different initial conditions with and without surrounding of dark matter. The moose is initialised with 500 000 stars, and its total mass is approximately that of our galaxy, the Milky Way. That is, the star masses are absurdly high to simulate the actual time evolution of a similar distribution of many more and lighter stars.
Similar computational approach as in my previous 2D counterpart "Gravitational collapse of a moose", youtu.be/Ot0ayBPZURk, i.e., utilising the Barnes-Hut approximation.
Cool music by @gpcbass, called Spacetime Blues. Made today, and tailored for these visuals.
.obj model downloaded from free3d.com/3d-model/moose-v3--121113.html
Languages/tools: Python, WebGL, Opus 5.5, FFmpeg
A simulation on how it could look like if a moose-shaped star distribution would evolve in time if released with different initial conditions with and without surrounding of dark matter. The moose is initialised with 500 000 stars, and its total mass is approximately that of our galaxy, the Milky Way. That is, the star masses are absurdly high to simulate the actual time evolution of a similar distribution of many more and lighter stars.
Similar computational approach as in my previous 2D counterpart "Gravitational collapse of a moose", youtu.be/Ot0ayBPZURk, i.e., utilising the Barnes-Hut approximation.
Cool music by @gpcbass, called Spacetime Blues. Made today, and tailored for these visuals.
.obj model downloaded from free3d.com/3d-model/moose-v3--121113.html
Languages/tools: Python, WebGL, Opus 5.5, FFmpeg




![Fourier expansion of simple geometries [+MWE Python code]
Shown is some simple geometries drawn by epicycles, i.e., represented by Fourier series. See pinned comment for a minimal working example code (Python).
The ellipse of course only needs two rods to coincide with the exact solution. However, I was a bit surprised that the square and the triangle were so well approximated using only two rods. When representing the three (disconnected) geometries by a single basis set the number of basis functions must be large. The discontinuities naturally induce Gibbs phenomenon. Ive cheated a bit here, and removed a small portion of the traces in connection with the discontinuities.
Reuse of the fantastic song Vanessa, made by @gpcbass. See https://www.youtube.com/watch?v=yE8G0kmfzjc for the full version. Fourier expansion of simple geometries [+MWE Python code]](https://i.ytimg.com/vi/V6bQoEjnCKk/mqdefault.jpg)





