Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Connecting Node.js and openFrameworks

Connecting Node.js and openFrameworks

Problem

What is the best way to Connecting Node.js code and openFrameworks(oF) code? I though zmq would be nice, because it seemed easy to use (has many wrappers), and light and fast. ofxZmq, the zmq addon for openFrameworks, however, just didn't work well. It crashes when receiving messages.

I want something as easy to use as possible.

Problem courtesy of: takuma7

Solution

I have done a simple communication from an open frameworks client to a node.js server via OSC protocol. It is very popular in the OF world, and it can be read by a bunch of similar software and frameworks (processing.org, PureData, VVVV, Max/MSP, etc)

Here you have some different chooses for OSC implementation via UDP:

https://nodejsmodules.org/tags/osc

Solution courtesy of: nkint

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Connecting Node.js and openFrameworks

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×