Processing Tutorial 1 Getting Started INST. Kerem Odabaşı - YTU - Interactive Telecomunication Design Dept. The Processing equivalent of a "Hello World" program is simply to draw a line: line(35, 25, 70, 90);
Processing Tutorial 2 Variables tutorial2 Variable Declaration: int var; // type name Variable Initialization: var = 10; // var equals 10 Using Variable: var = var+1; INST. Kerem Odabaşı - YTU - Interactive Telecomunication Design Dept. Data Primitive boolean byte char color double float int long Composite Array ArrayList HashMap Object String XMLElement
Processing Tutorial 4 Processing - Arduino Handshake Instructions Unzip the library and copy the "arduino" folder into the "libraries" sub-folder of your Processing Sketchbook. (You can find the location of your Sketchbook by opening the Processing Preferences. If you haven't made a "libraries" sub-folder, create one.) Run Arduino, open the Examples > Firmata > StandardFirmata sketch, and upload it to the Arduino board. Configure Processing for serial: http://processing.org/reference/libraries/serial/ In Processing, open one of the examples that comes with with the Arduino library. Edit the example code to select the correct serial port. Run the example.Run the example. INST. Kerem Odabaşı - YTU - Interactive Telecomunication Design Dept.