awacke1 commited on
Commit
d92e279
·
verified ·
1 Parent(s): fd62e10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 = 38400;
16
- canvas.height = 21600;
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=21600)
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()