prism-node-api

Community

Visually design LED patterns, export to K1 device.

Authorsynqing
Version1.0.0
Installs0

System Documentation

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);

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prism-node-api
Download link: https://github.com/synqing/K1.hardware/archive/main.zip#prism-node-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.