-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
121 lines (111 loc) · 5.3 KB
/
index.html
File metadata and controls
121 lines (111 loc) · 5.3 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Doomlaser - GitHub.io</title>
<script>
function changeImage()
{
var img = document.getElementById("img");
var href = document.getElementById("href");
img.src = images[x];
img.width=800;
href.href = links[x];
href.target = "_blank";
x++;
if(x >= images.length){
x = 0;
}
setTimeout("changeImage()", 4910);
}
/**
* Shuffles array in place. ES6 version
* @param {Array} a items An array containing the items.
*/
function shuffle(a) {
for (let i = a.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[a[i], a[j]] = [a[j], a[i]];
[links[i],links[j]] = [links[j],links[i]];
}
return a;
}
var images = [],
x = 0;
images[0] = "https://i.imgur.com/v6rCs4c.png";
images[1] = "https://i.imgur.com/LyfJvjd.gif";
images[2] = "https://i.imgur.com/eLePnQV.gif";
images[3] = "https://i.imgur.com/vzavKHd.gif";
images[4] = "https://i.imgur.com/AsFMsxO.gif";
images[5] = "https://i.imgur.com/o1zMh1u.gif";
images[6] = "https://i.imgur.com/caSDWkZ.png";
images[7] = "https://img.itch.zone/aW1hZ2UvNTkyMDEvMjY2MjcyLmdpZg==/105x83%23/hMHMYV.gif";
images[8] = "https://i.imgur.com/SGOjEKb.gif";
images[9] = "https://img.itch.zone/aW1hZ2UvNjE1NDIvMjc3OTQ3LmdpZg==/original/Mz9V8y.gif";
images[10] = "https://i.imgur.com/jvgITuk.gif";
images[11] = "https://i.imgur.com/37jRlr6.gif";
images[12] = "https://i.imgur.com/djYgND4.png";
images[13] = "https://i.imgur.com/MxJc1Ir.png";
images[14] = "https://img.itch.zone/aW1hZ2UvNjA4MjAvMjc0NTgxLmdpZg==/105x83%23/rXiW6w.gif";
images[15] = "https://i.imgur.com/WS6KxQO.gif";
images[16] = "http://doomlaser.com/images/deathsector2013.png";
images[17] = "https://i.imgur.com/XAvtDDd.png";
images[18] = "https://i.imgur.com/vcSNMP5.gif";
images[19] = "https://i.imgur.com/kLsiLPM.gif";
images[20] = "https://i.imgur.com/bw01KZF.gif";
images[21] = "https://i.imgur.com/n0F2sPo.gif";
images[22] = "https://i.imgur.com/NU3G3my.png";
images[23] = "https://i.imgur.com/QAKDpzV.gif";
var links = [];
links[0] = "http://doomlaser.tumblr.com/post/104127736973/new-project-fps-roguelike-the-primary-goal";
links[1] = "http://doomlaser.com/working-on-a-game-with-a-goblin/";
links[2] = "https://doomlaser.itch.io/gunsngrime";
links[3] = "http://doomlaser.com/working-on-a-game-with-a-goblin/";
links[4] = "https://kotaku.com/5895541/before-you-watch-the-movie-play-hunger-games-girl-on-fire";
links[5] = "https://www.youtube.com/watch?v=7Q8wLtDFtVQ#t=14s";
links[6] = "https://www.youtube.com/watch?v=x5Rj27IgYyk";
links[7] = "https://doomlaser.itch.io/standardbits";
links[8] = "https://www.linkedin.com/pulse/hacking-realtime-visualizations-brand-new-facebook-api-mark-johns/";
links[9] = "https://doomlaser.itch.io/shitgame";
links[10] = "https://twitter.com/Doomlaser";
links[11] = "https://twitter.com/Doomlaser/status/544920134931197952";
links[12] = "http://doomlaser.com/cursorcerer-hide-your-cursor-at-will/";
links[13] = "http://doomlaser.tumblr.com/post/104127736973/new-project-fps-roguelike-the-primary-goal";
links[14] = "https://doomlaser.itch.io/braindead";
links[15] = "https://kotaku.com/5101999/tap-tap-transforms-from-igame-into-imusic-platform";
links[16] = "http://doomlaser.com/deathsector";
links[17] = "https://doomlaser.itch.io/spacebarnacle";
links[18] = "https://www.youtube.com/watch?time_continue=43&v=oNdfFgrrdbQ";
links[19] = "http://doomlaser.com/two-games-for-the-igf-pirate-kart/#losmosquito";
links[20] = "https://www.tigsource.com/2008/03/22/gdc-2008-owl-country/";
links[21] = "http://forestambassador.com/post/117259787857/gibson-hyperdrive-is-a-game-about-crashing-by";
links[22] = "https://twitter.com/Doomlaser/status/987890597330644992";
links[23] = "forestambassador.com/post/117259787857/gibson-hyperdrive-is-a-game-about-crashing-by";
shuffle(images);
setTimeout("changeImage()", 0);
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2228346-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<!-- BEGIN Browser History required section -->
<link rel="shortcut icon" href="http://doomlaser.com/favicon.ico">
<!-- END Browser History required section -->
<meta name="robots" content="index,follow" />
<meta name="description" content="A roving visual carousel of Doomlaser video game and creative software projects." />
<body>
<center>
<br>
<p><a id="href"><img id="img" alt="Interactive Visual Projects"></a></p>
<p><a href="https://twitter.com/Doomlaser" target="_blank">
<img src="doomlaser_logo.png" alt="View Doomlaser on Twitter"></a>
</p>
</a>
</center>
</body>
</html>