# Patterns and Code

**URL:** https://forum.electromage.com/c/patterns-and-code/9.md

[Latest](https://forum.electromage.com/latest.md) · [Categories](https://forum.electromage.com/categories.md) · [Tags](https://forum.electromage.com/tags.md)

---

## [About the Patterns and Code category](https://forum.electromage.com/t/about-the-patterns-and-code-category/145)

<div class="topic-metadata">

**Author:** [@wizard](https://forum.electromage.com/u/wizard)\
**Replies:** 1\
**Last updated:** [March 14, 2020, 5:01pm UTC](https://forum.electromage.com/t/about-the-patterns-and-code-category/145 "2020-03-14T17:01:24Z")

</div>

Ask questions about creating patterns or code. Share tips and tricks. Post questions relating to pattern code Need help getting a pattern to do what you want? Have a cool bit of code that others might find handy? Share…

---

## [Controlling looks across a sync group of 25 Pixelblazes](https://forum.electromage.com/t/controlling-looks-across-a-sync-group-of-25-pixelblazes/4782)

<div class="topic-metadata">

**Author:** [@istnv](https://forum.electromage.com/u/istnv)\
**Replies:** 2\
**Last updated:** [October 20, 2026, 4:35am UTC](https://forum.electromage.com/t/controlling-looks-across-a-sync-group-of-25-pixelblazes/4782 "2026-10-20T04:35:57Z")

</div>

Any update on this? I have an exhibition coming up where I need to control 25 separate PB units simultaneously. There will be over 100 different looks overall, with each units pattern selected by nodeId() Nothing I ha…

---

## [pbz: an unofficial CLI + JS library for Pixelblaze (headless pattern compiling)](https://forum.electromage.com/t/pbz-an-unofficial-cli-js-library-for-pixelblaze-headless-pattern-compiling/4742)

<div class="topic-metadata">

**Author:** [@tarek](https://forum.electromage.com/u/tarek)\
**Replies:** 0\
**Last updated:** [August 15, 2026, 8:31pm UTC](https://forum.electromage.com/t/pbz-an-unofficial-cli-js-library-for-pixelblaze-headless-pattern-compiling/4742 "2026-08-15T20:31:15Z")

</div>

Ben just helped me revive a V3 whose flash writes had slowed to a crawl (thanks again, board’s fine now). Backstory: earlier this summer my 12-year-old and I put up a 170-pixel WRGB ring around our living room, driven by…

---

## [Free Online Pixelblaze Pattern design program](https://forum.electromage.com/t/free-online-pixelblaze-pattern-design-program/4740)

<div class="topic-metadata">

**Author:** [@tjulius](https://forum.electromage.com/u/tjulius)\
**Replies:** 1\
**Last updated:** [August 14, 2026, 3:35am UTC](https://forum.electromage.com/t/free-online-pixelblaze-pattern-design-program/4740 "2026-08-14T03:35:42Z")

</div>

I developed an online pattern creating program for my Burning Man friends to create patterns easy. Everyone is welcome to use it for free: Pixelblaze Pattern Editor

---

## [Coding Approach Suggestions for Five Compound Tetrahedron](https://forum.electromage.com/t/coding-approach-suggestions-for-five-compound-tetrahedron/4725)

<div class="topic-metadata">

**Author:** [@G6eorge](https://forum.electromage.com/u/G6eorge)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 11:43am UTC](https://forum.electromage.com/t/coding-approach-suggestions-for-five-compound-tetrahedron/4725 "2026-08-12T11:43:40Z")

</div>

Good day all, This request for a nudge on the right coding direction is specific to my 5 Compound Tetrahedron model. I’m attempting to learn pattern generation on the PB and I think I have a basic grasp and can figure …

---

## [Sunrise Alarm Clock Pattern](https://forum.electromage.com/t/sunrise-alarm-clock-pattern/4065)

<div class="topic-metadata">

**Author:** [@drewmacrae](https://forum.electromage.com/u/drewmacrae)\
**Replies:** 2\
**Last updated:** [August 1, 2026, 3:01am UTC](https://forum.electromage.com/t/sunrise-alarm-clock-pattern/4065 "2026-08-01T03:01:02Z")

</div>

Sunrise Alarm Clock.epe (13.7 KB) I had a lot of fun writing this pattern to play a little sunrise and sunset and then show something for the rest of the day. Some of it’s probably generally useful as well: Pattern sta…

---

## [Really poor frame rates, I don't see what could be wrong?](https://forum.electromage.com/t/really-poor-frame-rates-i-dont-see-what-could-be-wrong/4652)

<div class="topic-metadata">

**Author:** [@ratkins](https://forum.electromage.com/u/ratkins)\
**Replies:** 3\
**Last updated:** [July 18, 2026, 2:11pm UTC](https://forum.electromage.com/t/really-poor-frame-rates-i-dont-see-what-could-be-wrong/4652 "2026-07-18T14:11:27Z")

</div>

Claude (Opus 4.6) oneshotted this perfectly from the description. Only problem is the frame rate, it’s just way too slow at 2-3fps. The piece is ~1400 pixels divided up into 120-220 pixel panels on each pin of an output …

---

## [PixelblazeDotNet - .NET 8 client library for Pixelblaze](https://forum.electromage.com/t/pixelblazedotnet-net-8-client-library-for-pixelblaze/4720)

<div class="topic-metadata">

**Author:** [@haro](https://forum.electromage.com/u/haro)\
**Replies:** 0\
**Last updated:** [July 16, 2026, 4:49am UTC](https://forum.electromage.com/t/pixelblazedotnet-net-8-client-library-for-pixelblaze/4720 "2026-07-16T04:49:50Z")

</div>

Hello Friends! Here is something for developers. halrad-com/PixelblazeDotNet: PixelblazeDotNet is a .NET 8 client library for interacting with Pixelblaze It started life as zrangers Python library and ported to .net. …

---

## [Is there a Pixelblaze Pattern Editor/Mapper sandbox?](https://forum.electromage.com/t/is-there-a-pixelblaze-pattern-editor-mapper-sandbox/3105)

<div class="topic-metadata">

**Author:** [@cuddlefish](https://forum.electromage.com/u/cuddlefish)\
**Replies:** 15\
**Last updated:** [July 10, 2026, 1:57pm UTC](https://forum.electromage.com/t/is-there-a-pixelblaze-pattern-editor-mapper-sandbox/3105 "2026-07-10T13:57:48Z")

</div>

Hi all, I just ordered a PixelBlaze, and I am wondering if there is any online sandbox, where I can try out making patterns and seeing previews of my mappings before the device arrives. I’m leaving for the burn on the 2…

---

## [Remote settings config](https://forum.electromage.com/t/remote-settings-config/4660)

<div class="topic-metadata">

**Author:** [@a2retro](https://forum.electromage.com/u/a2retro)\
**Replies:** 8\
**Last updated:** [May 23, 2026, 10:23pm UTC](https://forum.electromage.com/t/remote-settings-config/4660 "2026-05-23T22:23:27Z")

</div>

Hello, I’m interested in changing the config on the fly from another microcontroller through web sockets. I’m wondering if it’s possible to change the LED type and the map function.

---

## [How best to make one pixel hsv(0,0,0) for all patterns in 3D map](https://forum.electromage.com/t/how-best-to-make-one-pixel-hsv-0-0-0-for-all-patterns-in-3d-map/4694)

<div class="topic-metadata">

**Author:** [@BrantonamoBay](https://forum.electromage.com/u/BrantonamoBay)\
**Replies:** 2\
**Last updated:** [May 18, 2026, 7:49pm UTC](https://forum.electromage.com/t/how-best-to-make-one-pixel-hsv-0-0-0-for-all-patterns-in-3d-map/4694 "2026-05-18T19:49:00Z")

</div>

I have a sculpture that has one dead pixel (only lights green LED), which I do not currently want to replace the strip for. My pixels are mapped manually using points in 3D space. Is there a way to not skip the pixel, bu…

---

## [Custom ChatGPT agent designed for writing PixelBlaze code - Feedback wanted](https://forum.electromage.com/t/custom-chatgpt-agent-designed-for-writing-pixelblaze-code-feedback-wanted/4580)

<div class="topic-metadata">

**Author:** [@ZacharyRD](https://forum.electromage.com/u/ZacharyRD)\
**Replies:** 13\
**Last updated:** [March 27, 2026, 6:17am UTC](https://forum.electromage.com/t/custom-chatgpt-agent-designed-for-writing-pixelblaze-code-feedback-wanted/4580 "2026-03-27T06:17:38Z")

</div>

ChatGPT and other LLMs aren’t great understanding PixelBlaze code natively (and I’m not a professional programmer). So, I went ahead and wrote a custom ChatGPT agent and published it with a lot of helper instructions tha…

---

## [Where to start?  what do I buy?](https://forum.electromage.com/t/where-to-start-what-do-i-buy/4645)

<div class="topic-metadata">

**Author:** [@kwennerberg](https://forum.electromage.com/u/kwennerberg)\
**Replies:** 21\
**Last updated:** [March 19, 2026, 2:01pm UTC](https://forum.electromage.com/t/where-to-start-what-do-i-buy/4645 "2026-03-19T14:01:20Z")

</div>

I am new to Pixelblaze and would like to know what I need to buy to start. I see there Here is my project: I have now an 8-ft diameter sphere with 92 vertices with traditional C9 holiday dumb lights at each vertex. …

---

## [TX RX data transfer](https://forum.electromage.com/t/tx-rx-data-transfer/4659)

<div class="topic-metadata">

**Author:** [@ag\_design](https://forum.electromage.com/u/ag_design)\
**Replies:** 3\
**Last updated:** [March 13, 2026, 10:33pm UTC](https://forum.electromage.com/t/tx-rx-data-transfer/4659 "2026-03-13T22:33:10Z")

</div>

Sorry for the double posts. Not trying to spam the forum. I have been scouring everything I can read but can’t seem to figure out on the PixelBlaze end how to send/receive anything across the TX and RX pins when attache…

---

## [Upgraded Pixelblaze Marquee: Gradients, Zoom, and Easy Text Tool](https://forum.electromage.com/t/upgraded-pixelblaze-marquee-gradients-zoom-and-easy-text-tool/4630)

<div class="topic-metadata">

**Author:** [@chromaglow](https://forum.electromage.com/u/chromaglow)\
**Replies:** 10\
**Last updated:** [February 10, 2026, 7:14pm UTC](https://forum.electromage.com/t/upgraded-pixelblaze-marquee-gradients-zoom-and-easy-text-tool/4630 "2026-02-10T19:14:03Z")

</div>

Hey everyone, I just finished upgrading the standard 2D Marquee pattern and wanted to share the code. We rebuilt the rendering engine to be much more robust and added a bunch of live controls. New Features: Size Pre…

---

## [Accelerometer Parasol](https://forum.electromage.com/t/accelerometer-parasol/3832)

<div class="topic-metadata">

**Author:** [@Sunandmooncouture](https://forum.electromage.com/u/Sunandmooncouture)\
**Replies:** 9\
**Last updated:** [November 20, 2025, 11:57pm UTC](https://forum.electromage.com/t/accelerometer-parasol/3832 "2025-11-20T23:57:13Z")

</div>

Hey all, not sure if this is possible. I have a parasol with LEDs on top, which is mapped in 2D. I’m using the Pico+ 6-axis I’d like to use the accelerometer to show which way is up when the parasol is laid on it’s si…

---

## [Halloween 2025 patterns](https://forum.electromage.com/t/halloween-2025-patterns/4558)

<div class="topic-metadata">

**Author:** [@wizard](https://forum.electromage.com/u/wizard)\
**Replies:** 8\
**Last updated:** [November 14, 2025, 4:32pm UTC](https://forum.electromage.com/t/halloween-2025-patterns/4558 "2025-11-14T16:32:51Z")

</div>

A thread for your favorite Halloween patterns! I’ll start: here’s a special mod of the Eye of Sauron with eye movement. Super creepy! Download here:

---

## [Shared variables and functions](https://forum.electromage.com/t/shared-variables-and-functions/339)

<div class="topic-metadata">

**Author:** [@ChrisNZ](https://forum.electromage.com/u/ChrisNZ)\
**Replies:** 5\
**Last updated:** [October 30, 2025, 5:12pm UTC](https://forum.electromage.com/t/shared-variables-and-functions/339 "2025-10-30T17:12:20Z")

</div>

Hi there, I’m a new PixelBlaze user but have plenty of experience with Arduino/FastLED and programming in general. Loving the simplicity and well thought out design of the PixelBlaze so far! I have a 16x24 LED grid and…

---

## [Pixelblaze for Beginners - a tutorial syllabus](https://forum.electromage.com/t/pixelblaze-for-beginners-a-tutorial-syllabus/1679)

<div class="topic-metadata">

**Author:** [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Replies:** 3\
**Last updated:** [September 7, 2025, 5:26pm UTC](https://forum.electromage.com/t/pixelblaze-for-beginners-a-tutorial-syllabus/1679 "2025-09-07T17:26:38Z")

</div>

Heavily influenced by the expression doc, found at the bottom of the PB editor (and in github) This is a first pass at a tutorial lesson plan, very subject to change… it’ll start with the most basics, and then flesh out…

---

## [Aurora on LED strips](https://forum.electromage.com/t/aurora-on-led-strips/3391)

<div class="topic-metadata">

**Author:** [@jonb42](https://forum.electromage.com/u/jonb42)\
**Replies:** 16\
**Last updated:** [September 4, 2025, 10:59pm UTC](https://forum.electromage.com/t/aurora-on-led-strips/3391 "2025-09-04T22:59:37Z")

</div>

I’m planning a project that involves ceiling mounted 12x LED strips of varying lengths, longest no more than 1m, a total of 6m. I’m thinking of using the 5V 144LED/m strip (would take about 7x strips counting some waste)…

---

## [Led Strips in a weird order](https://forum.electromage.com/t/led-strips-in-a-weird-order/4167)

<div class="topic-metadata">

**Author:** [@TheYouJean](https://forum.electromage.com/u/TheYouJean)\
**Replies:** 5\
**Last updated:** [July 28, 2025, 11:59am UTC](https://forum.electromage.com/t/led-strips-in-a-weird-order/4167 "2025-07-28T11:59:38Z")

</div>

Howdy! VERY new to coding and LED control in general. Using a continuous LED strip, I have added light to a cosplay sword, but in my design process I did not do a standard zig zag. Rather, there are four rows where it …

---

## [Get me started please](https://forum.electromage.com/t/get-me-started-please/3654)

<div class="topic-metadata">

**Author:** [@jdhollan](https://forum.electromage.com/u/jdhollan)\
**Replies:** 1\
**Last updated:** [July 13, 2025, 5:18pm UTC](https://forum.electromage.com/t/get-me-started-please/3654 "2025-07-13T17:18:23Z")

</div>

Dear coders, i am looking for some help for future projects. First step i tried a slider as a ‘runner-up’. (no leds when 0, all pixels on when 1) But i kept on getting errors. The plan is to later replace the slider b…

---

## [Coding help, array operations](https://forum.electromage.com/t/coding-help-array-operations/4153)

<div class="topic-metadata">

**Author:** [@chuck\_c](https://forum.electromage.com/u/chuck_c)\
**Replies:** 5\
**Last updated:** [July 10, 2025, 5:32pm UTC](https://forum.electromage.com/t/coding-help-array-operations/4153 "2025-07-10T17:32:48Z")

</div>

Array functions in PB are totally foreign to me and I can’t figure this out. Help appreciated. Everything I try gives me errors in syntax, etc that I can’t work out. I think the biggest problem I’m having has to do th…

---

## [Mapping in 2D or 3D?](https://forum.electromage.com/t/mapping-in-2d-or-3d/4143)

<div class="topic-metadata">

**Author:** [@BrantonamoBay](https://forum.electromage.com/u/BrantonamoBay)\
**Replies:** 7\
**Last updated:** [June 28, 2025, 12:45pm UTC](https://forum.electromage.com/t/mapping-in-2d-or-3d/4143 "2025-06-28T12:45:06Z")

</div>

Hello all, I am almost ready to start wiring/programming a sculpture I have been working on but I am beginning my first experience into mapping 2D/3D and I am wondering which would be most useful. I have attached a phot…

---

## [Specific pixels in a specific node](https://forum.electromage.com/t/specific-pixels-in-a-specific-node/4132)

<div class="topic-metadata">

**Author:** [@martyzorro](https://forum.electromage.com/u/martyzorro)\
**Replies:** 4\
**Last updated:** [June 18, 2025, 1:59pm UTC](https://forum.electromage.com/t/specific-pixels-in-a-specific-node/4132 "2025-06-18T13:59:52Z")

</div>

Hi folks! I’m wondering if it’s possible to isolate a specific range of pixels within a specific node without having to specify the overall range of pixels using “index”. For example, let’s say I have five nodes at 1000 …

---

## [Ideas on pixel mapping layout for circle/sphere](https://forum.electromage.com/t/ideas-on-pixel-mapping-layout-for-circle-sphere/4085)

<div class="topic-metadata">

**Author:** [@larana](https://forum.electromage.com/u/larana)\
**Replies:** 3\
**Last updated:** [April 25, 2025, 12:49am UTC](https://forum.electromage.com/t/ideas-on-pixel-mapping-layout-for-circle-sphere/4085 "2025-04-25T00:49:20Z")

</div>

Hey all. I’m working on a project that will have LEDs laid out on a shape that most closely resembles a half-dome. So circular in nature but laid on a partial sphere (imagine the front of an eyeball covered with pixels).…

---

## [Syncing string of LEDs to maintain fast frame rate](https://forum.electromage.com/t/syncing-string-of-leds-to-maintain-fast-frame-rate/4074)

<div class="topic-metadata">

**Author:** [@cxpl](https://forum.electromage.com/u/cxpl)\
**Replies:** 1\
**Last updated:** [April 13, 2025, 1:54am UTC](https://forum.electromage.com/t/syncing-string-of-leds-to-maintain-fast-frame-rate/4074 "2025-04-13T01:54:52Z")

</div>

I’m building an art installation with ~4000 HD108 LEDs. Eventually, I want to address them individually. To start, I want to control them in groups of 40 (100 “pixels”) to play with very fast frame rates. How would I w…

---

## [Web-Controlled Scrolling Text on Pixelblaze Using Tampermonkey + WebSocket](https://forum.electromage.com/t/web-controlled-scrolling-text-on-pixelblaze-using-tampermonkey-websocket/4058)

<div class="topic-metadata">

**Author:** [@chromaglow](https://forum.electromage.com/u/chromaglow)\
**Replies:** 0\
**Last updated:** [March 25, 2025, 5:14pm UTC](https://forum.electromage.com/t/web-controlled-scrolling-text-on-pixelblaze-using-tampermonkey-websocket/4058 "2025-03-25T17:14:05Z")

</div>

Project: Web-Controlled Scrolling Text on Pixelblaze Using Tampermonkey + WebSocket Overview: I’m building a browser-based control panel (using Tampermonkey) to send scrolling text, brightness, speed, and size controls…

---

## [Help with \`blockly.js\` 404 – Trying to Customize PixelBlaze Interface via TamperMonkey](https://forum.electromage.com/t/help-with-blockly-js-404-trying-to-customize-pixelblaze-interface-via-tampermonkey/4055)

<div class="topic-metadata">

**Author:** [@chromaglow](https://forum.electromage.com/u/chromaglow)\
**Replies:** 2\
**Last updated:** [March 25, 2025, 4:39pm UTC](https://forum.electromage.com/t/help-with-blockly-js-404-trying-to-customize-pixelblaze-interface-via-tampermonkey/4055 "2025-03-25T16:39:50Z")

</div>

Hi everyone, I’ve been working on a custom interface overlay all weekend and I am completely stumped. I’m trying to use a TamperMonkey script that hooks into the PixelBlaze web interface. The goal is to create an intera…

---

## [Tutorial/Questions: Music Sequencer - for V3 ONLY by Jeff Vyduna to run a DJ set](https://forum.electromage.com/t/tutorial-questions-music-sequencer-for-v3-only-by-jeff-vyduna-to-run-a-dj-set/3111)

<div class="topic-metadata">

**Author:** [@hololit](https://forum.electromage.com/u/hololit)\
**Replies:** 7\
**Last updated:** [March 18, 2025, 6:26am UTC](https://forum.electromage.com/t/tutorial-questions-music-sequencer-for-v3-only-by-jeff-vyduna-to-run-a-dj-set/3111 "2025-03-18T06:26:08Z")

</div>

Hello everybody, After hours and hours on this pretty tough piece of code, I managed to be able to to modify it without breaking stuff towards my needs. I post here to document my process (might be useful to beginners l…

[Next page](https://forum.electromage.com/c/patterns-and-code/9.md?page=1)
