Interactive astrophysics tool combining Python modelling and web-based visualisation.
This project shows how the radiation curve of a star changes with temperature.
Users can explore:
These curves show how the intensity and peak wavelength change with temperature.
Hotter objects emit more energy and peak at shorter wavelengths.
As temperature increases, the peak wavelength shifts toward shorter (bluer) wavelengths.
Stars appear red, yellow, or blue depending on their surface temperature.
The visible spectrum is only a small part of the full emission range.
A blackbody emits radiation across a continuous range of wavelengths. The peak wavelength depends on temperature:
λmax = b / T
where:
As temperature increases, the peak shifts towards shorter wavelengths.
Blackbody radiation is important in:
Code in this repository is released under the MIT Licence.
Images, diagrams, written explanations, and educational content are © 2026 Biswajit Jana unless otherwise stated.
Please credit this repository if you reuse or adapt any visual or explanatory material.
Educational images and written explanations are licensed under CC BY 4.0.
Attribution is required.
Suggested attribution:
“Blackbody Radiation Visualiser by Biswajit Jana — https://github.com/Biswajit1999/blackbody-radiation-visualiser”
Run:
```bash pip install -r requirements.txt python main.py