Skip to content

Instantly share code, notes, and snippets.

@alarrosa14
alarrosa14 / artnet_middleware.py
Last active August 2, 2022 13:30
A Python ArtNet packet receiver that broadcasts its payload.
import sys
from socket import (socket, AF_INET, SOCK_DGRAM, SOL_SOCKET, SO_REUSEADDR,
SO_BROADCAST)
from struct import pack, unpack
UDP_IP = "127.0.0.1"
UDP_PORT = 6454
@eightlines
eightlines / FadeCandySyphon.pde
Last active February 28, 2019 15:20
FadeCandy Syphon Display
import codeanticode.syphon.*;
OPC opc;
SyphonClient client;
PImage dot;
PImage img;
void setup() {
size(640, 360, P3D);
client = new SyphonClient(this);