Subblade, SubBladeWithStride, and/or SubBladeZZ emitter PCB use case

I checked out the discussion of the Shadowfoil Hangman PCB where SubBladeZZ was implemented to aid in the complex setup, but this is a different Shadowfoil PCB, and I’ve stumbled upon whether the “with stride” logic can handle the layout. For context, here’s Sam’s data layout:

What I’m hoping to achieve is 3 concentric blades (12, 8, and 4px lengths), and the pixels numbers would be as follows:

outer: 0-11
mid: 12,14,15,17,18,20,21,23
inner: 13,16,19,22

So, the outer would be easily SubBlade(0, 11, NULL), and the inner would be SubBladeWithStride(13, 22, 3, NULL), but the weird intervals of 1, skip 1, 2, skip 1, 2, skip 1, 2, skip 1, 1 don’t seem applicable.

I can imagine a complex subblade setup, like @NoSloppy suggested before the zig-zag stride was created, but my styles would be limited (i wouldn’t be able to have a cylon bladestyle in the middle because) because I could only duplicate the exact same style on all the 1,2,2,2,1 strip and have them be time based (like a pulsing where they all start and stop at the same time).

Am I wrong, and am missing how to setup a blade array to take advantage of the placement? I don’t think ZZ would work, since it alternates left-right. As of late, I’ve only split the emitter into two concentric rings, and it’s obvious when scrolling styles move across the snaking pattern of the inner ring. Still looks cool, but my curiosity got me wondering if I fully understood the newest SubBlade options.

Any suggestions?

When I program these I have it as one blade, but the style is a gradient broken up into 24 “colors”. I got the idea from the Shtok off effects and just modified it for 24 pixels. Here are some of the effects I have made, starting with the list of modified Shtok effects. I know it’s not exactly what you were asking, but it’s an option to keep in mind.

I appreciate that, but that still doesn’t solve the odd number pattern. There wouldn’t be a way to subdivide the style into 3 rings with a bladestyle. So the colorcycle in your first few splits wouldn’t be able to work based on the pad layout in the attached photo from Sam.

This is definitely a nice work-around for less complex setups.

Edit: Looks like I lied. I tried to split up the gradient into discrete pixels and the colorcyle acts like one layer…at least in the style editor. I assumed each instance would start and stop independently, but because it’s all in the same bladestyle the motion appears continuous.

3 rings is a thing. Is it able to do exactly what you are after, I don’t know. But you can separate the rings.

Yeah, I edited my reply after playing around with one of the styles in the editor. It is inelegant, as some features aren’t easy to implement, but splitting it in a bladestyle is doable.

What features are you trying to implement?

Different on and off sequences, the ability to use some of my standard accent styles built off the fett263 library. I tried playing with Transition Loop Layers in the editor, but it was too much of a time suck. So I’m just going to split in two my old-fashioned way for now. When I get time to maybe make some new styles specific to this emitter PCB, at perhaps your suggestion, I may invest that time. It’s a trade-off of easy to define subblades and copy/paste previous styles, vs overhauling bladestyles to use the simpler gradient styles in your pastebin.

You’ve given me quite a bit to work with, actually. I would just have to add a Layers< start before an on style, an InOutTrL for an off style, and any other regular effects for clashes, blasters, etc. Thank you for the idea. Still will need to wait until the next commission to implement, but now I know it’s more doable.

There isn’t a way to do exactly what you want right now.
We could add a subblade variant which just takes a list of numbers, which could be used for these sort of odd things.

In the meantime, I would suggest using four blades using SubBladeWithStride:

  • 0-12
  • 12, 15, 18. 21
  • 14, 17, 20, 23
  • 13, 16, 19, 22

The two middle ones could have the same style to make them behave basically the same.

1 Like

Thanks, profezzor. I thought I might be able to overlap strides, but I thought I had accidentally done so in the past with unwanted results. Given this would be planned, I think you’re right that the matched styled subblades would behave in tandem. I’ll try it later today and report back.