bevy_mod_chroma
Razer Chroma support plugin for Bevy. Uses the Razer Chroma HTTP API to communicate with the Razer Chroma system.
Currently only supports WASM.
Usage
You will need Razer Chroma software installed to properly use this plugin. If you don't have certain types of hardware devices, Razer also provides an emulator that you can use to test your effects.
General flow is that you need to register effects via Chroma::create_effect to get an EffectHandle, and then you can pass that handle to Chroma::apply_effect to apply.
See the examples directory for more detailed examples.
System setup
Add the plugin to your app:
use *;
use ;
NOTE: The information you provide to
ChromaRunnerInitializationSettingsis displayed in the Razer Synapse connect menu!
Create and apply effects
Use the Chroma parameter in systems to create and apply effects:
use ;
TODOs
- Documentation
- Error handling
- Retries
- Reconnect after dropped connections
Wants
- Websocket version
- Built-in animations support