tunnel: intiation de la com officielle

major_edits: mail dans liens + graff overlay + simple click dans panneau 
'à propos'
This commit is contained in:
2026-04-04 02:04:40 +02:00
parent a5c9c73d51
commit 7c6e33d624
36 changed files with 716 additions and 94 deletions
@@ -2,5 +2,9 @@
{
"name": "vega",
"folder": 2
},
{
"name": "Drags and Nerds /",
"folder": 2
}
]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Calque_1" data-name="Calque 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 33.57 33.57">
<polygon points="23.83 12.81 23.83 15.51 23.86 15.53 18.05 15.53 18.05 9.71 18.07 9.74 20.77 9.74 16.79 4.02 16.77 4.02 12.81 9.74 15.51 9.74 15.53 9.71 15.53 15.53 9.71 15.53 9.74 15.51 9.74 12.81 4.02 16.78 4.02 16.81 9.74 20.77 9.74 18.07 9.71 18.05 15.53 18.05 15.53 23.86 15.51 23.83 12.81 23.83 16.78 29.56 16.81 29.56 20.77 23.83 18.07 23.83 18.05 23.86 18.05 18.05 23.86 18.05 23.83 18.07 23.83 20.77 29.56 16.79 29.56 16.77 23.83 12.81"/>
</svg>

After

Width:  |  Height:  |  Size: 597 B

+2 -2
View File
@@ -13,10 +13,10 @@ function togglePlayPause() {
// Function to refresh the pattern with a new random seed
const selectedSeeds = [53, 118, 506];
var seedCount = 2;
function refreshPattern() {
function refreshPattern(seed) {
timeOffset = performance.now();
//randomSeed = Math.floor(Math.random() * 1000,0);
randomSeed = selectedSeeds[seedCount];
randomSeed = seed;
gl.uniform1f(seedLocation, randomSeed);
if(!isPlaying){
isPlaying = true;
+9 -5
View File
@@ -114,9 +114,10 @@ const params = {
};
// Also refresh on page load
window.addEventListener('load', refreshPattern);
window.addEventListener('load', refreshPattern(506));
window.addEventListener('resize', updateCanvasSize);
// Initialize dat.gui
const gui = new dat.GUI({ autoplace: false });
gui.close();
@@ -192,9 +193,12 @@ function render(timestamp) {
animationID = requestAnimationFrame(render);
}
}
function refreshBackground(seed){
isPlaying = true;
refreshPattern(seed);
updateUniforms();
animationID = requestAnimationFrame(render);
}
// Start the animation loop
isPlaying = true;
refreshPattern();
updateUniforms();
animationID = requestAnimationFrame(render);
refreshBackground(506);