Skip to content

Instantly share code, notes, and snippets.

View tafsiri's full-sized avatar

Yannick Assogba tafsiri

View GitHub Profile
@tafsiri
tafsiri / index.html
Last active January 29, 2024 07:21
<html lang="en">
<head>
<meta charset="utf-8">
<title>2D Picking with canvas</title>
<meta name="description" content="">
<meta name="author" content="Yannick Assogba">
<script src="https://cdnjs.cloudflare.com/ajax/libs/stats.js/r14/Stats.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5/dat.gui.js"></script>
@tafsiri
tafsiri / index.html
Last active December 11, 2020 13:18
2D Picking with canvas
<html lang="en">
<head>
<meta charset="utf-8">
<title>2D Picking with canvas</title>
<meta name="description" content="">
<meta name="author" content="Yannick Assogba">
<script src="//rawgit.com/mrdoob/stats.js/master/build/stats.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5/dat.gui.js"></script>
@tafsiri
tafsiri / cars_data.js
Created January 31, 2019 18:49
cars.json as js file
var carsData = [
{
"Name":"chevrolet chevelle malibu",
"Miles_per_Gallon":18,
"Cylinders":8,
"Displacement":307,
"Horsepower":130,
"Weight_in_lbs":3504,
"Acceleration":12,
"Year":"1970-01-01",
@tafsiri
tafsiri / .block
Last active August 1, 2017 22:04
Stepper with generators
license: mit
height: 600
border: no
@tafsiri
tafsiri / .block
Created July 7, 2017 02:32
Sorting with generators + history
license: mit
height: 300
border: no
@tafsiri
tafsiri / .block
Last active July 7, 2017 01:59
Sorting animation with generators
license: mit
height: 300
border: no
@tafsiri
tafsiri / .block
Last active May 8, 2017 19:42 — forked from pbeshai/.block
Animate 100,000 points with regl
license: mit
height: 720
border: no
@tafsiri
tafsiri / README.md
Last active April 18, 2017 16:08
Tangram Firefly Map

Tangram Shader Firefly Map

Visual effects with fragment shaders

@tafsiri
tafsiri / .block
Last active February 26, 2017 01:12
HS Neutral 4 Drops
license: mit
height: 720
border: no
@tafsiri
tafsiri / README.md
Last active December 21, 2016 02:41

Tangram Choropleth.

Notes

The mapzen tiles osm boundaries layer only seems to include lines between countries, not the outline of the country itself, this implies the line mayu not be a closed polygon. You won't get the line running along the coast and Australia doesn't have any boundary data.

Get border data from https://mapzen.com/data/borders/