*
* EXPERTS ONLY!! EXPERTS ONLY!!
*
- * If you are an artist, you may ignore this file! It just sets
- * up the framework to run the patterns. Should not need modification
- * for general animation work.
+ * If you are an artist, you may ignore this file! It contains
+ * the code to drive grizzly board outputs.
*/
GrizzlyOutput[] buildGrizzlies() throws SocketException, UnknownHostException {
};
}
+/**
+ * Grizzly Output, sends packets to one grizzly board with a fixed IP and a number
+ * of channels.
+ */
class GrizzlyOutput extends LXDatagramOutput {
public final String ipAddress;
private int frameNumber = 0;
- GrizzlyOutput(LX lx, String ipAddress, int ... cubeIndices) throws UnknownHostException, SocketException {
+ public GrizzlyOutput(LX lx, String ipAddress, int ... cubeIndices) throws UnknownHostException, SocketException {
super(lx);
this.ipAddress = ipAddress;
int channelNum = 0;
}
}
+/**
+ * Datagram to a Grizzlyboard. A simple fixed OSC packet.
+ */
static class GrizzlyDatagram extends LXDatagram {
private static byte[] oscString(String s) {