Skip to content

Instantly share code, notes, and snippets.

View erikhazzard's full-sized avatar

Erik Hazzard erikhazzard

View GitHub Profile
@erikhazzard
erikhazzard / .block
Last active November 17, 2016 20:05
voronoi+boids-6-minimal-blur
license: mit
@erikhazzard
erikhazzard / .block
Last active February 14, 2018 03:56
voronoi+boids-5-minimal-light
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 19:56
voronoi+boids-4-few-points
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 19:42
voronoi+boids-3-blue
license: mit
@erikhazzard
erikhazzard / .block
Last active November 17, 2016 19:36
voronoi+boids-2-grey-transparent
license: mit
@erikhazzard
erikhazzard / .block
Created November 17, 2016 19:24
voronoi+boids-1-grey-transparent
license: mit
@erikhazzard
erikhazzard / episode-1-flow-transcript.md
Last active October 28, 2016 06:19
At A Higher Level Postcast - Episode 1: Flow. From http://AtAHigherLevel.com

Episode 1 - Flow

Introduction

[0:0]Hey, my name is Erik Hazzard and I hope you’ll join me for a discussion about game design, at a higher level.

{MUSIC}

[0:12]In this episode, we’re gonna talk about what psychologists call “Flow”. Even if you don’t know what it means, don’t worry - I guarantee you’ve experienced it.  Our goals today - understand what flow is, and look at game design through the lens of flow.

[0:28]If we’re successful - I’ll be able to convince you that you can enjoy any game, even a game you think you’d hate, if when you play it, you can achieve this state called “Flow.”

@erikhazzard
erikhazzard / .block
Created September 16, 2016 00:14
Fog of War SVG Filter Mask Example
license: mit
/**
* color hashing function
* @module generate-color-for-username
*/
var COLORS = ['#EF3C79', '#DA125F', '#990C42', '#AD41BF', '#8F18AC', '#641079', '#7F53C4', '#5E2DB3', '#41207E', '#5B68C3', '#3745AE', '#27307A', '#15B5F9', '#009AE8', '#006BA2', '#19A69A', '#008A7B', '#006056', '#9BCE5E', '#7AB538', '#567E28', '#D4E34A', '#C0CC19', '#868E11', '#E9D82E', '#FED910', '#B2980D', '#FFA700', '#B26200', '#FF7137', '#FA5200', '#AF3800', '#F55349', '#EB372C', '#A4251E', '#76909D', '#526E7B', '#394D56', '#8F6E62', '#6F4B40', '#4D342C'];
var COLORS_LENGTH = COLORS.length;
/**
* Takes in a string and returns a color. Completely deterministic.
@erikhazzard
erikhazzard / _.md
Created November 26, 2015 19:55
weezy utf8