55 comments

[ 5.3 ms ] story [ 134 ms ] thread
A simple 3-body problem simulator, having fun!
Do the Euler, 8, or Lagrangian orbits ever turn chaotic after sometime?

Is there anything you had to do to keep one of the bodies from being ejected from the system?

What's up with the sudden uptick in 3-body problem content? I figure there is some general reference I'm missing since they all seem to be exactly n=3 instead of n>2 and so common lately (here, YouTube, news).
One of the streaming services has released a TV series called the 3-Body Problem based on a Chinese authors book series that features the name (as a book or series title).

The TV series poses a four body problem early on (three suns and a single planet).

Which is an outstanding book series, and while they took some liberties with the tv show I thought it was outstanding as well.
A word of warning, though: the series is dark and extremely depressing. I would not recommend it for people struggling with depression.
Hey, it's not Evangelion. Depressed people should be fine.
Depression is not something that you cure or worsen depending on what TV show you watch.
Depends. It can have an effect.
If an insight changes how you see the world it most definitely can have an effect on your existing condition.
https://www.nimh.nih.gov/news/science-news/2019/release-of-1...

> Release of “13 Reasons Why” Associated with Increase in Youth Suicide Rates

Maybe read in full what you are quoting. Correlation, causation, coincidence, all that.
The design of the study itself precludes showing causal linkage. That does not mean it does not exist. At the very least, the existence of this data should increase the odds that you believe a causal connection exists compared to there being no increases in suicides relating to popular media centered on suicide.

I guess I should have followed your methodology and simply asserted my point without providing any supporting evidence. That would have been much better surely.

I spoke from experience.
I thought the first one was mediocre. The Da Vinci Code is a better book. Better writing for sure. The story seemed ripe for a film/TV series, though (not necessarily a good one).
The Netflix show it's a complete insult to the source material, but I was expecting this anyway, there is no way to honor good writing in the West anymore, everything needs to be adapted for the modern audience... I could only forcefully stomach 20 minutes before giving up to the strong female arch, the gimmicky witty/silliness of John Bradley's character that is essentially another version of his character on Game of Thrones...

The Chinese one is true rendition the books needed. It's slow paced but it is a triumph

Are you aware that they asked the author who gave his blessing to "adapt" the series to a global audience?

Also, giving up because there is a strong female arch? Damn. Macho much?

I have heard PRC-native Chinese females complain about misogyny in the original text, so I think they are getting out ahead of something here.
Yes, the original text clearly has issues. Like when the author explains that it's really a shame that the UN secretary general is a woman when the crisis happens, because a man would have handled the impeding war better. He backpedals a bit in book 3 - suddenly that secretary general is a shrewd political operator who managed to make the UN powerful through various schemes.
Shi Qiang's assistant on the true adaptation (the Chinese series), is a female character that is smart and strong without having to give her super-powers so the modern audience can indulge in their delusions.

Adaptations should stick to the source material, not bend over backwards to appease the culture war zealots.

I'm confused: the book had a strong female character, and the TV show added the same strong female character because culture war?

I'm assuming it's a two-step thing where "strong female with superpowers" offends, not strong female arch[sic].

What were the offending superpowers?

Read the books, watch the shows, post a comment. That should be your character arc.
Okay lets say I'm like the other commenters, read it, and still don't know. How can I check in with you again on what the superpowers are?
Superpowers? Delusions? What are you talking about? I literally just watched the show (and read the book a few years ago). I cannot tell what you are referring to. Everything that happens in the show, happened in the book too, as far as I can tell.
(comment deleted)
Interesting indeed, a triumph, no.

I found the stuff about the cultural revolution by far the most interesting, finally I could understand it - that there was nothing to understand, there was no underlying rationale; it was just madness.

Agree. Hard to adapt for TV but thought they did a better job than the other streaming service with Foundation. In general loving the spike in SciFi drama after a long drought.
netflix nailed the tv adaption (imo).

https://www.youtube.com/watch?v=mogSbMD6EcY

You didn't say if you read the books. I did and I thought the netflix series was pretty mediocre.
I adored the books and I think the Netflix series is pretty good so far (it’s not finished).
I read all three books and thought the series was good. The books have a slow pace and the constant time jumps get annoying in the third book.
yes, read the books (twice).

It seemed like a tough book to adapt to television and I think they did a great job considering the challenges.

The planet is basically irrelevant for the problem. It just suffers through whatever the three suns are doing. I don't remember if the exact orders of magnitude are given in the book (it goes into a lot of detail, but maybe not that much). But if it's like our Earth vs our Sun, our Earth's mass is one millionth of that of the Sun. A rounding error in the physical system.
Spoilers all over this thread now...

It's not irrelevant because a stable era only happens when the planet orbits one of the suns which will depend on the motion of the planet too.

The book is 16 years old now... The statute of limitations is passed.

The motion of the planet is completely determined by what the three suns are doing, and their motion barely depends on that of the planet.

> The TV series poses a four body problem early on (three suns and a single planet).

That's the same as the book except the book explains eventually that there were originally 7? 9? planets. The others had been ripped apart or consumed by the 3 stars, and the last one would be eventually.

In addition to the other replies, n=3 is also the point at which the system becomes chaotic. AFAIK only a handful stable configurations for three bodies in orbit are known; most initial conditions are difficult (impossible?) to solve for analytically. It is a classic example in chaos theory.
AFAIK figure-8 is only stable configuration. others config like euler, lagrange configuration is can be easily broke by small disturbances.

figure-8 trajectory is very hard to calculate for me. all I can do is to search for a initial status (positon, velocity & relative positions) and let the simulator run by itself.

Netflix released a new TV show, 3 Body Problem, based on Liu Cixin's "Remembrance of Earth's Past" novel trilogy.

It comes from the creators of Game of Thrones and a top Google search trend for sci fi watching on streaming.

If you fancy the dopamine, I made a similar simulator with a randomize button which runs at a faster rate: https://crwi.uk/apps/three-body-problem/

It doesn't have proper collision detection, so the bodies sometimes spin off at a fast rate (division by a very low number). The code is available in Clojure and IMHO is quite beautiful.

I like this one, it took a couple of tries that didn't result in at least one the objects being yeeted out of the system
Would love to have the starting positions as query parameters so that I could share it!
I agree, would be a lot more fun that way to show interesting results. I just got distracted by other projects :)
what's with the strange symbols on the buttons?
it’s chinese characters. they means: random, figure-8 orbit, euler orbits, lagrange orbit, pause/go.
(comment deleted)
Fun anecdote, in the mid-1980s, I was bored at work and wrote a similar simulation in Pascal running on a Vax (11-780 if I remember well), and displaying on a tektro (emulation probably). I discovered after a bit that every time I played with it, all other users wondered why the Vax was suddenly frozen (not sure exactly why, probably the serial I/O) ... Oops.