Skip to content

Instantly share code, notes, and snippets.

View davelab6's full-sized avatar
🤓
Obsessed with variable fonts

Dave Crossland davelab6

🤓
Obsessed with variable fonts
View GitHub Profile
@davelab6
davelab6 / daedalus-cointracking.ipynb
Last active September 7, 2021 05:48 — forked from LukeL99/daedalus-cointracking.ipynb
daedalus-cointracking.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@davelab6
davelab6 / angleRatioTool.py
Created March 1, 2019 07:04 — forked from LettError/angleRatioTool.py
EditTool script for RoboFont 3. Show the ratio between the length of incoming and outgoing sections of bcps and tangents.
import AppKit
from mojo.events import installTool, EditingTool, BaseEventTool, setActiveEventTool
from mojo.drawingTools import *
from mojo.UI import UpdateCurrentGlyphView
from defconAppKit.windows.baseWindow import BaseWindowController
import math
#
#
# A visualisation for RoboFont
GLYPH DATA
==========
- Glyph flag
- Metric data
- Outline data
- Extra data segments
OUTLINE DATA
============
@davelab6
davelab6 / list-all-repos.py
Created June 28, 2018 14:00 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv
@davelab6
davelab6 / timm_ulrichs.py
Created May 8, 2018 17:59 — forked from frankrolf/timm_ulrichs.py
DrawBot script to create an animated version of “Anthologie zur Visuellen Poesie” by Timm Ulrichs
# DrawBot script to create an animated version of
# "Anthologie zur Visuellen Poesie" by Timm Ulrichs (1968),
# as requested by Nick Sherman here: https://www.instagram.com/p/BiAjODfHwCO/
# Thanks to Letterform Archive for sharing.
def e_square(x, y, side, rotation):
'''
Draw letter e in a square defined by its center
and the length of the sides.
@davelab6
davelab6 / extractSbixImages.py
Created March 15, 2017 12:38 — forked from Jolg42/extractSbixImages.py
Extract sbix strikes from font
#!/usr/bin/env python
from fontTools.ttLib import TTFont
from os.path import exists, join
from os import mkdir, sys
# print 'Number of arguments:', len(sys.argv), 'arguments.'
# print 'Argument List:', str(sys.argv)
# print sys.argv[1]
def main():