Skip to content
Cocoa application with QuartzComposer-like interface
JavaScript Objective-C C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
English.lproj
resources
synergio.xcodeproj
.gitattributes
.gitignore
AMSDKCompatibility.h
AMSerialErrors.h
AMSerialPort.h
AMSerialPort.m
AMSerialPortAdditions.h
AMSerialPortAdditions.m
AMSerialPortList.h
AMSerialPortList.m
AMSerialPortList_Deprecated.h
AMSerialPortList_Deprecated.m
AMSerialPort_Deprecated.h
AMSerialPort_Deprecated.m
AMStandardEnumerator.h
AMStandardEnumerator.m
AppController.h
AppController.m
MainView.h
MainView.m
README.md
Serial.h
Serial.m
Synergio.h
Synergio.m
main.m
synergio-Info.plist
synergio_Prefix.pch

README.md

synergio

Documentation

Creating devices

Devices.MyDevice = function(opts){
  // create device object
  var device = Synergio.Device({
    name: "My Device"
  }.merge(opts));

  // customize object
  // ...   

  return device; // remember to return
}

var myItem = Devices.MyDevice({coords: [50, 50]});

Creating presets

Presets.MyPreset = function(){
    var obj1  = Devices.MyDevice1({coords: [50, 50]})
    var obj2  = Devices.MyDevice2({coords: [150, 50]})

    obj1.outputs[0].connectWith(obj2.inputs[0])
    obj1.outputs[1].connectWith(obj2.inputs[1])
}
Something went wrong with that request. Please try again.