Skip to content

Commit 2086da2

Browse files
committed
Updated website content
1 parent fb192b4 commit 2086da2

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

css/styles.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,13 @@ body {
167167

168168
/* Video Styles */
169169
.project-video {
170-
width: 846px;
171-
height: 840px;
172-
max-width: 100%;
173-
object-fit: contain;
174-
margin-left: auto;
175-
margin-right: auto;
170+
width: 100%;
171+
height: auto;
172+
max-width: 800px; /* Base max-width for larger videos */
176173
display: block;
177-
background: #000;
174+
margin: 0 auto;
175+
border-radius: 8px;
176+
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
178177
}
179178

180179
/* Project Content Styles */

engine.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<a href="index.html" class="back-link">← Back to Portfolio</a>
6868

6969
<div class="project-header">
70-
<h1>3D Physics Game Engine</h1>
70+
<h1>3D Physics Game Engine (WIP)</h1>
7171
<a href="https://github.com/ZZBaron/3D-Physics-Engine" class="github-link" target="_blank">View on GitHub</a>
7272
</div>
7373
<!-- Img for gif, video for mp4 -->

index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,20 @@ <h2 class="section-title" data-aos="fade-up">My Projects</h2>
3939
<h3 class="section-subtitle">Physics Simulations</h3>
4040

4141
<div class="simulation-item">
42-
<img src="images/physics-engine-demo.gif" alt="3D Physics Game Engine" class="project-video">
42+
43+
<video class="project-video" width="800" height="462" autoplay loop muted playsinline>
44+
<source src="media/bad engine.mp4" type="video/mp4">
45+
Your browser does not support the video tag.
46+
</video>
47+
4348
<div class="project-content">
44-
<h4><a href="engine.html" class="project-link">3D Physics Game Engine</a></h4>
49+
<h4><a href="engine.html" class="project-link">3D Physics Game Engine (WIP) </a></h4>
4550
<p>A real-time physics engine built with OpenGL and C++, featuring rigid body dynamics, collision detection, and advanced numerical integration for accurate physics simulation.</p>
4651
</div>
4752
</div>
4853

4954
<div class="simulation-item">
50-
<video class="project-video" controls>
55+
<video class="project-video" width="600" height="595" autoplay loop muted playsinline>
5156
<source src="media/Black Hole Sim.mp4" type="video/mp4">
5257
Your browser does not support the video tag.
5358
</video>
@@ -59,10 +64,7 @@ <h4><a href="blackhole.html" class="project-link">Black Hole Light Ray Simulatio
5964
</div>
6065

6166
<div class="simulation-item">
62-
<video class="project-video" controls>
63-
<source src="path/to/hydrogen-simulation.mp4" type="video/mp4">
64-
Your browser does not support the video tag.
65-
</video>
67+
<img src="media/hydrogen_orbital_rotation_numerical.gif" alt="Hydrogen Orbital Visualization" class="project-video" width="800" height="400">
6668
<div class="project-content">
6769
<h4><a href="Horbitals.html" class="project-link">Hydrogen Wavefunction Eigenstates</a></h4>
6870
<p>Visualization of quantum mechanical hydrogen atom eigenstates, showing
@@ -88,7 +90,7 @@ <h3>Research Paper 1</h3>
8890
<section id="contact" class="section contact">
8991
<div class="contact-content">
9092
<h2 class="section-title" data-aos="fade-up">Get in Touch</h2>
91-
<form class="contact-form">
93+
<form class="contact-form" action="https://formsubmit.co/5e1750a993629b2de545d9bd1e05a73e " method="POST">
9294
<div class="form-group">
9395
<label for="name">Name</label>
9496
<input type="text" id="name" name="name" required>

0 commit comments

Comments
 (0)