summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/js/shards.js173
-rw-r--r--docs/assets/js/site.js1
-rw-r--r--docs/index.html31
3 files changed, 124 insertions, 81 deletions
diff --git a/docs/assets/js/shards.js b/docs/assets/js/shards.js
index 1b374ee..c1f1476 100644
--- a/docs/assets/js/shards.js
+++ b/docs/assets/js/shards.js
@@ -1,107 +1,122 @@
-const shards = (function(){
- let count
- let delay = 120 * 1000
- let els = []
- let t = 0
- let rebuilding = false
- let nextTimeout
- let dark, light
- const bg_el = document.querySelector('.bgs')
+const shards = (function () {
+ let count;
+ let delay = 120 * 1000;
+ let els = [];
+ let t = 0;
+ let rebuilding = false;
+ let nextTimeout;
+ let dark, light;
+ const bg_el = document.querySelector(".bgs");
- function init(){
- bind()
- build()
- step()
- setTimeout(next, 20)
- bg_el.classList.remove('fade')
+ function init() {
+ bind();
+ build();
+ step();
+ setTimeout(next, 20);
+ bg_el.classList.remove("fade");
}
- function bind(){
- document.querySelector('h1').addEventListener('click', () => {
- sounds.play('click')
- rebuild()
- site.navigateHash('')
- player.hidePlaylist()
- })
+ function bind() {
+ document.querySelector("h1").addEventListener("click", () => {
+ sounds.play("click");
+ rebuild();
+ site.navigateHash("");
+ player.hidePlaylist();
+ });
}
- function build(){
- count = choice(is_mobile ? [5,7] : [5,7,7,11,11])
- light = cielab.gradient(count)
- dark = cielab.gradient(count)
- let el
+ function build() {
+ count = choice(is_mobile ? [5, 7] : [5, 7, 7, 11, 11]);
+ light = cielab.gradient(count);
+ dark = cielab.gradient(count);
+ let el;
for (var i = 0; i < count; i++) {
- el = append(i)
+ el = append(i);
}
}
- function destroy(){
+ function destroy() {
for (var i = 0; i < count; i++) {
- els[i] && bg_el.removeChild(els[i])
+ els[i] && bg_el.removeChild(els[i]);
}
- els.length = 0
+ els.length = 0;
}
- function rebuild(){
- if (rebuilding) return
- rebuilding = true
+ function rebuild() {
+ if (rebuilding) return;
+ rebuilding = true;
// sounds.play('click')
- stars.rebuild()
- next()
- t = 0
- bg_el.classList.add('fade')
+ stars.rebuild();
+ next();
+ t = 0;
+ bg_el.classList.add("fade");
setTimeout(() => {
- destroy()
- build()
- step()
- setTimeout(next, 20)
- bg_el.classList.remove('fade')
- rebuilding = false
+ destroy();
+ build();
+ step();
+ setTimeout(next, 20);
+ bg_el.classList.remove("fade");
+ rebuilding = false;
// sounds.play('click')
- }, 500)
+ }, 500);
}
- function append(i){
- const el = document.createElement('div')
- el.classList.add('bg')
- els.push(el)
- bg_el.appendChild(el)
- return el
+ function append(i) {
+ const el = document.createElement("div");
+ el.classList.add("bg");
+ els.push(el);
+ bg_el.appendChild(el);
+ return el;
}
- function next(){
- clearTimeout(nextTimeout)
- nextTimeout = setTimeout(next, delay)
- step()
+ function next() {
+ clearTimeout(nextTimeout);
+ nextTimeout = setTimeout(next, delay);
+ step();
}
function step() {
- t += 1
- light = cielab.gradient(count)
- let w = { min: is_mobile ? randrange(40, 90) : randrange(20, 40), max: randrange(10, 90) }
+ t += 1;
+ light = cielab.gradient(count);
+ let w = {
+ min: is_mobile ? randrange(40, 90) : randrange(20, 40),
+ max: randrange(10, 90),
+ };
if (w.min > w.max) {
- w.min += 10
+ w.min += 10;
}
- let rot = { min: randint(360), max: randrange(720, 1080) }
+ let rot = { min: randint(360), max: randrange(720, 1080) };
+ console.log(w, rot);
for (var i = 0; i < count; i++) {
- update(i, t, w, rot, dark, light)
+ update(i, t, w, rot, dark, light);
}
- document.body.style.backgroundColor = cielab.gradient(2)(0.05)
+ document.body.style.backgroundColor = cielab.gradient(2)(0.05);
}
- function update(i, t, w, rot){
- const el = els[i]
- const n = i / count
- const side = lerp(n, w.min, w.max)
- const spin = lerp(i % 2 ? (1-n) : (n), rot.min, rot.max)
- const rotation = "rotate3d(" + [randrange(-1,1), randrange(-1,1), randrange(-1,1)].join(',') + ',' + randint(360) + "deg)"
- el.style.width = side + 'vmin'
- el.style.height = side + 'vmin'
- el.style.transform = "translate3d(-50%, -50%, 0) rotate(" + spin + "deg) translate3d(50%, 50%, 0) " + rotation
+ function update(i, t, w, rot) {
+ const el = els[i];
+ const n = i / count;
+ const side = lerp(n, w.min, w.max);
+ const spin = lerp(i % 2 ? 1 - n : n, rot.min, rot.max);
+ const rotation =
+ "rotate3d(" +
+ [randrange(-1, 1), randrange(-1, 1), randrange(-1, 1)].join(",") +
+ "," +
+ randint(360) +
+ "deg)";
+ el.style.width = side + "vmin";
+ el.style.height = side + "vmin";
+ el.style.transform =
+ "translate3d(-50%, -50%, 0) rotate(" +
+ spin +
+ "deg) translate3d(50%, 50%, 0) " +
+ rotation;
// el.style.transform = "translate3d(-50%, -50%, 0)"
if (t === 1) {
- light = cielab.gradient(count)
+ light = cielab.gradient(count);
if (is_mobile) {
- el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(1) + ')'
+ el.style.backgroundImage =
+ "linear-gradient(0deg, " + dark(1) + ", " + light(1) + ")";
} else {
- el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(0) + ')'
+ el.style.backgroundImage =
+ "linear-gradient(0deg, " + dark(1) + ", " + light(0) + ")";
}
}
- el.style.backgroundColor = light(1)
- el.style.opacity = lerp(n, randrange(0.1, 0.4), randrange(0.2, 0.5))
+ el.style.backgroundColor = light(1);
+ el.style.opacity = lerp(n, randrange(0.1, 0.4), randrange(0.2, 0.5));
}
- init()
- return { rebuild: rebuild, step: step, }
-})() \ No newline at end of file
+ init();
+ return { rebuild: rebuild, step: step };
+})();
diff --git a/docs/assets/js/site.js b/docs/assets/js/site.js
index b0ee65c..8b8e632 100644
--- a/docs/assets/js/site.js
+++ b/docs/assets/js/site.js
@@ -12,6 +12,7 @@ const site = (function () {
"Get in there, sweep the filter and give yourself a pat on the back. In that order.",
"Not a museum. Move along.",
"I've got to get out of this studio and back out there.",
+ "(whispers) You're my favorite. Don't tell anyone.",
];
if (hour < 8 || hour > 16) {
document.body.parentNode.classList.add("night");
diff --git a/docs/index.html b/docs/index.html
index d7599b1..6f247c9 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -88,10 +88,14 @@
<li>Moog Subsequent 37</li>
<li>Moog Subphatty</li>
<li>Moog Slim Phatty</li>
+ <li>Moog Subharmonicon</li>
<li>Korg MS-20 Mini</li>
<li>Korg ARP Odyssey</li>
<li>Korg Monologue</li>
<li>Korg Volca Modular</li>
+ <li>PWM Malevolent</li>
+ <li>Make Noise 0-Coast</li>
+ <li>Make Noise Strega</li>
<li>Arturia Microbrute</li>
<li>Dreadbox Typhon</li>
<li>Behringer Model D</li>
@@ -107,11 +111,13 @@
<li>Roland Alpha Juno 2</li>
<li>Roland JX-8P</li>
<li>Roland D-05</li>
+ <li>Roland Super JV 1080</li>
<li>Korg Minilogue</li>
<li>Korg Volca FM</li>
<li>Arturia Microfreak</li>
<li>Behringer DeepMind 12</li>
<li>Behringer VC340 Vocoder</li>
+ <li>Yamaha TG33</li>
<li>Kawai K1m</li>
</ul>
<h3>Drum machines / Sequencers / Samplers</h3>
@@ -133,20 +139,37 @@
</ul>
<h3>Selected Modules</h3>
<ul>
+ <li>Make Noise Mimeophone</li>
+ <li>Make Noise Morphagene</li>
+ <li>Make Noise Wogglebug</li>
+ <li>Make Noise modDemix</li>
+ <li>Industrial Music Electronics Hertz Donut</li>
+ <li>Industrial Music Electronics Piston Honda</li>
+ <li>Befaco Noise Plethora</li>
+ <li>Befaco BF-22 Sallen Key Filter</li>
+ <li>Manhattan Analog MA35 VCF/A</li>
+ <li>Manhattan Analog DTM</li>
+ <li>Winterbloom Castor &amp; Pollux</li>
+ <li>Ritual Electronics Guillotine</li>
<li>Nano Modules ONA</li>
<li>Nano Modules ALT</li>
<li>Nano Modules QUART</li>
- <li>Manhattan Analog MA35 VCF/A</li>
- <li>Manhattan Analog DTM</li>
<li>Doepfer A-106-5 SEM Type VCF</li>
+ <li>Doepfer A-120 VCF1</li>
+ <li>Noise Engineering Desmodius Versio</li>
<li>Noise Engineering Imitor Versio</li>
+ <li>Noise Engineering Kith Ruina</li>
<li>Tiptop Audio ZVERB</li>
+ <li>Erica Synths Black Polivoks VCF</li>
<li>Erica Synths Black Wavetable VCO</li>
<li>Erica Synths Pico Ring</li>
<li>SSF RND STEP</li>
+ <li>WMD C4RBN</li>
+ <li>Instruō Cš-L</li>
<li>Instruō øchd</li>
<li>Instruō tanh[3]</li>
<li>Tiptop Audio Fold Processor</li>
+ <li>XAOC Zadar 1973 Quadruple Envelope Generator</li>
<li>XAOC Batumi 1974 Quadruple LFO</li>
<li>ALM Pamela's New Workout</li>
<li>ALM Squid Salmple</li>
@@ -158,6 +181,9 @@
<li>Carcosa Fuzz</li>
<li>Proco Rat 2 Distortion</li>
<li>Elektron Analog Drive</li>
+ <li>Elektro Harmonix Super Pulsar</li>
+ <li>MXR Carbon Copy Deluxe</li>
+ <li>Korg NTS-1</li>
<li>Digitech Polara Reverb</li>
<li>Digitech Obscure Altered Delay</li>
<li>Roland VT-4 Voice Transformer</li>
@@ -165,6 +191,7 @@
<h3>Other instruments</h3>
<ul>
<li>Fender Jaguar</li>
+ <li>Fender Jazzmaster</li>
<li>Fender Bass VI</li>
<li>Ibanez Roadstar II Bass</li>
<li>Clarinet</li>