Skip to content

Instantly share code, notes, and snippets.

@Fil
Fil / .block
Last active March 11, 2024 17:02
Fabio Crameri’s Colormaps
license: mit
@Fil
Fil / .block
Last active October 18, 2023 10:09
Versor Dragging - d3 & three.js running in sync
license: gpl-3.0
height: 600
border: no
@Fil
Fil / .block
Last active January 12, 2023 20:13
geoShape
license: mit
@Fil
Fil / .block
Last active October 24, 2022 17:08
Interrupted Homolosine Oceans Recentered [UNLISTED]
license: gpl-3.0
border: no
height: 484
@Fil
Fil / .block
Last active September 22, 2022 16:24
Walmart's growth stand-alone
height: 650
@Fil
Fil / point_in_polygon.php
Created August 28, 2013 06:28
point in polygon
<?php
/* is (lon, lat) inside the polygon $p?
* use ray casting algorithm (http://en.wikipedia.org/wiki/Point_in_polygon)
* ie. project a horizontal line from our point to each segment
* code adapted from http://stackoverflow.com/questions/14149099/raycasting-algorithm-with-gps-coordinates
*/
function inside_polygon($test_point, $points) {
@Fil
Fil / .block
Last active September 3, 2021 07:11
Tobler’s Hyperelliptical projection
license: gpl-3.0
@Fil
Fil / .block
Last active August 31, 2021 09:13
geoVoronoi.hull()
license: mit
@Fil
Fil / .block
Last active May 20, 2021 17:56
t-SNE and a force
license: mit
@Fil
Fil / README.md
Last active March 28, 2021 11:49
A conformal Airocean