combomash / engine

TypeScript Algorithmic Media Engine
https://www.npmjs.com/package/@combomash/engine
ISC License
0 stars 0 forks source link

pipeline globals #12

Closed owmo-dev closed 3 months ago

owmo-dev commented 3 months ago

May be better to set globals on the Pipeline, which can then pass it to each Node at time of execution. The current setup is a bit clunky, where Nodes must accept it or pass it along.

owmo-dev commented 3 months ago

Maybe Nodes always pass along an object containing a spread of the outputs. Inputs are always just whatever is returned from the last step?