-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (83 loc) · 3.42 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!doctype html>
<html>
<!-- Hola -->
<head>
<title>Inicio</title>
<!-- Google tag (gtag.js) - Esto simplemente cuenta cuánta gente visitó esta página, es un servicio de Google Analytics-->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VTYL3XCLEJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VTYL3XCLEJ');
</script>
<meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"> <!--Fuerza a re-cargar el cache-->
<link rel="icon" href="./images/logoBLR.png" type="image/icon type">
<link rel="stylesheet" href="./styles/Index.css">
<link rel="preload" href="./fonts/Inter.var.woff2" as="font" type="font/woff2" crossorigin>
</head>
<body>
<h1 style ="text-align: center">
Hello World!<br>
</h1>
<div>
Esta es una simple página web de prueba. <s>Capaz se puede hostear gratis de alguna otra forma o con un nombre de dominio personalizado.</s> Logrado!
<br>
Funciona bien en móvil pero para cierta feature es más cómodo desde una PC.
<br><br>
<button onclick="location.href = './WebGPU/Cells_GPU.html';" class="bold">Ir a Cells GPU</button>
<p class="inline-note" >Simulador de partículas customizable</p>
<br><br>
<button onclick="location.href = './WebGPU/Cells_3D.html';" class="bold">Ir a Cells 3D</button>
<p class="inline-note" >33% más direcciones!</p>
<br><br>
<button onclick="location.href = './WebGPU/N-Body_GPU.html';" >Ir a N-Body</button>
<button onclick="location.href = './WebGPU/Bouncers_GPU.html';">Ir a Bouncers</button>
<p class="inline-note" >Controles: Space/W/S/R</p>
<br><br>
<button onclick="location.href = './WebGPU/GoL_Main.html';">Ir a GoL en GPU</button>
</div>
<br>
<div style="text-align: center; margin: 0;">
<div id="image-container">
<a id="image-link" href="./Cells.html" title="Ir a Cells"></a>
<div id="image-label" class="image-label" hidden></div>
<div id="loading-zone">
<div class="loading-indicator"> ↺ </div>
</div>
</div>
<script src="./scripts/cargarImagen.js"></script>
</div>
<br>
<div style="width: 90%;">
<button onclick="beep()"> 🔊 Boop! </button>
Cuenta la leyenda que si el botón funciona vas a tener 10 segundos de buena suerte, seguidos de 3 segundos de MUY mala suerte,
seguidos de 1 segundo de suerte ligeramente buena. Pero sólo a veces.
</div>
<p ></p>
<img id="btclogo"
src="https://icons.iconarchive.com/icons/cjdowner/cryptocurrency-flat/48/Bitcoin-BTC-icon.png"
title="BTC gratis disponible: 0,01024 btc" alt="bitcoin logo" onclick="swap_play()">
<script>
const beepsound = new Audio("./sounds/blop.mp3");
const beepsound2 = new Audio("./sounds/a.mp3");
const clownsound = new Audio("./sounds/clown.mp3");
let swapped = false;
beep=()=> {
if (Math.random() > 0.98){
beepsound2.play()} else {
beepsound.play();
}
}
swap_play=()=> {
if (swapped == false){
document.getElementById("btclogo").src = "https://cdn.betterttv.net/emote/5c50edcb5e0cb51b417faf37/3x.webp";
document.getElementById("btclogo").title = "";
swapped = true;
}
clownsound.play();
}
</script>
</body>
</html>