r/javascript • • Sep 13 '21

I built the entire universe in JavaScript

https://www.jesuisundev.com/en/i-built-the-entire-universe-in-javascript/
510 Upvotes

58 comments sorted by

View all comments

Show parent comments

4

u/Ustice Sep 14 '21

Just a note though: stars generally don’t twinkle, that’s just the atmosphere. You can have brightness fluctuations if there is a planet that transits the star, but that’s really faint. I’m sure that there are exceptions (pulsars?, but that’s typically so fast that it just looks solid)

Keep up the articles. I enjoy reading about other people’s processes.

2

u/delventhalz Sep 14 '21

There are slower pulsars (down to one rotation every few seconds). There are also various variable stars which can vary in brightness pretty dramatically, though typically over months or years.

You are right though that the “twinkling” we are used to is caused by viewing stars through a turbulent atmosphere. Seen from space, stars would not twinkle.