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" | |
// MapTwinkle | |
// Designed to illuminate a 'map' of pixels, each of which randomly | |
// sometimes twinkles brighter and then back down to it's base color again. | |
// | |
// Parameters include: background color, peak twinkle color, and speed | |
// of brightening and dimming. | |
// | |
// Mark Kriegsman, August 2015 |
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" | |
// PaletteBeat | |
// Shows how to pulse back and forth between two color palettes | |
// at a given number of beats per minute. | |
// | |
// The two color palettes in the pulse cycle each can | |
// also independently morph and shift -- although choosing | |
// new target palettes is not shown here. | |
// |
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" | |
// MarqueeOverlay | |
// | |
// Code to overlay a 'marquee' effect on top | |
// of other animations, e.g. to highlight individual | |
// letters of a sign one after another, while | |
// still allowing the underlying animations to show through. | |
// | |
// Initially designed for the "YUM cart" for Burning Man 2015. |
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" | |
// ColorWavesWithPalettes | |
// Animated shifting color waves, with several cross-fading color palettes. | |
// by Mark Kriegsman, August 2015 | |
// | |
// Color palettes courtesy of cpt-city and its contributors: | |
// http://soliton.vm.bytemark.co.uk/pub/cpt-city/ | |
// | |
// Color palettes converted for FastLED using "PaletteKnife" v1: |
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" | |
// TwoAnimationsAtTheSameTime | |
// Example showing one way to run two different animations on | |
// two different parts of one LED array at the same time. | |
// | |
// The three keys to success here are: | |
// | |
// 1. Move the drawing of each animation into a separate 'draw' function, | |
// each of which is called from 'loop()'. Each 'draw' function draws |
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" | |
// DiscoStrobe | |
// *Flashing* rainbow lights that zoom back and forth to a beat. | |
// See your doctor before using this code if you have certain neurological conditions. | |
// | |
// Mark Kriegsman, July 2015 | |
#if FASTLED_VERSION < 3001000 |
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" | |
// FireworksXY | |
// Quick and dirty 2-D fireworks simulation using FastLED. | |
// | |
// Originaly designed an Adafruit 5x8 WS2811 shield, but works fine | |
// on other XY matricies. | |
// | |
// by Mark Kriegsman, July 2013 | |
// (and not updated too much since then, so it's a little stale, |
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" | |
// Pride2015 | |
// Animated, ever-changing rainbows. | |
// by Mark Kriegsman | |
#if FASTLED_VERSION < 3001000 | |
#error "Requires FastLED 3.1 or later; check github for latest code." | |
#endif |
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" | |
// MODIFIED FastLED "just-100-lines-of-code" demo reel | |
// | |
// This example also shows one easy way to define multiple | |
// TWO-ARGUMENT animations patterns and have them automatically rotate. | |
// | |
// -Mark Kriegsman, January 2015 | |
#if FASTLED_VERSION < 3001000 |
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" | |
// This sketch shows how to sequence a performance using HH,MM,SS.SSS timecode. | |
// | |
// A "ResetPerformance" method is provided so that the performance can be | |
// restarted from a custom external trigger, e.g., a button or event. | |
// For demonstration purposes, this Performance is reset if the | |
// sketch receives a letter "r" on the serial port. | |
// | |
// -Mark Kriegsman, January 2015 |