MCPcopy Index your code
hub / github.com/DeadlockCode/n-body

github.com/DeadlockCode/n-body @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
18 symbols 24 edges 5 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

N-Body

This is the official repository for the code shown in Making an N-Body Simulation.

Extension points exported contracts — how you extend this code

Checkable (Interface)
(no doc) [2 implementers]
src/loop_limiter.rs

Core symbols most depended-on inside this repo

rand_disc
called by 2
src/simulation.rs
check
called by 1
src/loop_limiter.rs
rand_body
called by 1
src/simulation.rs
update
called by 1
src/body.rs
new
called by 0
src/loop_limiter.rs
main
called by 0
src/main.rs
new
called by 0
src/simulation.rs
update
called by 0
src/simulation.rs

Shape

Method 10
Class 4
Function 3
Interface 1

Languages

Rust100%

Modules by API surface

src/simulation.rs5 symbols
src/renderer.rs5 symbols
src/loop_limiter.rs4 symbols
src/body.rs3 symbols
src/main.rs1 symbols

For agents

$ claude mcp add n-body \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact