RepositoryPythonUSUnited States
pmocz

pmocz/nbody-python

Vectorized N-body code (Python)

126stars
55forks
2issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: astrophysics

#1 Repository of the week

1
TINIX TRENDING·Topic: n-body

#1 Repository of the week

4
TINIX TRENDING·Topic: scientific-computing

#4 Repository of the week

nbody-python

Vectorized N-body code (Python)

Create Your Own N-body Simulation (With Python)

Philip Mocz (2020) Princeton University, @PMocz

📝 Read the Algorithm Write-up on Medium

Simulate orbits of stars interacting due to gravity

Code calculates pairwise forces according to Newton's Law of Gravity

python nbody.py

Simulation

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
yt-project/yt

Main yt repository

563
Nov 17, 2026
RepositoryC
hannorein/rebound

💫 An open-source multi-purpose N-body code.

1.2k
Nov 30, 2026
RepositoryC
alvinng4/grav_sim

N-body gravity simulation library with C and Python API

142
Oct 19, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.9k
Nov 30, 2026
RepositoryPython
datawhalechina/hello-agents

📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程

88.6k
Dec 3, 2026
RepositoryPython
shareAI-lab/learn-claude-code

Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1

81.2k
Nov 15, 2026
RepositoryPython
luongnv89/claude-howto

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

47.8k
Nov 21, 2026
RepositoryPython
mouredev/Hello-Python

Curso para aprender el lenguaje de programación Python desde cero y para principiantes. 100 clases, 44 horas en vídeo, código, proyectos y grupo de chat. Fundamentos, frontend, backend, testing, IA...

38.2k
Aug 11, 2025
RepositoryPython
MLEveryday/100-Days-Of-ML-Code

100-Days-Of-ML-Code中文版

22.2k
Oct 24, 2026