diff --git a/ALVARIZA-BILLAR_DESERT_KANY/Threejs.html b/ALVARIZA-BILLAR_DESERT_KANY/Threejs.html index 47b561a07fe4aedfb086a135bdd03c1e636a2f64..aa103fb092532d83894af6b274c86e1c7a363e33 100644 --- a/ALVARIZA-BILLAR_DESERT_KANY/Threejs.html +++ b/ALVARIZA-BILLAR_DESERT_KANY/Threejs.html @@ -1,34 +1,42 @@ <!DOCTYPE html> <html> <head> -<meta charset="UTF-8"> -<title>Three.js</title> -<style> -body { margin: 0; } -canvas { width: 100%; height: 100% } -.centre{text-align: center;} -</style> + <meta charset="UTF-8"> + <title>Three.js</title> + <style> + body { + margin: 0; + } + + canvas { + width: 100%; + height: 100% + } + + .centre { + text-align: center; + } + </style> </head> <body> -<!-- API importe du site de Three.js --> -<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script> -<script type="importmap"> -{ -"imports": { -"three": "https://threejs.org/build/three.module.js", -"three/addons/": "https://threejs.org/examples/jsm/" + <!-- API importe du site de Three.js --> + <script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script> + <script type="importmap"> + { + "imports": { + "three": "https://threejs.org/build/three.module.js", + "three/addons/": "https://threejs.org/examples/jsm/" -} -} -</script> -<!-- JQuery pour afficher les erreurs --> -<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js -"></script> -<!-- Un titre centre --> -<h1 class="centre"> projet peinture </h1> -<div id="webGL" class="centre"></div> -<!-- Mon script avec un chemin relatif --> -<script type="module" src="projet.js"></script> -<p class="centre"> projet </p> + } + } + </script> + <!-- JQuery pour afficher les erreurs --> + <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script> + <!-- Un titre centre --> + <h1 class="centre"> projet peinture </h1> + <div id="webGL" class="centre"></div> + <!-- Mon script avec un chemin relatif --> + <script type="module" src="projet.js"></script> + <p class="centre"> projet </p> </body> </html> \ No newline at end of file