Skip to content

Instantly share code, notes, and snippets.

@enjalot
enjalot / README.md
Last active September 8, 2016 13:22
geosnap

Playing around with the idea of snapping to a latlon grid, by rounding the latlon values of my mouse coordinates to 1 decimal place.

Not exactly sure how this will be useful, but it could be an interesting way to interact with a values binned to a grid on the globe.

Built with blockbuilder.org

@monfera
monfera / .block
Last active September 16, 2016 17:53
Generative elevation map with SVG filters
license: mit
border: yes
height: 500
@phillipweston
phillipweston / .block
Last active September 17, 2016 09:18
animated zoomed multi line chart
license: mit
@nbremer
nbremer / .block
Last active September 18, 2016 08:37
A SOM Clustering of block Colors - Including HSL & RGB - II
height: 1250
@alexmacy
alexmacy / .block
Created September 18, 2016 06:34
Rotating Shape Transitions
license: mit
@Kcnarf
Kcnarf / .block
Last active October 13, 2016 07:27
path for Distance-limited Voronoi cell - d3v4
license: gpl-3.0
@enjalot
enjalot / .block
Last active October 18, 2016 00:11
Poisson-Disc Voronoi Badge
license: gpl-3.0
@enjalot
enjalot / PerformProjections.js
Last active October 18, 2016 00:12
character interpolation
// from Font Project by Neill Campbell
// http://vecg.cs.ucl.ac.uk/Projects/projects_fonts/font_project/PerformPrediction.js
var CharFuncs = CharFuncs || {};
function size(A) { return numeric.dim(A); }
function computeK(x, X, alpha, gamma) {
m = numeric.dim(x)[0];
d = numeric.dim(x)[1];
n = numeric.dim(X)[0];
@tafsiri
tafsiri / README.md
Last active October 21, 2016 03:59

Tangram Interactive Shader

Driving shaders params via mouse interaction.

Notes

Use requestRender rather than updateConfig and you can set scene properties (e.g. uniforms) directly.

To interact with uniforms, declare them in the scene file then directly manipulate them from the scene object (not the config) in the JS api.

@HarryStevens
HarryStevens / .block
Last active October 31, 2016 16:47
Force Simulation with Voronoi Diagram
license: gpl-3.0
height: 700