What problem does it solve?
Designing complex LED animation patterns for embedded devices is often a tedious, code-heavy process. This Skill provides the complete API specification for the PRISM.node K1 Light Lab, a visual node-based editor, enabling you to understand and interact with the system to create, preview, and export sophisticated LED patterns without writing low-level code.
Core Features & Use Cases
- Node-Based Animation: Understand the architecture of a graph-based editor for creating dynamic LED effects.
- Real-time Preview & Export: Learn how patterns are rendered in real-time and exported as binary TLV payloads to the K1 device.
- Color Space Management: Leverage OKLCH (perceptual color space) for intuitive hue shifts and saturation adjustments.
- Use Case: Develop custom nodes for the K1 Light Lab editor, or integrate external tools to generate and push LED patterns to the K1 device, automating complex visual design workflows.
Quick Start
Example: Sending a pattern to the K1 device via WebSocket
import { makePutPlan, sendPlanOverWs } from './transport/wsTlv';
const patternBytes = new Uint8Array(/* 960 bytes of RGB8 data */);
const plan = makePutPlan(patternBytes);
await sendPlanOverWs('ws://192.168.1.100:8080', plan);