# 07 - Clouds and atmosphere Clouds as a second, partly transparent shell over the Earth, and an atmosphere as a medium that scatters light. ![07 - Clouds and atmosphere](https://media.huira.space/examples/07_clouds_and_atmosphere.png) ## Data | File | What it is | From | |---|---|---| | `8k_earth_daymap.jpg` | The Earth's surface by day | [media.huira.space](https://media.huira.space/data/textures/solar_system/) | | `8k_earth_clouds.jpg` | The Earth's clouds | [media.huira.space](https://media.huira.space/data/textures/solar_system/) | Download them into this folder: ```bash curl -fLO https://media.huira.space/data/textures/solar_system/8k_earth_daymap.jpg curl -fLO https://media.huira.space/data/textures/solar_system/8k_earth_clouds.jpg ``` Licenses, and how to credit the data: [Earth textures](../getting_started/data.md#solar-system-textures). ## Run From this folder, in Python: ```bash python clouds_and_atmosphere.py 8k_earth_daymap.jpg 8k_earth_clouds.jpg ``` or in C++, built as in [Running the examples](index.md#c): ```bash ../../build/07_clouds_and_atmosphere 8k_earth_daymap.jpg 8k_earth_clouds.jpg ``` Each writes its images to `output/`, in the folder it runs from. ## Source The complete example, in both languages. [View this example on GitHub](https://github.com/huira-render/huira/tree/main/examples/07_clouds_and_atmosphere). `````{tab-set} ````{tab-item} Python :sync: python ```{literalinclude} ../../examples/07_clouds_and_atmosphere/clouds_and_atmosphere.py :language: python ``` ```` ````{tab-item} C++ :sync: cpp ```{literalinclude} ../../examples/07_clouds_and_atmosphere/clouds_and_atmosphere.cpp :language: cpp ``` ```` `````