Site icon R-bloggers

The Music of the Spheres

[This article was first published on R | Fronkonstin, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

He himself could hear the harmony of the Universe, and understood the music of the spheres, and the stars which move in concert with them, and which we cannot hear because of the limitations of our weak nature (Porphyry, Life of Pythagoras)

I love legends. The life of Pythagoras is riddled with them: from the discoverie of consonant intervals in music while walking past a forge to how give death to his disciple Hippasus throwing him overboard a ship after this one proved the existence of irrational numbers. My favorite is the one that heads this post: it is said that Pythagoras could hear the sound of the spheres, the harmony of the universe. No more no less.

Nowadays is accepted that Pythagoras could not deduce the mathematical rules of consonant intervals just weighting hammers. Not even is known if Hippasus (who paradoxically demonstrated the existence of irrationals thanks to the theorem of Pythagoras) was killed. Furthermore, it’s possible that Pythagoras suffered from tinnitus: a common dolence that provoques the perception of sound when no corresponding external sound is present. That, together with some dose of marketing, could explain why he listened to the evolution of the stars.

This post is a tribute to the things and people that inspire us. There are two great sources of inspiration in it:

If you take a look to the code you will find that all begins with a initial circular orbit where I place some of the planets (you can choose how many planets draw in total with the parameter nu_nodes). After that, I pick random planet from which will start a new orbit where I will place some other planets and so on (here is when I imitate some of the Lombardi’s arrangements for his structures). I expand each new orbit away from the sun, so that space gets a bit darker the farther we get from it. Apart from the parameter nu_nodes, you can also play with max_ratio (how big is the sun) and nu_branches (number of orbits) but you will find other places to tweak if you dive into de code. Here you have some other examples of what you can get:

Each one chooses which legends to believe and which not. I do believe that Pythagoras could listen to the music of the spheres: we must not forget that he already gave proof of having a superhuman ability discovering the most famous theorem in history.

The post The Music of the Spheres first appeared on Fronkonstin.
To leave a comment for the author, please follow the link and comment on their blog: R | Fronkonstin.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.