/wekp5

Primary LanguageJavaScript

Template taken from Wekinator input example bundle. Tested with public domain hosting to support remote OSC messages.

OSC library changed from from osc-min to node-osc. However, I haven't tested the orginal example so this may not be neccessary. Some parts of the code have been commented out, meaning this can only be used to send OSC messages.

wekp5

This example weds Wekinator machine learning and P5.js.

Mouse locations control background colors.

Simply:

Remote Hosting (Free)

Follow the instrctions to install ngrok on the host machine that will be recieving messages: https://ngrok.com

Once configuresd, cd into the main directory in a separate tab/window and run the following command:

./ngrok http 3000

Screenshot 2020-12-07 at 16 40 59

Copy the unique url to the client's browser to send data.

To quickly test if data is being received by the host, try netcat:

nc -u -l 12000