Spherical pool with randomly located pockets
Автор: Nils Berglund
Загружено: 2026-01-14
Просмотров: 339
In this simulation of a pool billiard on a sphere, the pockets are located randomly in one hemisphere. Their centers follow a Poisson disc process, which is a random distribution of points with a minimal distance. For such an arrangement of pockets, it is unlikely that there are great circles that avoid all pockets, with makes the pool table more effective than for regular pocket arrangements.
The incoming particle is shot at a set of immobile particles, in a similar configuration to what one would do for pool billiard, but on a sphere. There is no friction acting on the particles, and also no thermostat. The motion of the particles is governed solely by a Lennard-Jones interaction between them.
The video has two parts, showing the same simulation with two different representations:
3D view: 0:00
2D view: 1:44
In both parts, the color of the particles depends on their kinetic energy. The 2D part shows an equirectangular projection, meaning that the x- and y-coordinates are proportional to the longitude and latitude of the particles. Particles move in apparently curved lines due to the projection - you see similar paths for spacecraft and satellites orbiting the Earth. Particles should actually have elongated elliptical shapes when approaching the poles, but we chose not to do this here. This is also why atoms of the same molecule can appear to be far from each other near the poles. In the 3D parts, the observer moves around the sphere in a plane containing the center of the sphere. The number of particles that have fallen into pockets over time is shown at the top right.
To save on computation time, particles are placed into a "hash grid", each cell of which contains between 3 and 10 particles. Then only the influence of other particles in the same or neighboring cells is taken into account for each particle.
Render time: 3D part: 17 minutes 50 seconds
2D part: 1 minute 17 seconds
Compression: crf 28
ffmpeg added noise option: -vf noise=alls=10:allf=t+u
Color scheme: Turbo, by Anton Mikhailov
https://gist.github.com/mikhailov-wor...
Music: Roboskater by Audionautix is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/...
Artist: http://audionautix.com/
Current version of the C code used to make these animations:
https://github.com/nilsberglund-orlea...
https://www.idpoisson.fr/berglund/sof...
Some outreach articles on mathematics:
https://images.math.cnrs.fr/auteurs/n...
(in French, some with a Spanish translation)
#particles #sphere #LennardJones
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: