Free online N-body & CFD simulator — generative art and scientific exploration open source tool.
Instruction: Adjust →Run→Simulation→Download. Also you can check my Sci-Fi paintings on this site.
Space Simulator
This interactive simulation visualizes how incredibly complex structures emerge from simple local interactions between millions of identical particles. Using only Newtonian attraction, short-range elastic repulsion, and active spin, the system demonstrates true self-organization and emergent behavior. Each particle follows the same minimal rules, yet collectively they give rise to stunning large-scale patterns — from cosmic web filaments and barred spiral galaxies to vortex formations, stable atomic-like nuclei with orbiting shells, and even cell-like “organisms” that grow, split, merge, and heal.
What You Are Seeing
As the simulation runs, order spontaneously arises from chaos. Particles self-organize into rotating clusters, swirling vortices, spiral structures resembling galaxies, and dense stable cores. These patterns are not pre-programmed — they emerge naturally through the balance of forces, creating a living, dynamic system that bridges computational physics, fluid dynamics, and generative art.
In deeper runs, the same rules produce structures reminiscent of atoms and proto-biological forms, showing how simple physical laws can lead to higher levels of complexity — from fundamental physics toward chemistry and artificial life.
Scientific Context
Inspired by research in superfluid dynamics, vortex dynamics, quantum physics, this simulator explores the idea of a superfluid universe. It demonstrates how structured motion and emergent complexity can arise from asymmetric interactions within a medium, without any central control.
The project serves as both a visual laboratory for studying self-organization and an artistic interpretation of physical processes that may relate to the fundamental nature of spacetime and the emergence of life-like behavior.
How to Use
Adjust the parameters using the sliders to explore different behaviors. You can change the number of particles, the size of the system, and the strength of interactions. Small changes can lead to dramatically different results — from chaotic motion to stable rotating systems. Then press the “RUN” button, wait until the particles appear on the screen and press “Simulation” in the upper left corner. After that, you can download the video by clicking on the icon in the upper right corner.
Purpose
This project is a fusion of generative art, computational physics, and artificial life research. It allows artists, scientists, and curious minds to experience how complex natural structures — galaxies, atoms, and potential proto-life — can emerge from the simplest underlying rules.
Note
This simulation is a conceptual and experimental model. It is not intended to accurately reproduce astrophysical systems, but to provide insight into emergent behavior in interacting particle systems.
This is a conceptual and experimental model. It is not a precise astrophysical simulator, but a powerful tool for insight into emergent universe phenomena, self-organization, and the beautiful boundary between physics and life.
Simulation code – https://github.com/MasterOgon/Newtonian-Superfluid-Simulation
More video – https://youtu.be/UtfKKQ-SrwU?si=trtvvO2SvrDSMzFE
If you liked the project, you can support it by clicking the button above.