HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
hannorein
rebound
C2015–2026
hannorein / rebound

rebound

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

4Distinct people
7Mentions
1Explicit recommenders
1.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

If anyone is interested in playing around with gravitational dynamics I highly recommend the REBOUND library [1]. It has a simple Python interface but under the hood it has a…

antognini used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year7 dated mentions

Observed mentions: 2015-01-07 02:49:52 UTC to 2026-06-09 16:28:32 UTC.

0122015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC202
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

7 sources
For something more rigorous, I would like to take this opportunity to share rebound[1], something we use for n-body simulations in our field (planet formation). Perhaps few people here are already familiar with it. It has a Python interface but the C interface is very easy to use as well and has plethora of pre-set examples which can be visualized using GLFW. It's very very cool! [1]https://github.com/hannorein/rebound
In Show HN: Gravity – interactive solar-system simulator, from Newton to Einstein
antognini·Apr 2, 2024Recommendation phrase
If anyone is interested in playing around with gravitational dynamics I highly recommend the REBOUND library [1]. It has a simple Python interface but under the hood it has a collection of research grade integrators. It came out around the time I was finishing up my PhD in gravitational dynamics, but if I were still in the field it's what I'd be using. If you're curious what would happen to the Solar System if you made Jupiter 10 times more massive you can pip import the library and find out for yourself in about five minutes. [1]: https://github.com/hannorein/rebound
In A rudimentary simulation of the three-body problem
This is some neat research (and related to some of the work I did in my PhD). For those who are just reading the comments, the authors are exploring the impact of general relativity on the stability of the Solar System. It's been known now for a few decades that the Solar System is only marginally stable [1]. The gravitational perturbations of all the planets on each other (though mostly coming from Jupiter) cause the orbits of the planets to change slowly over time. It turns out, though, that Mercury is the closest to unstable, and has a ~1% chance of being ejected from the Solar System in the next billion years. One of the interesting things about Mercury, is that general relativity has a non-negligible effect on its dynamics (the famous "perihelion precession" that Einstein explained). What the authors did in this paper is run a n
Read the rest
umber of long term simulations of the Solar System with general relativity --- but then they switched it off at a random time. What they find is that after switching off general relativity the Solar System goes unstable shortly thereafter. So the stability of the Solar System is highly dependent on general relativity. As a side note, the second author on the paper is Hanno Rein, who wrote Rebound [2], which is a very cool state of the art gravitational simulator. If you ever want to play around with gravitational dynamics, that's what I'd recommend using. (And that's what they use in this paper.) [1]: This is not terribly surprising because it turns out that nearly every dynamical system with more than three bodies is only marginally stable on a timescale of order its own lifetime. [2]: https://github.com/hannorein/rebound
In General Relativity and Solar System Stability
> But honestly I am certain that it is something in particular and not something mysterious about conservation of energy/momentum which i have not come across yet, because there is no formula in that gravity simulation which should be able to destroy momentum It's a well established fact that numerical integration methods either gain or lose energy (in particular, the Runge-Kutta family is known to lose energy over time). For celestial mechanics simulations, a special class of numerical integration methods called "symplectic integrators" are used and their purpose is to conserve energy and angular momentum. > but if you do any adjustments to correct it, that is a kind of fudge not based in true physics. When you are numerically integrating differential equations that model physical phenomena, you're not doing "true physics" but an approxi
Read the rest
mation thereof. And an approximation that makes Earth drift 70 km per year or Saturn's moons drift out of orbit in a few hundred years is a very bad approximation by scientific standards. The methods used for celestial mechanics calculations need to be precise over thousands to millions of years. And the way they work is to "fudge" with the numerical methods to preserve energy and angular momentum. It's a much better approximation of "true physics" than your toy simulation. Your assumption that the issues are due to floating point errors is incorrect. 64 bit double precision is millimeter accurate to the orbit of Neptune. That's good enough for scientific applications. If you're interested in this, you could take a look at this scientific grade N-body simulator and the methods it uses: https://github.com/hannorein/rebound
In Over 150 new families of Newtonian periodic planar three-body orbits
Hey there! I'm a grad student in my last year and my research is in orbital dynamics. I've recently started getting into the rebound package written by Hanno Rein: https://github.com/hannorein/rebound There's some tutorials that come with it. It can also read data from JPL's ephemerides to calculate orbits of various planets and minor bodies in the Solar System. It has a couple of different integrators (some symplectic, some not), but one of them (IAS15) is new and (as far as I know) the best for long-term integrations of Solar-System-like systems. Also if you're interested in studying the long-term evolution of hierarchical triples, I wrote a Python package to study that: https://github.com/joe-antognini/kozai As far as star charts, you can do things like that with AstroPy. If you want the coordinates of stars, look into astropy.vo,
Read the rest
and then if you want to plot them, you can do that with some of the functions in astropy.wcs.
In Practical Python for Astronomers
Read the rest
ver4j https://github.com/sensu/sensu-community-plugins/blob/master/handlers/notification… https://github.com/schneems/wicked/wiki/Testing-Wicked-with-RSpec https://github.com/schneems/wicked https://github.com/satyr/coco https://github.com/satyr https://github.com/sampsyo/beets/issues/546 https://github.com/rust-lang/cargo https://github.com/rniemeyer/knockout-delegatedEvents https://github.com/rniemeyer/knockout-amd-helpers https://github.com/qbit/node-pushover https://github.com/openSUSE/wicked/issues/432 https://github.com/openSUSE/wicked https://github.com/Nuku/Flexible-Survival/blob/master/Stripes/Candy https://github.com/Netflix/Lipstick https://github.com/nemomobile/lipstick https://github.com/mrmrs/colors https://github.com/mirage https://github.com/mileszs/wicked_pdf/issues/78 https://github.com/LubosD/darling https://github.com/laprice/pushover https://github.com/kryap/php-pushover https://github.com/krisselden/broccoli-sane-watcher https://github.com/Knockout-Contrib/Knockout-Validation https://github.com/knockout/knockout https://github.com/knockout https://github.com/kirang20/wgxp-java-rosa https://github.com/jreese/znc-push/blob/master/doc/pushover.md https://github.com/jnwatts/pushover.sh https://github.com/jfinkels/flask-restless/ https://github.com/jasonlewis/resource-watcher https://github.com/huxi/lilith https://github.com/hannorein/rebound https://github.com/gregghz/Watcher https://github.com/feuerbach/tasty https://github.com/facebook/rebound-js https://github.com/facebook/rebound https://github.com/erniebrodeur/pushover https://github.com/entertailion/Fling/blob/master/README.md https://github.com/enkydu/raspi_runner https://github.com/dyaa/Laravel-pushover https://github.com/danesparza/Pushover.NET https://github.com/crazed https://github.com/callmenick/css-loaders-spinners-2/tree/master/js https://github.com/callmenick/css-loaders-spinners-2 https://github.com/allure-framework/allure-core https://github.com/abrt/satyr Thanks for reaching out to us! We have received your legal request. We receive many such complaints each day; your message is in our queue, and we'll get to it as quickly as our workload permits. Due to the large volume of requests that we experience, please note that we will only be able to provide you with a response if we determine your request may be a valid and actionable legal complaint, and we may respond with questions or requests for clarification. For more information on Google's Terms of Service, please visit http://www.google.com/accounts/TOS Regards, The Google Team
In DMCA Copyright Complaint to Google

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.