Skip to content

Instantly share code, notes, and snippets.

View twelch's full-sized avatar
🌐

Tim Welch twelch

🌐
View GitHub Profile
@twelch
twelch / .block
Last active June 25, 2020 21:54
Animating point along a line with turf-along
license: mit
@twelch
twelch / .block
Last active October 1, 2016 07:16
Interpolate points along a line
license: mit
@twelch
twelch / README.md
Created December 8, 2015 20:28
Event loop with animated path and video
@twelch
twelch / README.md
Last active December 9, 2015 09:18
Animated path with two videos
@twelch
twelch / README.md
Last active December 9, 2015 19:31
Video + easing + growing path
@twelch
twelch / README.md
Last active December 9, 2015 20:22
Flexbox tour

Keybase proof

I hereby claim:

  • I am twelch on github.
  • I am tdubz (https://keybase.io/tdubz) on keybase.
  • I have a public key whose fingerprint is 037C 3DA7 1577 BA32 F06F 49B3 4A72 8868 26F0 AF3A

To claim this, I am signing this object:

@twelch
twelch / index.html
Last active May 30, 2018 05:00
Multiple animated paths
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.js'></script>
<script src='http://api.tiles.mapbox.com/mapbox.js/plugins/turf/v2.0.2/turf.min.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.1/mapbox-gl.css' rel='stylesheet' />
<style>
@twelch
twelch / index.html
Last active February 9, 2020 05:36
Mapbox GL JS compare window circle magnifying glass
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-compare/v0.1.0/mapbox-gl-compare.js'></script>
</head>
<body>
@twelch
twelch / index.html
Created July 28, 2018 00:31
Modern to Prehistoric transition
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.46.0/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-compare/v0.1.0/mapbox-gl-compare.js'></script>
</head>
<body>