This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* "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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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.*; |