From c9fcfc1511c86af7cd56c964deaab9a4cdf25123 Mon Sep 17 00:00:00 2001 From: ALGUL Sefer <sefer.algul4@etu.univ-lorraine.fr> Date: Mon, 10 Feb 2025 16:38:48 +0000 Subject: [PATCH] Update index.html --- ALGUL/index.html | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/ALGUL/index.html b/ALGUL/index.html index 76e27dc..ef576cf 100644 --- a/ALGUL/index.html +++ b/ALGUL/index.html @@ -1 +1,46 @@ -Le travail n'a pas encore commencé!!! \ No newline at end of file +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8" /> + <title>Projet WebGL</title> + <style> + body { + margin: 0; + } + canvas { + width: 100%; + height: 100%; + } + .centre { + text-align: center; + } + </style> + </head> + <body> + <!-- Chargement du polyfill pour les import maps --> + <script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script> + + <script type="importmap"> + { + "imports": { + "three": "https://cdn.jsdelivr.net/npm/three@0.138.0/build/three.module.js", + "three/addons/controls/OrbitControls.js": "https://cdn.jsdelivr.net/npm/three@0.138.0/examples/jsm/controls/OrbitControls.js", + "three/addons/loaders/OBJLoader.js": "https://cdn.jsdelivr.net/npm/three@0.138.0/examples/jsm/loaders/OBJLoader.js", + "Coordinates": "./lib/Coordinates.js", + "dat.gui": "https://cdn.jsdelivr.net/npm/dat.gui@0.7.9/build/dat.gui.module.js" + } + } + </script> + + <!-- JQuery pour afficher les erreurs --> + <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script> + + <h1 class="centre">Projet WebGL</h1> + <div id="webGL" class="centre"></div> + + <!-- Votre script principal --> + <script type="module" src="index.js"></script> + + <p class="centre">Projet réalisée par Sefer, Louis et Mehdi</p> + </body> +</html> -- GitLab