> I'd love to see any code or snippets or general feedback on doing it in a way that's not too hacky!
I think it's more of a UI problem than it is a code problem. Where is 'cell' useful and how can you elegantly allow it to be used to modify other values.
One of the reasons I started messing around with Klak is that this feels like it should be a node-based graph thing rather than the hierarchy based UI you've currently got.
However - logically speaking you can create graphs with the inspector UI - they are just harder to visualise.
I think compiling a set of potential use-cases for 'cell' might help clarify both the code structure and the UI
1. Applying materials to a subset of cells based on a rule
2. Applying modifiers to a subset of cells based on a rule
3. Choosing primitives (or whole subtrees) based on the cell value and a rule
etc etc