Forums > MaxMSP

quick store patterns in coll

May 31 2011 | 6:38 pm

I’m entering all the coll entries for my patch into the coll by index, and then the coordinates for ‘live’ cells (white = live, black = dead)

attatched is a part of the patch that is relevant.

there must be an easier way to store the ‘patterns’ of live cells into the coll (at a new index each time)

I know it may seem like a stupid question to ask but i’m getting sick of entering them manually

all advice greatly appreciated

May 31 2011 | 6:59 pm

give this a try:

-- Pasted Max Patch, click to expand. --

now you only need to figure out a logic as to how and where you want to store it in the coll, but that shouldn’t be too difficult.

Jun 01 2011 | 11:14 am

Wow, thanks MIB! I keep forgetting about the ‘zl’ family.

This works really nicely thanks, I can just add an ‘insert’ and an ‘index’ value into the message box each time and quickly store the list

Cheers again, a wuick simple solution

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP