This file contains 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
from bibliopixel import * | |
from bibliopixel.led import * | |
from bibliopixel.animation import BaseCircleAnim | |
class DiskBloom(BaseCircleAnim): | |
def __init__(self, led, spread = 1): | |
super(DiskBloom, self).__init__(led) | |
self._dir = dir | |
self.spread = spread |
This file contains 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 | |
''' | |
Generates Inkscape SVG file containing box components needed to | |
laser cut a tabbed construction box taking kerf and clearance into account | |
Copyright (C) 2011 elliot white elliot@twot.eu | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. |
This file contains 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
from bibliopixel import * | |
from bibliopixel.led import * | |
from bibliopixel.animation import BaseCircleAnim | |
class DiskBloom(BaseCircleAnim): | |
def __init__(self, led): | |
super(DiskBloom, self).__init__(led) | |
self._dir = dir |
This file contains 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
#include "FastLED.h" | |
#define NUM_LEDS 255 | |
#define DATA_PIN SPI_DATA | |
#define CLOCK_PIN SPI_CLOCK | |
// Define the array of leds | |
CRGB leds[NUM_LEDS]; |
This file contains 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
from matrix_animations import * | |
class WyoCubeBloom(BaseMatrixAnim): | |
def __init__(self, led, dir = True): | |
super(WyoCubeBloom, self).__init__(led) | |
self._vector = genVector(16, 16) | |
self._dir = dir | |
self._panelOffset = [0,8,16,24,32,40] | |
def step(self, amt = 8): |
NewerOlder