MartinusMagneson's picture
Shared by on 2020.07.03 13:33

Updated and cleaned up version of "Magneson's List Tools" compiled for Vuo v2.0.3

Most nodes are now of the generic type kind so it requires less specialized nodes for each type. Sorting is still reals only due to me forgetting how i coded it, and not understanding what's going on with it anymore. I also think by the looks of it that I'd have to make separate 2d/3d/4d nodes for it which is cluttery and probably only for edge cases anyways - so you'll have to split the lists instead. Which you now can do with another node in this set!

Get X amount from list is also removed due to clutter, but should generally be avoided in the first place. Using cut/shift/combine list nodes in conjunction with Build/Process list will be a better way to manage most scenarios where that would have been practical.

Contains the following nodes:

Average list items Averages a subset of a list.

Change Items In List Changes the specified items in a list.

Combine Lists Kind of like the bastard child of the interleave lists and group nodes. Lets you combine lists with an arbitrary amount of items per list.

Cut Wrapped List Stupid name, but the alternatives were stupiderer. It loops a list from a starting item, wrapping around if it hits the end and cuts it at the amount of items you specify. The amount may be larger or smaller than the source list.

Morph Point List Morphs between two point lists. Duh.

Reorder List Reorders items in a list based on an integer list.

Scale list to center Scales items in a list based on their position relative to the center in a list. Maybe Falloff would have been a better name.

Scale Point List Scales a list based on a magnitude list with an offset. Also inverts the sign of the values if wanted. I think I made it to mirror loudness lists, but I don't remember. It's cool though.

Shift List Shifts the starting point of a list and wraps values before the starting point to the end of the list.

Sort With Index Sorts a list based on the values in it putting the smallest first. Also gives out an index list which is the location of where the values are in the original list. Can be used as a primitive "age" indicator for values in a list and to add/remove items based on this. Can also be used with the reorder list node.

Split XYZ list Splits a 3d point list into separate real lists.

Source is in the sidebar, and I've tried commenting what's going on to the best of my abilities. Suggestions and improvements welcome. Especially for the 'Sort with index' node as I think that is more of a trainwreck than anything else, but a proper sorting node would be nice to have.


Put it in you user modules folder, (re)start Vuo, and search for MM.List in the sidebar

Add comment

Log in or register to post comments