~/talk

Python in Space - The N Body Problem

Talkat PyCon.DE 2017 · 2017-10-25..10-27· [python]
slides:none on file

Shows an actual Python implementation of Barnes-Hut and compares it to brute force: naive O(n^2) loops versus an O(n log n) quadtree/octree, with concrete timings (brute force ~65 s/frame at 1,000 bodies versus ~1 s/frame for Barnes‑Hut; Barnes‑Hut handles ~1,000,000 bodies in the time brute force does ~10,000). Includes code on GitHub, renders (matplotlib) and edits with Blender, Avidemux & Sonic Pi, and demonstrates the algorithm working and its visual/accuracy tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Welcome
  3. 1:14Geocentric Model
  4. 2:34Seamus
  5. 3:03Hypatia
  6. 3:23Nicholas Copernicus
  7. 3:58The Sun
  8. 4:22Copernicus Criticism
  9. 5:31Extended Copernicus Model
  10. 6:18Kerbal Space Program
  11. 7:15Isaac Newton
  12. 8:29Newtons formula
  13. 9:15Undiscovered Planet 9
  14. 10:00The N Body Problem
  15. 10:46Big O notation
  16. 11:27Example
  17. 12:17Solution
  18. 13:00Josh Barnes
  19. 13:23Pete Hurt
  20. 14:34How it works
  21. 16:35Brute Force
  22. 17:15Burn Hot Algorithm
  23. 21:55Tree
  24. 23:41Python
  25. 24:10Body
  26. 24:37Helper methods
  27. 25:31Quadrant
  28. 26:02Burn Subtree
  29. 26:58System
  30. 27:26BruteForce
  31. 28:35Examples
  32. 29:11Results
  33. 29:46Results with 10 bodies
  34. 31:16Orbits
  35. 36:36Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.