Skip to content

Instantly share code, notes, and snippets.

View atuline's full-sized avatar
🎸
Working on sound reactive WLED

Andrew Tuline atuline

🎸
Working on sound reactive WLED
View GitHub Profile
@atuline
atuline / inoise8_mover_array
Last active October 1, 2023 07:44
Using FastLED noise function to move pixels.
/* inoise8_mover_array
*
* By: Andrew Tuline
*
* Date: March, 2017
*
* We've used sine waves and counting to move pixels around a strand. In this case, I'm using FastLED Noise to move an array of pixels up and down the strand.
*
* The advantage is that it provides random natural movement without requiring lots of fancy math.
*
@atuline
atuline / blend.ino
Last active August 17, 2023 17:13
Blending using FastLED
/* End to end blending
By: Andrew Tuline
Date: Oct 25, 2015
*/
#include "FastLED.h"
#define LED_PIN 12
/* fft_log_music
*
* By: Andrew Tuline
*
* Date: Mar, 2019
*
*
* Why use a 7 band MSGEQ7 graphic equalizer chip when you can get many times more frequency bins with software alone and on an Arduino UNO to boot?
*
* This example combines high speed A/D conversion, FFT (Fast Fourier Transform) pitch detection combined with simple FastLED library display using
/* Increase/decrease brigtness of LED's.
*
* By: Andrew Tuline
*
* Date: Mar 21, 2019
*
* This is a way to increase the brighness of LED's.
*
*
*/
@atuline
atuline / demoreel100withbutton.ino
Last active October 12, 2022 21:03
Demoreel100 with a button
/*
Title: DemoReel100 with Button
By: Mark Kriegsman
Button added by: Andrew Tuline
/* simplemover
*
* By: A simple routine to move every 4th LED up the strip and fade behind.
*
* No delay statements were harmed in the creation of this routine.
*
* By: Andrew Tuline
*
* Date: June 11, 2018
*
/* Title: inoise8_fire.ino
*
* By: Andrew Tuline
*
* Date: January 2017
*
* This super short sketch displays fire thanks to FastLED's Perlin Noise function and Palettes.
*
* It needs some tweaking in order to work across a wide range of NUM_LED values, but looks pretty good at 60.
*
/* lightsaber
*
* By: Andrew Tuline
*
* Start up a light saber and watch it shimmer slightly.
*
* Date: January, 2017
*
* To do:
*
@atuline
atuline / circring.ino
Last active February 16, 2022 14:12
Circular loader ring
/* Circular loader ring (a real basic one)
*
* By: Andrew Tuline
*
* Date: May, 2019
*
* One version uses a loop and fixed colours, while the other uses a fader.
*
*/
@atuline
atuline / basicfadeingamma.ino
Created April 15, 2019 12:57
FastLED fade in capability with gamma correction.
/*
* File: basicfadeingamma
*
* By: Andrew Tuline
*
* Date: April, 2019
*
* Based previous work (namely twinklefox) by Mark Kriegsman, this program shows how you can fade-in twinkles by using the fact that a random number generator
* with the same seed will generate the same numbers every time. Combine that with millis and a sine wave and you have twinkles fading in/out.