-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (35 loc) · 1.3 KB
/
Copy pathindex.html
File metadata and controls
37 lines (35 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Physics Lab Simulations</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@stlite/browser@1.8.1/build/stlite.css"
/>
</head>
<body>
<div id="root"></div>
<script type="module">
import {mount} from "https://cdn.jsdelivr.net/npm/@stlite/browser@1.8.1/build/stlite.js";
mount(
{
requirements: ["numpy", "plotly"],
entrypoint: "Simulations.py",
files: {
"Simulations.py": {url: "./Simulations.py"},
"pages/1_Linear_Motion.py": {url: "./pages/1_Linear_Motion.py"},
"pages/2_Projectile_Motion.py": {url: "./pages/2_Projectile_Motion.py"},
"pages/3_Oscillations.py": {url: "./pages/3_Oscillations.py"},
"src/lab_simulations_python/__init__.py": {url: "./src/lab_simulations_python/__init__.py"},
"src/lab_simulations_python/linear_motion.py": {url: "./src/lab_simulations_python/linear_motion.py"},
"src/lab_simulations_python/projectile.py": {url: "./src/lab_simulations_python/projectile.py"},
"src/lab_simulations_python/oscillations.py": {url: "./src/lab_simulations_python/oscillations.py"},
},
},
document.getElementById("root")
);
</script>
</body>
</html>