added some blocks that lets you interact more with colors outside of HSBT, including a few more blocks for RGBA, and (using JS so conversions don’t take too long) OKLAB. plus, an extra utility block (technically 3, one for each of the 3 color models) that lets you merge 2 colors based on the transparency of the first one.
i didn’t realize that. i guess i could attempt the argument of the default values that my block adds, since the handling of lists less than length 4 seems to differ from the handling of my block.
for more heavy-duty use cases, the JS block is faster by a long shot.
though, i am biased here, because i made the JS versions so i could use them in another project im working on that hugely benefits from the usage of JS.
Well, yeah, if you’re doing super heavy duty stuff that needs every bit of speed, but at the point it’s better to just write it all in javascript. For most people, the snap speed is fast enough.
Rather than asking if JavaScript should be used as an arguement, you can just always use JavaScript unless that’s turned off. The easiest way to detect that is by catching an error after trying to perform JavaScript.
You can actually mark variadic inputs as static after having existing “input list” uses of that block and those “input list” locations will remain untouched.