Skip to content

Commit eda2f9d

Browse files
committed
Merge branch 'master' of github.com:1p22geo/schrodinger
2 parents c445c10 + 6c5829e commit eda2f9d

File tree

4 files changed

+46
-15
lines changed

4 files changed

+46
-15
lines changed

static/index.html

+19-14
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
<div
2626
class="w-content mx-auto text-center font-sans flex flex-col items-center"
2727
>
28-
<h2 class="text-xl float3S coolh">
28+
<h2 class="text-xl coolh">
2929
Schrödinger's equation - a journey of physics simulation
3030
</h2>
31-
<p class="m-8">
31+
<p class="m-8 sidenote">
3232
DISCLAIMER: Yes, we know the difference between
3333
<code>Schrodinger</code> and <code>Schrödinger</code>. But, for
3434
simplicity (and typing speed), they will be used interchangably. I
@@ -38,14 +38,14 @@ <h2 class="text-xl float3S coolh">
3838
This project is not finished yet. And it is definitely not yet compliant
3939
with realistic physics standards. At least, we tried.
4040
</p>
41-
<h2 class="text-xl m-4 mt-8">Majorly misunderstood explaination</h2>
42-
<p class="m-8">
41+
<h2 class="text-xl m-4 mt-8 coolh">Majorly misunderstood explaination</h2>
42+
<p class="m-4 mb-0">
4343
According to a pretty modern theory, quantum mechanics, all matter in
4444
the universe is composed of tiny <code>particles</code>, the basic
4545
building blocks of the world. Now, we have something like a "periodic
4646
table" of particles. The standard model.
4747
</p>
48-
<figure>
48+
<figure class="cooldiv p-2 float3">
4949
<img
5050
src="./media/png/standard_model.png"
5151
alt="The Standard Model of Elementary particles"
@@ -60,7 +60,7 @@ <h2 class="text-xl m-4 mt-8">Majorly misunderstood explaination</h2>
6060
>
6161
</figcaption>
6262
</figure>
63-
<p class="m-8">
63+
<p class="m-4">
6464
But here's the thing. Particles are so small that we can't really
6565
measure where they are. And on this scale, when the particle size is
6666
noting compared to the uncertainty of its position (or momentum, for
@@ -71,7 +71,7 @@ <h2 class="text-xl m-4 mt-8">Majorly misunderstood explaination</h2>
7171
that there is a special equation - the
7272
<b>Heisenberg Uncertainty principle</b>, linking those values together.
7373
</p>
74-
<figure class="flex flex-col items-center">
74+
<figure class="flex flex-col items-center cooldiv p-4 float2S">
7575
<img
7676
src="./media/svg/heisenberg.svg"
7777
alt="Heisenberg's uncertainty principle"
@@ -115,15 +115,15 @@ <h2 class="text-xl m-4 mt-8">Majorly misunderstood explaination</h2>
115115
point implies... a function. The <b>wave function</b> is an object
116116
closest to the position of a subatomic particle.
117117
</p>
118-
<h2 class="text-xl m-4 mt-8">Properties of the wave function</h2>
118+
<h2 class="text-xl m-4 mt-8 coolh">Properties of the wave function</h2>
119119
<p class="m-8">
120120
The wave function assigns a complex number to each point in space and
121121
time. The square of this value is the propability density. It is a
122122
finite number, not infinitely small. The propability of the particle
123123
existing in a given range of space is a definite integral of the square
124124
of the absolute value of the wave function.
125125
</p>
126-
<figure>
126+
<figure class="cooldiv p-2 float4S">
127127
<img
128128
src="./media/hydrogen/level_1.png"
129129
alt="An electron in the hydrogen atom"
@@ -155,8 +155,8 @@ <h2 class="text-xl m-4 mt-8">Properties of the wave function</h2>
155155
and repeled from places where their wave function is lower than the
156156
potential around them.
157157
</p>
158-
<h2 class="text-xl m-4 mt-8">Evolution in time</h2>
159-
<figure>
158+
<h2 class="text-xl m-4 mt-8 coolh">Evolution in time</h2>
159+
<figure class="cooldiv p-6 float1">
160160
<img
161161
src="./media/svg/schrodinger.svg"
162162
alt="The Schrodinger's equation in its entirety."
@@ -187,7 +187,7 @@ <h2 class="text-xl m-4 mt-8">Evolution in time</h2>
187187
representation of how particles move. Actually respecting quantum
188188
physics.
189189
</p>
190-
<figure>
190+
<figure class="cooldiv float2S p-2">
191191
<img
192192
src="./media/gif/gauss_empty.gif"
193193
alt="A photon moving through vacuum"
@@ -204,7 +204,11 @@ <h2 class="text-xl m-4 mt-8">Evolution in time</h2>
204204
I made the graph myself too...
205205
</figcaption>
206206
</figure>
207-
<h2 class="text-xl m-4 mt-8">Limitations</h2>
207+
<div class="editornote bottom-10 left-80">
208+
<p>Editor's note:</p>
209+
<p>Stop before I start copyrighting these gradients</p>
210+
</div>
211+
<h2 class="text-xl m-4 mt-8 coolh">Limitations</h2>
208212
<p class="m-8">
209213
1. Relativity<br />
210214
Our library simulates only <b>non-relativistic</b> quantum physics. And
@@ -226,6 +230,7 @@ <h2 class="text-xl m-4 mt-8">Limitations</h2>
226230
instead of implementing the tiniest and newest releases in difficult
227231
physics papers.
228232
</p>
233+
<p class="editornote top-[22px] left-[500px]">yeah im really smart huh</p>
229234
<p class="m-8">
230235
3. Quantum chromodynamics<br />
231236
My complete misunderstanding of quarks and hadrons, and color charge
@@ -252,7 +257,7 @@ <h2 class="text-xl m-4 mt-8">Limitations</h2>
252257
realism. If you need more realism, install a quantum physics Micro$oft
253258
Minecraft &reg;&copy; texture pack.
254259
</p>
255-
<h6 class="text-xs">
260+
<h6 class="text-xs sidenote">
256261
Yes, I will be refering to it as Micro$oft Minecraft &reg;&copy;. That
257262
company totally destroyed this game. I am an open-source supporter and
258263
you will not convince me otherwise.

static/path1.png

5.63 KB
Loading

static/path2.png

5.57 KB
Loading

static/style.css

+27-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ header:hover {
5555
}
5656

5757
.authors {
58+
border: 10px solid;
59+
border-image-slice: 1;
60+
border-width: 4px;
61+
border-image-source: linear-gradient(to left, #b6c216, #3ba9b1);
5862
position: relative;
5963
width: fit-content;
6064
margin: auto;
@@ -74,7 +78,7 @@ header:hover {
7478
position: absolute;
7579
inset: -1px;
7680
transform: translate3d(6px, 6px, -1px);
77-
background: linear-gradient(to left, #b7c216c7, #3ba9b1b7);
81+
background: linear-gradient(to left, #b7c2165e, #3ba9b15f);
7882
}
7983

8084
.coolerdiv {
@@ -89,6 +93,28 @@ header:hover {
8993
-webkit-transition: 0.5s;
9094
-moz-transition: 0.5s;
9195
transition: 0.5s;
96+
background-image: url("path2.png");
97+
background-repeat: no-repeat;
98+
background-size: cover;
99+
100+
}
101+
102+
.sidenote{
103+
color: rgba(51, 51, 51, 0.601);
104+
scale: 90%;
105+
}
106+
107+
.editornote{
108+
padding: 1rem;
109+
border: 10px solid;
110+
border-image-slice: 1;
111+
border-width: 5px;
112+
border-image-source: linear-gradient(to left, #c28616, #d1eb42);
113+
position: relative;
114+
scale: 90%;
115+
background-color: rgb(255, 255, 255);
116+
box-shadow: 10px 10px rgba(53, 53, 53, 0.089);
117+
margin: -40px;
92118
}
93119

94120
/* THE FLOATING */

0 commit comments

Comments
 (0)