forked from mtytel/lissa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (104 loc) · 3.4 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
100
101
102
103
104
105
106
107
108
109
<html>
<head>
<title>
Lissa Juice
</title>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38450508-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.knob.js"></script>
<script src="js/jquery.minicolors.js"></script>
<script src="js/underscore-min.js"></script>
<script src="js/lissa.js"></script>
<script src="js/utils.js"></script>
<script src="js/controls.js"></script>
<script src="js/app.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/jquery.minicolors.css" />
</head>
<body>
<div class="container">
<div class="controls">
<div class="buttons">
<button class="simple-button randomize">
Randomize
</button>
<button class="simple-button play">
Play Song!
</button>
<button class="simple-button controls-toggle">
Controls
</button>
</div>
<div class="knobs">
<div class="buttons harmonograph-type">
<button class="simple-button" data-type="lateral">
Lateral
</button>
<button class="simple-button" data-type="rotary">
Rotary
</button>
<button class="simple-button" data-type="rotaryinv">
Rotary Inv.
</button>
</div>
<div id="left-oscillator">
</div>
<div id="right-oscillator">
</div>
<div class="other-controls">
<div id="base_freq">
</div>
</div>
<div>
<input class="minicolors no-textfield" type="text" value="#ffff00">
</div>
</div>
</div>
<canvas id="lissajous"></canvas>
<p class="info">
Lissa Juice v0.0.1 by <a href="http://tytel.org" target="_blank">Matt</a> & <a href="http://nourahowell.com" target="_blank">Noura</a> <3 <3 <3
</p>
<a href="https://github.com/mtytel/lissa" target="_top">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="img/forkme.png" alt="Fork me on GitHub">
</a>
</div>
</div>
<script type="underscore/template" id="knob">
<input
class="knob"
id="<%=id%>"
data-angleOffset=225
data-angleArc=270
data-bgColor="#222222"
data-fgColor="#888888"
data-width="72"
data-height="72"
data-min=<%=min_val%>
data-max=<%=max_val%>
value="<%=default_val%>">
<p><%=label%></p>
</script>
<script type="underscore/template" id="oscillator">
<div class="oscillator">
<div class="oscillator-title">
<%=title%>
</div>
<div class="knob-column col-1">
</div>
<div class="knob-column col-2">
</div>
<div class="knob-column col-3">
</div>
</div>
</script>
</body>
</html>