import streamlit as st import numpy as np import time import random # Add the JavaScript and CSS code st.set_page_config(layout="wide") st.write(""" """, unsafe_allow_html=True) # Add the stars num_stars = 300 for _ in range(num_stars): x = random.randint(0, st.session_state.get('width', 1920)) y = random.randint(0, st.session_state.get('height', 1080)) st.markdown(f'
', unsafe_allow_html=True) # Add the planets num_planets = 5 for _ in range(num_planets): x = random.randint(0, st.session_state.get('width', 1920)) y = random.randint(0, st.session_state.get('height', 1080)) st.markdown(f'', unsafe_allow_html=True) # Add the astronaut x = random.randint(0, st.session_state.get('width', 1920)) y = random.randint(0, st.session_state.get('height', 1080)) st.markdown(f'', unsafe_allow_html=True) # Add the flowers num_flowers = 50 for _ in range(num_flowers): x = random.randint(0, st.session_state.get('width', 1920)) y = random.randint(0, 0) st.markdown(f'', unsafe_allow_html=True) # Add the YouTube video st.markdown( """