Skip to content

wrightwriter/automaton-electron-send-fork

 
 

Repository files navigation

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

About

An Electron client of Automaton

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.7%
  • JavaScript 17.3%
  • HTML 4.0%