mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

17K
active users

#pythonprogramming

19 posts14 participants1 post today

Oh look, a rainbow! Exploring the Visible Spectrum with Python Part 1
In this article I write Python code to calculate the frequencies, wavelengths, energies and RGB values of light across the visible spectrum. (Next week in Part 2 I plot the data using Matplotlib.)
#python #pythonprogramming #physics #numpy #matplotlib #light #spectrum
codedrome.substack.com/p/visib

CodeDrome · Exploring the Visible Spectrum with Python Part 1By Chris Webb