Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
Made possible with this reddit post.
wine regedit wine-breeze-dark.reg
wine regedit wine-reset-theme.reg
Python syntax here : 2.7 - online REPL
Javascript ES6 via Babel transpilation - online REPL
import math
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS
REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
Moved to https://github.com/markusressel/ESPHome-Smart-Scale |
#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: |
import machine | |
import pixels | |
import array | |
import urandom | |
import time | |
# Source: | |
# https://github.com/FastLED/FastLED/blob/master/examples/Fire2012WithPalette/Fire2012WithPalette.ino | |
heatColors = array.array('L', [0x000000, |
#include "FastLED.h" | |
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000) | |
#warning "Requires FastLED 3.1 or later; check github for latest code." | |
#endif | |
#define NUM_LEDS 100 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB |
#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 |