hub /
github.com/Elucidation/Barnes-Hut-Tree-N-body-Implementation-in-HTML-Js / functions
Functions59 in github.com/Elucidation/Barnes-Hut-Tree-N-body-Implementation-in-HTML-Js
↓ 12 callersFunctionrefreshGraphics()
graphics.js:154
↓ 4 callersFunctionaddBody(x, y, vx, vy, m)
bntree.js:108
↓ 3 callersFunctionbnBuildTree()
bntree.js:174
↓ 3 callersFunctiondrawArrow(x, y, x2, y2, h, color)
graphics.js:242
↓ 3 callersFunctionupdatePos(dt_step)
bntree.js:513
↓ 2 callersFunctionbnDeleteTree()
bntree.js:155
↓ 2 callersFunctiondoForces()
bntree.js:458
↓ 2 callersFunctiondrawCircle(x, y, r)
graphics.js:228
↓ 2 callersFunctiondrawCross(x, y, h)
graphics.js:294
↓ 2 callersFunctiongetDist(x, y, x2, y2)
bntree.js:365
↓ 2 callersFunctiongetForceVecDirect(m, x, y, m2, x2, y2)
bntree.js:432
↓ 2 callersFunctionmassToRadius(mass)
graphics.js:210
↓ 2 callersFunctionresetBodies()
bntree.js:60
↓ 2 callersFunctionsetAccel(i, j, do_Both)
bntree.js:381
↓ 2 callersFunctionsetDEBUG(lvl)
userInput.js:149
↓ 2 callersFunctionupdateVel(dt_step)
bntree.js:520
↓ 1 callersFunctionaddRandomBody()
bntree.js:98
↓ 1 callersFunctionbnAddBody(node, i, depth)
bntree.js:210
↓ 1 callersFunctionbnDeleteNode(node)
bntree.js:160
↓ 1 callersFunctionbnMakeNode(parent, quad, child)
bntree.js:285
↓ 1 callersFunctionbnSetTreeStats()
bntree.js:132
↓ 1 callersFunctionbnSetTreeStatsRecurse(node, depth)
bntree.js:136
↓ 1 callersFunctiondoBNtree(bI)
bntree.js:335
↓ 1 callersFunctiondoBNtreeRecurse(bI, node)
bntree.js:338
↓ 1 callersFunctiondrawBBOX(x, y, x2, y2)
graphics.js:218
↓ 1 callersFunctiondrawBNnode(node, depth)
graphics.js:38
↓ 1 callersFunctiondrawBNtree()
graphics.js:33
↓ 1 callersFunctiondrawBox(x, y, w, h)
graphics.js:221
↓ 1 callersFunctionforceBNtree()
bntree.js:370
↓ 1 callersFunctionforceBrute()
bntree.js:445
↓ 1 callersFunctiongetForceVec(i, j)
bntree.js:418
↓ 1 callersFunctiongetQuad(i, box)
bntree.js:263
↓ 1 callersFunctionleapfrog()
bntree.js:506
↓ 1 callersFunctionloadSysFromJSON(jsonData)
fileIO.js:94
↓ 1 callersFunctionparseInputText(text)
fileIO.js:86
↓ 1 callersFunctionpauseSys()
bntree.js:543
↓ 1 callersFunctionpointInBBOX(x, y, BBOX)
bntree.js:202
↓ 1 callersFunctionsetAccelDirect(i, m, x, y)
bntree.js:398
↓ 1 callersFunctionsetDT(v)
userInput.js:141
↓ 1 callersFunctionstartSys()
bntree.js:532
↓ 1 callersFunctionstep()
bntree.js:484
↓ 1 callersFunctionupdateData()
graphics.js:74
FunctionaddNrandomBodies(n)
bntree.js:91
FunctiondoKeyDown(evt)
userInput.js:95
FunctionerrorHandler(evt)
fileIO.js:60
FunctionforwardEuler()
bntree.js:500
FunctionhandleFileSelect(evt)
fileIO.js:16
FunctioninitBN(canvasId)
bntree.js:80
FunctioninitFileIO()
fileIO.js:1
FunctioninitGraphics(canvasId, dataId)
graphics.js:19
FunctioninitUI(canvasId)
userInput.js:3
FunctionmouseClick(e)
userInput.js:15
FunctionmouseDown(e)
userInput.js:33
FunctionmouseMove(e)
userInput.js:52
FunctionmouseUp(e)
userInput.js:70
FunctionresetSys()
userInput.js:176
FunctiontoggleArrows()
userInput.js:161
FunctiontoggleDEBUG()
userInput.js:157
FunctiontoggleShowBNtree()
userInput.js:167