-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmatch.php
executable file
·146 lines (139 loc) · 4.72 KB
/
match.php
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<html>
<head>
<title>Match</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="styles/synthesize_home_styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/processing.js/1.6.3/processing.min.js"></script>
<style>
#matchTitle img {
width:225px;
margin-top:40px;
}
.cuteform-elt.cuteform-selected {
border-width: 4px;
border-style: solid;
border-color: white;
}
.header-temp{
color:#82caed;
font-family: 'Letter Gothic Std';
font-size: 19pt;
text-align:center;
opacity:0.7;
}
.header-temp-body {
color:#ed82ca;
font-family: 'Letter Gothic Std';
font-size: 15pt;
opacity:0.7;
font-weight:900;
}
.header-temp-body-col {
color:#ed82ca;
font-family: 'Letter Gothic Std';
font-size: 13pt;
width: 100%;
opacity:0.7;
}
#inputURL {
width:250px;
height: 30px;
opacity:0.8;
border: 1px solid #82caed;
background:none;
font-family: 'Letter Gothic Std';
font-size: 12pt;
padding: 2px;
color: #82caed;
padding-left: 7px;
}
#inputURL {
position: relative;
margin-left:50px;
}
#submit {width: 250px;
height: 30px;
border: none;
background:none;
font-family: 'Letter Gothic Std';
font-size: 12pt;
padding: 2px;
color: #82caed;
/*margin-left:930px;*/
opacity: 0.7;
margin-left: 60px;}
#submit:hover {width: 250px;
height: 30px;
border: none;
background:none;
font-family: 'Letter Gothic Std';
font-size: 12pt;
padding: 2px;
color: #82caed;
cursor:pointer;
font-style: italic;
opacity: 1;
margin-left: 60px;
} #canvass{
overflow: hidden;
width:100%;
border:none;
height:100%;
position:absolute;
z-index:-1;
}
</style>
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-93512293-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body style="margin:0;">
<canvas id="canvass" data-processing-sources="portfoliobg.pde" >
</canvas>
<div id="nav">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="match.php">Match</a></li>
</ul>
</div>
<div id="outercontainer">
<center>
<div id="matchTitle">
<img src="assets/home/match_title.png"/>
</div>
<div style="margin: 50px 0 50px 0"></div>
<div style="margin: 50px 0 50px 0"></div>
<div style="margin: 50px 0 50px 0"></div>
<div class="header-temp" style="text-align:center;">Step 1: Select a Visualization</div>
<form action="loadSketch.php">
<div style="margin-left:auto;margin-right:auto;text-align:center">
<select class="test" name="sketch" data-cuteform="true">
<option value="01_beatDetectLines" data-cuteform-image="assets/SketchThumbnails/01_beatDetectLines.png"></option>
<option value="02_mandala" data-cuteform-image="assets/SketchThumbnails/02_mandala.png"></option>
<option value="03_spectrum" data-cuteform-image="assets/SketchThumbnails/03_spectrum.png"></option>
<option value="04_dots" data-cuteform-image="assets/SketchThumbnails/04_dots.png"></option>
</select>
<div style="margin: 50px 0 50px 0"></div>
</div>
<div class="header-temp" style="text-align:center;">Step 2: Enter a Soundcloud URL</div>
<br><div style="margin-bottom:7px;"></div>
<div class="header-temp-body">Don't have a URL? Try this one! </div><div style="margin-bottom:7px;"></div>
<p class="header-temp-body-col"><em>https://soundcloud.com/djxyz/miguel-do-you-cashmere-cat-remix-with-extra-vocals</em></p>
<br><br>
<center>
<input id="inputURL" type="text" name="inputURL" placeholder="URL"><br>
<div style="margin-bottom:7px;"></div>
<input id="submit" type="submit" value="Generate Visualization">
</center>
</form>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
<script src="scripts/cuteform.min.js"></script>
</body>
</html>