Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aykevl/ledsgo
- Owner: aykevl
- License: mit
- Created: 2018-11-16T12:23:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T16:07:10.000Z (8 months ago)
- Last Synced: 2024-10-11T15:11:09.030Z (about 1 month ago)
- Language: Go
- Size: 428 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.