Fix public directory

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-04-14 11:10:38 +01:00
parent 779d03ef6a
commit d33c83a59c
53 changed files with 19 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "b79CEmMvFc0" --cookies-from-browser firefox -o "assets/music/track1.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "b79CEmMvFc0" --cookies-from-browser firefox -o "./public/music/track1.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "OYGEEsY2ZfM" --cookies-from-browser firefox -o "assets/music/track2.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "OYGEEsY2ZfM" --cookies-from-browser firefox -o "./public/music/track2.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "beOj0XDRu7A" --cookies-from-browser firefox -o "assets/music/track3.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "beOj0XDRu7A" --cookies-from-browser firefox -o "./public/music/track3.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "Gks69utYrA0" --cookies-from-browser firefox -o "assets/music/track4.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "Gks69utYrA0" --cookies-from-browser firefox -o "./public/music/track4.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "bN4QUIS7xSs" --cookies-from-browser firefox -o "assets/music/track5.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "bN4QUIS7xSs" --cookies-from-browser firefox -o "./public/music/track5.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "ZFMaiu9tBBw" --cookies-from-browser firefox -o "assets/music/track6.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "ZFMaiu9tBBw" --cookies-from-browser firefox -o "./public/music/track6.mp3"
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "w8dWpLqKDQA" --cookies-from-browser firefox -o "assets/music/track7.mp3" yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 "w8dWpLqKDQA" --cookies-from-browser firefox -o "./public/music/track7.mp3"

View File

@@ -8,21 +8,21 @@ export const createCelestialBody = function (data, parent, depth = 0, isLast = f
if (data.detail === 2) { if (data.detail === 2) {
geometry = new THREE.IcosahedronGeometry(data.radius, detail); geometry = new THREE.IcosahedronGeometry(data.radius, detail);
material = new THREE.MeshPhongMaterial({ material = new THREE.MeshPhongMaterial({
map: loader.load("../assets/celestials/" + data.name + "/map.jpg"), map: loader.load("/celestials/" + data.name + "/map.jpg"),
bumpMap: loader.load("../assets/celestials/" + data.name + "/bump.jpg"), bumpMap: loader.load("/celestials/" + data.name + "/bump.jpg"),
bumpScale: 10, bumpScale: 10,
}); });
} else if (data.detail === 1 && data.emissive) { } else if (data.detail === 1 && data.emissive) {
geometry = new THREE.IcosahedronGeometry(data.radius, detail); geometry = new THREE.IcosahedronGeometry(data.radius, detail);
material = new THREE.MeshPhongMaterial({ material = new THREE.MeshPhongMaterial({
map: loader.load("../assets/celestials/" + data.name + "/map.jpg"), map: loader.load("/celestials/" + data.name + "/map.jpg"),
emissiveMap: loader.load("../assets/celestials/" + data.name + "/map.jpg"), emissiveMap: loader.load("/celestials/" + data.name + "/map.jpg"),
emissive: 0xffffff, emissive: 0xffffff,
}); });
} else if (data.detail === 1) { } else if (data.detail === 1) {
geometry = new THREE.IcosahedronGeometry(data.radius, detail); geometry = new THREE.IcosahedronGeometry(data.radius, detail);
material = new THREE.MeshPhongMaterial({ material = new THREE.MeshPhongMaterial({
map: loader.load("../assets/celestials/" + data.name + "/map.jpg"), map: loader.load("/celestials/" + data.name + "/map.jpg"),
}); });
} else { } else {
geometry = new THREE.SphereGeometry(data.radius, 64, 64); geometry = new THREE.SphereGeometry(data.radius, 64, 64);

View File

@@ -165,13 +165,13 @@ const main = function () {
// `Music // `Music
const music = [ const music = [
"assets/music/track1.mp3", "/music/track1.mp3",
"assets/music/track2.mp3", "/music/track2.mp3",
"assets/music/track3.mp3", "/music/track3.mp3",
"assets/music/track4.mp3", "/music/track4.mp3",
"assets/music/track5.mp3", "/music/track5.mp3",
"assets/music/track6.mp3", "/music/track6.mp3",
"assets/music/track7.mp3", "/music/track7.mp3",
]; ];
let currentMusicIndex = 0; let currentMusicIndex = 0;

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 336 KiB

After

Width:  |  Height:  |  Size: 336 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

View File

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 513 KiB

View File

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 190 KiB

View File

Before

Width:  |  Height:  |  Size: 279 KiB

After

Width:  |  Height:  |  Size: 279 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 318 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 275 KiB

After

Width:  |  Height:  |  Size: 275 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

Before

Width:  |  Height:  |  Size: 394 KiB

After

Width:  |  Height:  |  Size: 394 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 246 KiB

After

Width:  |  Height:  |  Size: 246 KiB

View File

Before

Width:  |  Height:  |  Size: 249 KiB

After

Width:  |  Height:  |  Size: 249 KiB