Skip to content

Instantly share code, notes, and snippets.

LSClZfA9uBPGvKPPvTPYvcPhvlPqvuPw-MuTvbxjyrzww70D2L3T4b5j6r7w8PR7i707G8Y8q888O9g9z9E_W_o_6_M-wvO0u4O9uBPGvKPPvTPYvcPhvlPqvuPw-0q7rDtLuTvbxjyrzww70D2L3T4b5j6r7w83S8FBvH-opwq7rDtLuTvrzww70D2L3T4b5j6r7w8fM8HAvE-horpwq7rDtLuTvjyrzww70D2L3T4b5j6r7w8fE8Hk-Znjorpwq7rDtLuTvbxjyrzww70D2L3T4b5j6r7w8fA-N1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9uBPGvKPPvTPYvcPhvlPqvuPw-McTdbejfrgwh7iDkLlTmbnjorpwq7rDtLuTvbxjyrzww70D2L3T4b5j6r73e6m7HstxN1t5N_tCOHuLOQuUOZudOiOruvO0O9uBPGvKPPvTPYvcPhvlPq-5oDqbtjufU6c7nnNstxN1t5N_tCOHuLOQuUOZudOruvO9uBPGvKPPvTPYvcPhvlfJo7prsbuPO6W7NjtnNstxN1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9uBPGvKPPvTPYvcPhfLyXE8e8jeNjtnNstxN1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9uKPPvTPYvc-yxfA8S8HateNjtnNstxN1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9OGvKPPvTPY-Rx3W1o161M2e2x2C3U3m343K4c4u4A5S5k525I6a6s6_6Q7i707G8Y8q888O9TRtVNateNjtnNstxN1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9uBPGvKPP-MTTUbVjWrXwY7ZDbLcTdbejfrgwh7iDkLlTmbnjorpwq7rDtLuTvbxjyrzwwfE7NItMNRtVNateNjtnNstxN1t5N_tCOHuLOQuUOZudOiumOruvO0u4O9uBPGvKPPfTpfO0g0z0E1W1o161M2e2x2C3U3m343K4c4u4A5S5k525I6
@TheMapSmith
TheMapSmith / data.csv
Created May 6, 2020 18:59 — forked from jadiehm/data.csv
Choropleth U.S. county map
id name rate
6073 San Diego 5702
6019 Fresno 5294
42071 Lancaster 4009
6107 Tulare 3952
6099 Stanislaus 3532
6077 San Joaquin 3181
53077 Yakima 2989
47059 Greene 2952
41005 Clackamas 2842

Particle Generation Idea

Is this right?

  1. Establish a buncha particles
  • Gridded? Random?
  1. Pass the start XY through a noise = random.noise2D(sx, sy) to get a value
  • What to do with Frequency?
  • What to do with Amplitude?
  • Returns range (-1, 1)?
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TheMapSmith
TheMapSmith / index.html
Created May 10, 2018 14:44
Culverts Inspected in 2018
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Culverts Inspected - 2018</title>
</head>
<body>
<div class="stats">
<h1>Culverts Inspected in 2018:</h1>
<h1 id="2018-count"></h1>
@TheMapSmith
TheMapSmith / flights.js
Last active March 17, 2024 15:51
Fetching flight info
var fs = require('fs');
var request = require('request-promise');
var moment = require('moment')
// Globals
global.timestamp = moment().unix()
global.allPlaybacks = [];
global.geojson = {};
global.geojson['type'] = 'FeatureCollection';
global.geojson['features'] = [];
@TheMapSmith
TheMapSmith / .block
Last active November 1, 2017 15:20 — forked from mbostock/.block
Orthographic
license: gpl-3.0
@TheMapSmith
TheMapSmith / boxstarter.ps1
Created September 22, 2017 16:40 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@TheMapSmith
TheMapSmith / index.html
Last active November 26, 2019 01:15 — forked from d3noob/index.html
A full screen leaflet.js map
<!DOCTYPE html>
<html>
<head>
<title>Full Screen Leaflet Map</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<style>
body {
padding: 0;