Skip to content

Instantly share code, notes, and snippets.

@sansumbrella
sansumbrella / LICENSE
Last active June 11, 2020 07:45
Reaction Diffusion Simulation in GLSL
/*
* Copyright (c) 2016 David Wicks, sansumbrella.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
@sansumbrella
sansumbrella / refugee_quick_script.md
Created January 30, 2017 16:37
Quick script for opposing the executive order on refugees

I am calling in opposition to the executive order on refugees. It is harmful to victims of terrorism, keeping them in danger longer. It is harmful to our economy, preventing many people from traveling for work or returning to work in the US. And the unwelcoming message it sends is clear, making the United States appear like an international bully unworthy of respect, and thereby increasing hostile attitudes toward our country.

Try try try
@sansumbrella
sansumbrella / index.html
Last active June 21, 2019 21:29
Pickable 3D buildings with feature state and buildings plus
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Highlight 3D Building By ID</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.53.0/mapbox-gl.js"></script>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css" rel="stylesheet" />
<style>
body {
@sansumbrella
sansumbrella / MapboxMap.css
Last active September 27, 2019 18:27
Copy of the Mapbox data-driven-lines sample using React+Hooks
.mapbox-map {
min-height: 100%;
width: 100%;
position: fixed;
top: 0;
left: 0;
}