-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (59 loc) · 2.88 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
<html>
<head>
<title>Moodly</title>
<link rel="stylesheet" href="css/modal.css" />
<link rel="stylesheet" href="css/input.css" />
<link rel="stylesheet" href="css/start.css" />
<link rel="stylesheet" href="css/layout.css" />
<link rel="stylesheet" href="css/icomoon.css" />
<link href="https://fonts.googleapis.com/css?family=Barlow|Oleo+Script+Swash+Caps" rel="stylesheet">
</head>
<body>
<script type="text/javascript" src="js/models/conductor.js"></script>
<script type="text/javascript" src="js/colours.js"></script>
<script type="text/javascript" src="js/brushes/bars.js"></script>
<script type="text/javascript" src="js/brushes/blanket.js"></script>
<script type="text/javascript" src="js/brushes/brushHelper.js"></script>
<script type="text/javascript" src="js/brushes/circles.js"></script>
<script type="text/javascript" src="js/brushes/curveHelper.js"></script>
<script type="text/javascript" src="js/brushes/curveBubble.js"></script>
<script type="text/javascript" src="js/brushes/curveLine.js"></script>
<script type="text/javascript" src="js/brushes/curveNet.js"></script>
<script type="text/javascript" src="js/brushes/curveSpray.js"></script>
<script type="text/javascript" src="js/brushes/curveStar.js"></script>
<script type="text/javascript" src="js/brushes/target.js"></script>
<script type="text/javascript" src="js/lib/curve_calc.min.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/start.js"></script>
<canvas id="start-canvas" class="start-canvas"></canvas>
<div class="start-wrapper">
<h1>Moodly</h1>
<div class="actions">
<a class="button" href="art.html">Start</a>
<button id="wtf">What the F#%$?</button>
</div>
</div>
<div id="wtfmodal" class="modal">
<div class="modal-content">
<h2>Don't freak out! I'll explain what this is</h2>
<p>This is yet another silly canvas experiment, but this one is much cooler I promise</p>
<b>What to do:</b>
<ol>
<li>Talk to your computer about anything</li>
<li>The canvas will paint random stuff based on the sentiment of what you've said</li>
</ol>
<b>Things you will need</b>
<dl>
<dd>🎶 a voice (seems important)</dd>
<dd>🎤 a computer with a microphone</dd>
<dd>🔑 a
<a target="_blank" href="https://azure.microsoft.com/en-us/services/cognitive-services/speech/">Microsoft Bing Speech API key</a> (free tier)</dd>
<dd>🔑 a
<a target="_blank" href="https://azure.microsoft.com/en-gb/services/cognitive-services/text-analytics/">Microsoft Text Analytics API key</a> (free tier)</dd>
</dl>
<p>If you have all those things and you're ready to give it a go, close this popup, click "START" and off you go!</p>
</div>
<button class="modal-button" id="closewtf">Close</button>
</div>
</body>
</html>