Skip to content

Instantly share code, notes, and snippets.

View oskay's full-sized avatar

Windell Oskay oskay

View GitHub Profile
@oskay
oskay / pybadge.py
Created November 4, 2018 05:26
A python program to generate a basic program that can display your name on your 2018 supercon badge.
#!/usr/bin/env python
# -*- encoding: utf-8 -#-
'''
Process ASCII art and generate basic program to draw it as
ascii art for hackaday 2018 superconference badge
Exports a basic program that you can upload to the badge.
License: Public domain!!!
/* "Random" seed generator for ATmega168P.
Application: An instrument needs to turn on a light and sound a buzzer a random time
_after being powered on_. Since power may not be on for a reliable amount of time,
we do not want to write to EEPROM. Must use environmental inputs to construct a
not-very-reproducible input that can be used as a random seed.
This is a fragment of code, and does not include all necessary
I/O setup or infrastructure
@oskay
oskay / NOPE.txt
Last active February 27, 2017 15:55
NNNNNNNN NNNNNNNN OOOOOOOOO PPPPPPPPPPPPPPPPP EEEEEEEEEEEEEEEEEEEEEE
N:::::::N N::::::N OO:::::::::OO P::::::::::::::::P E::::::::::::::::::::E
N::::::::N N::::::N OO:::::::::::::OO P::::::PPPPPP:::::P E::::::::::::::::::::E
N:::::::::N N::::::NO:::::::OOO:::::::OPP:::::P P:::::PEE::::::EEEEEEEEE::::E
N::::::::::N N::::::NO::::::O O::::::O P::::P P:::::P E:::::E EEEEEE
N:::::::::::N N::::::NO:::::O O:::::O P::::P P:::::P E:::::E
N:::::::N::::N N::::::NO:::::O O:::::O P::::PPPPPP:::::P E::::::EEEEEEEEEE
N::::::N N::::N N::::::NO:::::O O:::::O P:::::::::::::PP E:::::::::::::::E
@oskay
oskay / SquiggleDraw.pde
Last active November 22, 2016 20:06 — forked from gwygonik/SquiggleDraw.pde
Create an SVG based on the brightness of an image transformed into sine waves. Simple UI to control effects. Saved SVG is larger than original image for detail.
// SquiggleDraw
//
// A processing sketch by Gregg Wygonik
//
// https://gist.github.com/gwygonik/1f41684e62aa9dc46d5ea2de52c62713
//
// Modified by Windell Oskay ( http://github.com/oskay ). Added option to vary line width
import controlP5.*;