MQTT:: p5js to p5js

In this series of videos we unpack a barebones p5js sketch that shares data using MQTT and shiftr. In the first example data is looped-back to itself, and in the second data is sent to a remote node. The final video looks at sending colors between two nodes.

The sketch in the first two videos is intentionally minimal. There is no interface, mouse clicks activate message sends. This is done to help emphasize and highlight the MQTT relationships involved.

Code for all 3 videos can be downloaded from github.

MQTT: p5js to p5js. Part 1, Loopback data.

MQTT: p5js to p5js. Part 2, Two nodes.

MQTT: p5js to p5js. Part 3, Color send

MQTT: p5js to p5js. Part 3, Color send