nudibranchrecords / hedron

Perform live shows with your three.js creations
GNU Affero General Public License v3.0
480 stars 22 forks source link

State: Make inputLinks, linkableActions, scenes and macros into nodes #196

Closed funwithtriangles closed 1 month ago

funwithtriangles commented 5 years ago

This may simplify areas of the app such as displaying input links / linkable actions / params in panels without having to specify which type they are and therefore having to know where to look in the state for them. If we need to, could still have lists of specific types of node kept separately in the state for easy looping, etc.

This approach would also make it easier for a "node style" UI, for more complex input processing, as each node would be in the same part of the state and the way it needs to be displayed would only matter at the node level, not some other reference to a type elsewhere.

Linkable actions

funwithtriangles commented 5 years ago

Mostly fixed by https://github.com/nudibranchrecords/hedron/pull/197. Moving to 0.6.0 to be reviewed for the extra bit