Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 991 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 991 Bytes

automaton-electron-send-fork

Fork of automaton-electron by 0b5vr with the change that it broadcasts every channel's values thru WebSocket to the demoengine. This happens every frame, when time is received from the demoengine.

WIP

It's very unstable and not polished

WebSocket

See src-renderer/events

Use your own fx definitions

Put your fx definition as an esm module with a default export, at %USERPROFILE%\.automaton\fxs, as a .js extension file.

e.g. put

export default {
  name: 'Add', // display name
  description: 'Example of user-defined fx definition', // description of the fx definition
  params: { // params. can be float, int or boolean
    value: { name: 'Value', type: 'float', default: 1.0 },
  },
  func( context ) { // define your procedure here
    return context.value + context.params.value;
  }
}

into

%USERPROFILE%\.automaton\fxs\0b5vr\add.js

Build

yarn
yarn electron-forge import
yarn build