diff --git a/examples.html b/examples.html
index a53876c..a1ed4ad 100644
--- a/examples.html
+++ b/examples.html
@@ -254,24 +254,24 @@
const iframe = document.querySelector('.example-frame');
const codeButton = document.querySelector('.code-button');
const fullPageButton = document.querySelector('.fullpage-button');
-
+
iframe.src = path;
-
+
if (codeButton) {
codeButton.href = `https://github.com/sparkjsdev/spark/blob/main${path}`;
}
-
+
if (fullPageButton) {
fullPageButton.href = path;
}
-
+
document.querySelectorAll('.example-link').forEach(link => {
link.classList.remove('active');
if (link.getAttribute('data-example') === exampleKey) {
link.classList.add('active');
}
});
-
+
if (window.location.hash.substring(1) !== exampleKey) {
history.replaceState(null, null, `#${exampleKey}`);
}
@@ -280,10 +280,10 @@
function loadExamples() {
const panel = document.querySelector('.panel');
const iframe = document.querySelector('.example-frame');
-
+
const actionButtons = document.createElement('div');
actionButtons.classList.add('action-buttons');
-
+
const fullPageButton = document.createElement('a');
fullPageButton.classList.add('action-button', 'fullpage-button');
fullPageButton.target = '_blank';
@@ -293,7 +293,7 @@
`;
-
+
const codeButton = document.createElement('a');
codeButton.classList.add('action-button', 'code-button');
codeButton.target = '_blank';
@@ -431,6 +431,7 @@
Dynamic Lighting
Particle Animation
Particle Simulation
+ Splat Transitions
WebXR
GLSL Shaders
Debug Coloring