P5 to Max is a Max script tool to make a connection between 3dsMax and Processing. The goal of the project is to bring Processing language advantages to 3dsMax.
If you don´t know the Processing language, check here. Using P5 to Max and Using Processing with some libs, we can do easily procedural animations, realtime camera and Wii remote control capture, Arduino connection, realtime audio spectrum and others…
How it works:
Start a sketch in processing as server.
Drag the P5toMax.ms to 3dsMax viewport or “Run Script”. Adjust your settings, and click on “Connect”.
When the Max Script is “playing”, it sends a time counter to the Processing Server.
The server works with this value, using as reference to make your animations. This way is possible to make a relationship between 3dsMax Timeline and the Processing generated animation.
So, after define your MaxScript commands, Processing sends back this value to 3dsMax.
Finnaly, the Max Script will execute this command.
The video shows a simple procedural animation: