Skip to content

Instantly share code, notes, and snippets.

View dribnet's full-sized avatar

tom white dribnet

View GitHub Profile
@dribnet
dribnet / understanding-word-vectors.ipynb
Created July 28, 2017 00:15 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dribnet
dribnet / spacy_intro.ipynb
Created July 25, 2017 22:26 — forked from aparrish/spacy_intro.ipynb
NLP Concepts with spaCy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dribnet
dribnet / mpl_cfaces.py
Created July 20, 2017 11:48 — forked from aflaxman/mpl_cfaces.py
Chernoff Faces in Python with Matplotlib
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
from numpy.random import rand
from numpy import pi, arctan
def cface(ax, x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18):
# x1 = height of upper face
# x2 = overlap of lower face
@dribnet
dribnet / csv-intro.ipynb
Created July 18, 2017 11:08 — forked from aparrish/csv-intro.ipynb
Quick intro to CSVs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dribnet
dribnet / test-grammar.json
Created July 18, 2017 04:50 — forked from aparrish/tracery-with-data.ipynb
Tracery and Python
{
"origin": "#hello.capitalize#, #location#!",
"hello": ["hello", "greetings", "howdy", "hey"],
"location": ["world", "solar system", "galaxy", "universe"]
}
@dribnet
dribnet / .block
Last active June 7, 2017 10:14 — forked from FaultedStar/.block
vibrator smartgrid (novelty filter)
license: mit
@dribnet
dribnet / .block
Last active May 15, 2019 17:41 — forked from ferdasonmez/.block
all possible endings
license: gpl-3.0
@dribnet
dribnet / .block
Last active January 2, 2017 23:53 — forked from mbostock/.block
Branched Random Walks
license: gpl-3.0
@dribnet
dribnet / .block
Last active October 18, 2018 21:03 — forked from prestojack/.block
PAPER: Parametric Alphabet
license: mit
@dribnet
dribnet / README.md
Last active November 2, 2016 02:02 — forked from AndrewMoffat/README.md
MDDN 342 Final Project

Face Generator - Andrew Moffat This is the refined version of my face generator. To begin with, the original version of the project featured a monochromatic sketch style, using Bezier curves. I wanted to revisit this project as I felt that I had a really solid base of code and graphic design to build upon, where I had left the project it was almost as if I had drawn the outline, but had forgotten to colour it in. I identified that one part of the project, to produce unique faces was being held back by the stylistic similarity, the lack of distinct visual elements.

I initially began by changing each face element into its own object, and created the grid using an array of objects. My intent was to utilise this for animation, but unfortunately this did not work out. I then enlarged the faces to allow for quicker comparisons, and increased the saturation on the faces to a more natural skin tone. I also refined the mouth down to enhance the visibility of emotion, and enlarged the eyes, as well as adding in va