Skip to content

Commit

Permalink
feat: add initial HTML, CSS, and JavaScript for Raging Sea project
Browse files Browse the repository at this point in the history
  • Loading branch information
andres112 committed Dec 26, 2024
1 parent 0c4fb8d commit d5c1074
Show file tree
Hide file tree
Showing 7 changed files with 4,396 additions and 1 deletion.
Empty file added 22-raging-sea/dist/.gitkeep
Empty file.
4,380 changes: 4,380 additions & 0 deletions 22-raging-sea/dist/assets/index-BDruUcP0.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 22-raging-sea/dist/assets/index-BDruUcP0.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 22-raging-sea/dist/assets/index-Fi76PK1B.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*{margin:0;padding:0}html,body{overflow:hidden}.webgl{position:fixed;top:0;left:0;outline:none}
Binary file not shown.
13 changes: 13 additions & 0 deletions 22-raging-sea/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Raging sea</title>
<script type="module" crossorigin src="./assets/index-BDruUcP0.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Fi76PK1B.css">
</head>
<body>
<canvas class="webgl"></canvas>
</body>
</html>
2 changes: 1 addition & 1 deletion 22-raging-sea/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const scene = new THREE.Scene();

// Environment map
let skybox = null;
rgbeLoader.load('/envMaps/autumn_field_puresky_2k.hdr', (envMap) => {
rgbeLoader.load('envMaps/autumn_field_puresky_2k.hdr', (envMap) => {
envMap.colorSpace = THREE.SRGBColorSpace;
scene.environment = envMap;
scene.background = envMap;
Expand Down

0 comments on commit d5c1074

Please sign in to comment.