Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aykevl/ledsgo

LED animation library written in Go, inspired by FastLED
https://github.com/aykevl/ledsgo

Last synced: 15 days ago
JSON representation

LED animation library written in Go, inspired by FastLED

Awesome Lists containing this project

README

        

# Color utilities for LED animations

This package is a collection of some utility functions for working with
color. It is primarily intended for LED animations on microcontrollers using
[TinyGo](https://tinygo.org/), therefore it has been optimized for devices
without FPU.

It is inspired by [FastLED](http://fastled.io/) but does not implement any
drivers for LED strips to keep development focused on fast animations.

## Noise functions

This package contains a number of Simplex noise functions.
[Simplex noise](https://en.wikipedia.org/wiki/Simplex_noise) is very similar
to Perlin noise and produces naturally looking gradients as you might
encounter in nature. It is commonly used as a building block for animations,
especially in procedurally generated games.

Be warned that Simplex noise is
[patented](https://patents.google.com/patent/US6867776) (set to expire on
2022-01-18) so use at your own risk for computer graphics. This patent may or
may not apply to LED animations, I don't know.

## Animation demos

There is a [demos](./demos) subpackage which contains a number of simple
animations that can be directly applied to surfaces implementing the
[`Displayer`](https://godoc.org/github.com/aykevl/ledsgo/demos#Displayer)
interface.

## License

This package is licensed under the MIT license, just like the FastLED library.
See the LICENSE file for details. Some code has been copied from the FastLED
library, this is indicated in the code.