-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (130 loc) · 5.09 KB
/
index.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#111111">
<title>pixelPhysics</title>
<link rel="shortcut icon" href="./favicon.ico?" type="image/x-icon">
<link rel="icon" href="./favicon.ico?" type="image/x-icon">
<link rel="stylesheet" href="./style.css">
<meta property="og:image" content="https://raw.githubusercontent.com/ray-pH/pixelPhysics/main/img/pxpy.png"/>
<meta property="og:description" content="Grid Based Physics Simulation"/>
<meta property="og:url"content="https://ray-ph.github.io/pixelPhysics"/>
<meta property="og:title" content="PixelPhysics">
</head>
<body>
<div class="page">
<div class="header">
<span class="title">PixelPhysics</span>
<a href="https://github.com/ray-pH/pixelPhysics">GitHub</a>
<!-- <a href="https://github.com/ray-pH">ray-pH</a> -->
<a href="https://ray-ph.github.io/">ray-pH</a>
<span class="right">·</span>
</div>
<div class="container">
<div class="item" id="div_qWavefun">
<div class="eq">
iħ
<div class="frac">
<span>∂</span>
<span class="bottom">∂t</span>
</div>
| ψ >
=
[
<div class="frac">
<span> </span>
<span class="bottom"> </span>
</div>
<div class="frac">
<span>ħ²</span>
<span class="bottom">2m</span>
</div> ∇²
+
V̂
]
| ψ >
</div>
<img src="./img/px_qWavefun.png">
Quantum Wavefunction
</div>
<div class="item" id="div_Gravity">
<div class="eq">
∇ ⋅ g̅
=
<div class="frac">
<span> </span>
<span class="bottom"> </span>
</div>
∇² φ
=
-4πG ρ
</div>
<img src="./img/px_pxGravity.png">
Gravity
</div>
<div class="item" id="div_fluidFlow">
<div class="eq">
ρ [
<div class="frac">
<span>∂ u̅</span>
<span class="bottom">∂t</span>
</div>
+
( u̅ ⋅ ∇ ) u̅
]
=
- ∇ p
</div>
<img src="./img/px_fluidFlow.png">
Fluid Dynamics
</div>
<div class="item" id="div_pxElectromagnet">
<div class="eq">
∇ × E̅ =
<div class="frac">
<span> </span>
<span class="bottom"> </span>
</div>
<div class="frac">
<span>∂B̅</span>
<span class="bottom">∂t</span>
</div>
;
∇ × B̅ =
<div class="frac">
<span>1</span>
<span class="bottom">c²</span>
</div>
<div class="frac">
<span>∂E̅</span>
<span class="bottom">∂t</span>
</div>
</div>
<img src="./img/holder.jpg">
Electromagnetism
<span class="unfinished"> (In Progress)</span>
</div>
</div>
<div class="desc">
Grid based real time Physics simulation in the browser
</div>
</div>
</body>
<script>
let div_qWavefun = document.getElementById("div_qWavefun");
let div_Gravity = document.getElementById("div_Gravity");
let div_fluidFlow = document.getElementById("div_fluidFlow");
//div_qWavefun.onclick = () => {window.open("https://ray-ph.github.io/px_qWavefun", "_self")};
//div_Gravity.onclick = () => {window.open("https://ray-ph.github.io/px_pxGravity", "_self")};
//div_fluidFlow.onclick = () => {window.open("https://ray-ph.github.io/px_fluidFlow", "_self")};
div_qWavefun.onclick = () => {window.open( "../px_qWavefun", "_self")};
div_Gravity.onclick = () => {window.open( "../px_pxGravity", "_self")};
div_fluidFlow.onclick = () => {window.open("../px_fluidFlow", "_self")};
</script>
</html>