tunnel: intiation de la com officielle
major_edits: mail dans liens + graff overlay + simple click dans panneau 'à propos'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user