Skip to content

Instantly share code, notes, and snippets.

@fredolivas
fredolivas / tourch.ino
Created December 8, 2017 04:00
Cine-Lights Fire Lamp code. Supporting files in folder but can't upload folder.
/* Teensyduino program
* Torch: https://github.com/evilgeniuslabs/torch
* Copyright (C) 2015 Jason Coon
*
* 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 program is distributed in the hope that it will be useful,
@fredolivas
fredolivas / APA102SelfModifyingCode_POTProblem
Created July 31, 2017 04:33
Stefan Petrick's way cool code that I'd like to put a BRIGHTNESS knob attachment
/*
A FastLED matrix example:
A simplex noise field fully modulated and controlled by itself
written by
Stefan Petrick 2017
Do with it whatever you like and show your results to the FastLED community
https://plus.google.com/communities/109127054924227823508
*/
#include "FastLED.h"
@fredolivas
fredolivas / circular_matrix.ino
Created September 8, 2016 15:45 — forked from StefanPetrick/circular_matrix.ino
A 2d matrix mapped onto a circular led setup
/*
* A FastLED example showing how to
* map a virtual 2d matrix onto a circular led setup
*
* limitations: works so far only up to 255 leds
*
* written by Stefan Petrick 2016
*/
#include "FastLED.h"
@fredolivas
fredolivas / crosswipe
Created March 26, 2016 02:45 — forked from StefanPetrick/crosswipe
cross wipe
// the animation itself
// basically just moves the noise in 2 dimensions
// and oscillates the border for the mapping methods
void CrossNoise2() {
currentPalette = RainbowStripeColors_p;
noisesmoothing = 20;
y[0] += 100;