-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
148 lines (134 loc) · 5.73 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
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
147
148
<!doctype html>
<html ng-app="audioVizApp">
<head>
<title>AudioViz</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link href="css/main.css" rel="stylesheet"/>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Terminal+Dosis:300,500,700">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
</head>
<body ng-controller="MainController">
<sidebar closable class="top">
<!--
<folder title="Links" open>
<div class="links" ng-cloak>
<a ng-repeat="link in links" ng-href="#{{link.href}}"
ng-class="{active: isActive(link)}">
{{ link.AnimName }}
</a>
</div>
</folder>
-->
<folder title="Spectrum">
<spectrum data="audio.spectrum()"></spectrum>
</folder>
<folder title="Playlist">
<div ng-controller="PlaylistController" class="playlist">
<ul>
<li ng-repeat="track in tracks"
ng-click="setTrack($index)"
ng-class="{active: track==current_track}" ng-cloak>
<span class="song-title">{{ $index+1 }}. {{ track.title }}</span>
</li>
</ul>
</div>
</folder>
</sidebar>
<!-- three.js container -->
<div class="topbar-container" ng-cloak>
<ul class="topbar">
<li>
<a>Audio visualization</a>
</li>
<li>
<a ng-href="#{{prev.href}}" class="blue-hover" title="previous animation"
ng-click="slideAnim = 'slide-right-animation'">
<i class="fa fa-arrow-left"></i>
</a>
</li>
<li>
<a href ng-click="showDropdown = !showDropdown" class="blue-hover">
Current animation:
<span class="animName">{{ current.AnimName }}</span>
({{ current.index }} / {{ links.length }})
</a>
<ul class="topbar dropdown links width-box" ng-show="showDropdown">
<li ng-repeat="link in links">
<a ng-href="#{{link.href}}" class="blue-hover"
ng-class="{active: isActive(link)}">
{{ link.AnimName }}
</a>
</li>
</ul>
</li>
<li>
<a ng-href="#{{next.href}}" class="blue-hover right-border" title="next animation"
ng-click="slideAnim = 'slide-left-animation'">
<i class="fa fa-arrow-right"></i>
</a>
</li>
<li class="right logo">
<a href="https://github.com/macobo/WebGL-Audio-Visualization" class="fa fa-github fa-3x blue-hover"></a>
</li>
</ul>
</div>
<div id="container" ng-view ng-class="slideAnim"></div>
<script src="components/jquery/jquery.min.js"></script>
<script src="components/underscore/underscore-min.js"></script>
<script src="components/angular/angular.js"></script>
<script src="components/angular-animate/angular-animate.min.js"></script>
<script src="components/angular-route/angular-route.min.js"></script>
<script src="components/angulartics/dist/angulartics.min.js"></script>
<script src="components/angulartics/dist/angulartics-google-analytics.min.js"></script>
<script src="components/dsp.js/dsp.js"></script>
<script src="js/AudioStuff.js"></script>
<script src="js/app.js"></script>
<script src="js/services/AudioService.js"></script>
<script src="js/services/FakeRandom.js"></script>
<script src="js/services/PlaylistService.js"></script>
<script src="js/services/IntervalService.js"></script>
<script src="js/services/BeatDetector.js"></script>
<script src="js/controllers/MainController.js"></script>
<script src="js/controllers/PlaylistController.js"></script>
<script src="js/controllers/FirstViz.js"></script>
<script src="js/controllers/SphereSpectrumViz.js"></script>
<script src="js/controllers/Terrain.js"></script>
<script src="js/controllers/Particles.js"></script>
<script src="js/controllers/EasterEgg.js"></script>
<script src="js/directives/Spectrum.js"></script>
<script src="js/directives/folder.js"></script>
<script src="js/directives/audioViz.js"></script>
<script src="js/directives/slider.js"></script>
<script src="js/directives/sidebar.js"></script>
<script src="vendor/terrainGenerator.js"></script>
<script src="vendor/tween.min.js"></script>
<script src="vendor/Sparks.js"></script>
<script src="vendor/three.js/Detector.js"></script>
<script src="components/threejs/build/three.min.js"></script>
<!-- https://github.com/mrdoob/stats.js -->
<script src="vendor/three.js/Stats.js"></script>
<script src="vendor/threex/THREEx.screenshot.js"></script>
<script src="vendor/threex/THREEx.FullScreen.js"></script>
<script src="vendor/threex/THREEx.WindowResize.js"></script>
<script src="vendor/threex.dragpancontrols.js"></script>
<script src="components/threejs/examples/js/shaders/ConvolutionShader.js"></script>
<script src="components/threejs/examples/js/shaders/CopyShader.js"></script>
<script src="components/threejs/examples/js/shaders/FXAAShader.js"></script>
<script src="components/threejs/examples/js/postprocessing/EffectComposer.js"></script>
<script src="components/threejs/examples/js/postprocessing/RenderPass.js"></script>
<script src="components/threejs/examples/js/postprocessing/BloomPass.js"></script>
<script src="components/threejs/examples/js/postprocessing/ShaderPass.js"></script>
<script src="components/threejs/examples/js/postprocessing/MaskPass.js"></script>
<script src="components/threex/tmp/threex-v0/examples/threex.plugins/vendor/three.js/ShaderExtras.js"></script>
<script src="//connect.soundcloud.com/sdk.js"></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-37386009-5', 'macobo.github.io');
//ga('send', 'pageview');
</script>
</body>
</html>