Skip to content

Instantly share code, notes, and snippets.

Avatar

Antony Gill eauio

View GitHub Profile
@eauio
eauio / index.html
Last active Dec 2, 2016
Interactive Canvas Music Chaconne #1
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
background: #111;
min-width: 960px;
}
@eauio
eauio / index.html
Last active Oct 15, 2016
Voronoi with Music
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<canvas width="960" height="960"></canvas>
<audio src="http://eauo.org/antonymy.mp3" type="audio/mpeg" autoplay loop></audio>
<script src="https://d3js.org/d3.v4.0.0-alpha.28.min.js"></script>
<script>
var canvas = d3.select("canvas").node(),
context = canvas.getContext("2d"),
width = canvas.width,
You can’t perform that action at this time.