Skip to content

Instantly share code, notes, and snippets.

@sressler
sressler / .block
Created January 29, 2019 16:26 — forked from d3indepth/.block
Spinning globe
license: gpl-3.0
height: 440
border: no
place rate population unsentenced Notes
Afghanistan 88 30,000 31.3
Albania 188 5,407 40.6
Algeria 146 60,000 8.6
American Samoa (United States) 345 193 14.9
Andorra 69 52 55.3
Angola 93 24,000 45.8
Anguilla (United Kingdom) 367 55 45.5
Antigua and Barbuda 321 305 37
Verifying that +sandy is my openname (Bitcoin username). https://onename.io/sandy
### Keybase proof
I hereby claim:
* I am sressler on github.
* I am sressler (https://keybase.io/sressler) on keybase.
* I have a public key whose fingerprint is 8AFD B981 B824 F650 56BF 6B3C 7069 B20D 8385 D343
To claim this, I am signing this object:
@sressler
sressler / index.html
Created July 20, 2012 17:26 — forked from ZJONSSON/index.html
Using D3 to create and animate X3D - with x3dom
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>
<script type="text/javascript" src="http://x3dom.org/x3dom/example/x3dom.js"></script>
</head>
<body>
<h1>a modification of using D3 with X3D via X3DOM</h1>
<p>This version uses spheres instead of boxes, there are less spheres and they are colored with random colors. Of interest is the correct creation of the <shape><appearance><material> tag hierarchy which allows the color modifications of the spheres to work. Totally based on https://gist.github.com/1291667 from ZJONSSON (whoever that is ;-)</p>