Skip to content

Instantly share code, notes, and snippets.

View thole's full-sized avatar

thole

  • Hamburg
View GitHub Profile
@thole
thole / index.html
Last active October 29, 2019 22:03
<!DOCTYPE HTML>
<html>
<head>
<style>
body {
background-color: #1e1e20;
}
</style>
<script src="//pixijs.download/v4.5.5/pixi.min.js"></script>
<script src="//d3js.org/d3.v3.min.js"></script>
@thole
thole / index.html
Last active November 17, 2020 15:19
barcode
<body>
<style>
body {
background-color: #f6f1d5;
}
</style>
<svg id="barcode"></svg>
@thole
thole / data.csv
Last active October 23, 2016 18:52
We can't make this file beautiful and searchable because it's too large.
c,x,y
1,-114.99354553222656,36.032863616943359
1,-115.16396331787109,36.11358642578125
1,-115.16835784912109,36.117912292480469
1,-71.364967346191406,44.047676086425781
3,-73.353729248046875,40.324489593505859
1,-73.411048889160156,40.703201293945313
1,-73.52886962890625,41.0567626953125
1,-73.564254760742187,40.670314788818359
2,-73.606536865234375,40.778076171875
@thole
thole / index.html
Last active October 20, 2018 07:04
gb texture
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/topojson/1.6.20/topojson.min.js"></script>
<script src="textures.min.js"></script>
<style>
@thole
thole / index.html
Last active October 20, 2018 07:04
stars
<!DOCTYPE html>
<meta charset="utf-8">
<svg width="960" height="600"></svg>
<style>
body {
background-color: #171b1e;
}
</style>
@thole
thole / index.html
Last active September 30, 2016 21:18
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font: 10px sans-serif;
}
.axis path,
.axis line {
@thole
thole / data.json
Last active October 20, 2018 07:14
hamburg texture
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We couldn’t find that file to show.
@thole
thole / index.html
Last active October 20, 2018 08:27
analysis
<!DOCTYPE html>
<meta charset="utf-8">
<body style="background-color:#000000">
<script type="text/javascript" src="//d3js.org/d3.v3.min.js"></script>
<script>
var width = 500,
height = 500;
var nodes = d3.range(width/2).map(function() { return {radius: Math.random()+ 1.0, angle: Math.random()*Math.PI*2} });