Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def create_animation_app():
|
|
12 |
const ctx = canvas.getContext('2d');
|
13 |
|
14 |
// Set canvas size
|
15 |
-
canvas.width =
|
16 |
-
canvas.height =
|
17 |
|
18 |
let t = 0;
|
19 |
|
@@ -94,7 +94,7 @@ def create_animation_app():
|
|
94 |
html_content = css + js_code
|
95 |
|
96 |
# Display using st.components.v1.html
|
97 |
-
st.components.v1.html(html_content, height=
|
98 |
|
99 |
if __name__ == "__main__":
|
100 |
create_animation_app()
|
|
|
12 |
const ctx = canvas.getContext('2d');
|
13 |
|
14 |
// Set canvas size
|
15 |
+
canvas.width = 3840;
|
16 |
+
canvas.height = 2160;
|
17 |
|
18 |
let t = 0;
|
19 |
|
|
|
94 |
html_content = css + js_code
|
95 |
|
96 |
# Display using st.components.v1.html
|
97 |
+
st.components.v1.html(html_content, height=2160)
|
98 |
|
99 |
if __name__ == "__main__":
|
100 |
create_animation_app()
|