Generate Nanoleaf light effects.
Project description
nanoleafeffects
Generate Nanoleaf effects using generative AI.
Supported generators
Currently only supports Google GenAI. Be sure to create an API key in Google AI Studio.
Example usage
from nanoleafeffects.generator import GoogleAIGenerator
generator = GoogleAIGenerator(api_key="YOUR_API_KEY", model="gemini-2.5-flash")
effect_json = generator.generate_effect("A calming blue wave effect that slowly transitions between shades of blue")
print(effect_json)
{
"animName": "Calming Blue Wave",
"animType": "plugin",
"hexPalette": ["ADD8E6", "4169E1", "00008B"],
"pluginUuid": "027842e4-e1d6-4a4c-a731-be74a1ebd4cf",
"pluginType": "color",
"pluginOptions": [
{
"name": "loop",
"value": true
},
{
"name": "transTime",
"value": 500
},
{
"name": "delayTime",
"value": 100
},
{
"name": "linDirection",
"value": "right"
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nanoleafeffects-0.1.0.tar.gz
(8.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nanoleafeffects-0.1.0.tar.gz.
File metadata
- Download URL: nanoleafeffects-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751a73858639d0133c66876674930d27f3b5e81c715ba25750ea65a2f7f8315b
|
|
| MD5 |
30e5ed608baaa3db3f7ece14729f4643
|
|
| BLAKE2b-256 |
b66f89bf8984860d638ea4469c83fffc65ba7344b7e84202ff8712c865a7fe0a
|
File details
Details for the file nanoleafeffects-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nanoleafeffects-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abfdd0da1c663941897185a66ab803b17ae1c36e3057a055fe530215b2082215
|
|
| MD5 |
5880724da76fe3cc75c6e2f224f0d0f0
|
|
| BLAKE2b-256 |
6874ce3a4e771d03807a567476b6ff573ad019101582e244125d0e812caf5787
|