Trigonometric function visualization using MaxMSP — “Coding Druid”

“Coding Druid” series is my horizontal programming practice notes, each part around a topic like mathematical, physics, electronic, graphics, sound, etc., implemented in several programming languages. Mathematics In the principle of not digging holes for yourself, I start from a (maybe) simple theory, the trigonometric function of junior high school mathematics. Trigonometric function In mathematics, the trigonometric functions (also called circular functions, angle functions or goniometric functions) are real functions which relate an

Transmitting OSC data via WebSocket

Sometimes I meet situations where I need OSC but cannot use UDP.  Such as sending OSC message from browser-based p5js to Processing / MaxMSP / Unity.And I’m developing a OSC controller called BugOSC. It is a WeChat Mini Program, which also does not support UDP. However, although the web guys usually don’t support UDP, they support WebSocket – another network transmission protocol. So I built some examples about transmitting OSC data through

Max QRCode Generator

“Node for Max” is a new future of Max8. Official introduction and tutorial:“With support for the vast NPM library, Node for Max connects your patches to thousands of possibilities.” Easy to use:In Max: use [node script] object.In js: I made a QRCode generator using Node for Max: Max patch and NodeJS source code download:

BSQ – interactive wall [2018]

“BSQ” is an interactive LED wall in a clubhouse near “West Lake” of Hangzhou, China.  In the video, “Qiantang River” was crossing the city. The modern building will transform to ancient architecture when touched by people. If someone walks along the wall, some wave will follow him. The background sound also reacts to people’s interaction. The project used two HOKUYO URG-10LX Scanning Laser Rangefinders, one for multi-touch, and another for tracking people’s position.  About

SOS – interactive wall [2018]

“SOS” is an interactive LED wall in a night club in Shanghai, China. If someone walks along the wall, some halo will follow him. The background stripe color will reacts to the live music tempo. The project used one HOKUYO URG-10LX Scanning Laser Rangefinders for tracking people’s position. About software, the visual content created in Max (aka MaxMSP). Python got the tracking data from Rangefinder, and sent it to Max