<filename>src/main.py
from manim.mobject.geometry import Circle
from manim.animation.creation import Create
from manim.scene.scene import Scene
from manim.utils.color import Colors
import streamlit as st

color = st.text_input("Give Hex Fill color for circle", value=Colors.blue_e.value)
opacity = st.slider("Choose opacity", min_value=0.0, max_value=1.0, value=0.45)

class SquareToCircle(Scene):
    def construct(self):
        circle = Circle()                   
        circle.set_fill(color, opacity=opacity)
        self.play(Create(circle))

SquareToCircle().render()

st.video('/app/media/videos/1080p60.0/SquareToCircle.mp4')