237
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''Task 4''' "Using cables to control objects in Max" | |||
Based on task 2 Jitter, I want to build a connection between the virtual pattern object and physical equipment. Using | Based on task 2 "Jitter", I want to build a connection between the virtual pattern object and physical equipment that we can have an interaction with the virtual world. | ||
Using 6 cables on Arduino to input serials to max, I connect converted inputs from arduino (physical equipment)to max that I can control each axis by 6 cables (Analog0-- Analog5). For instance, when I touch the cable (to change value) which inserts in pin A0, position X of the object will change in certain range, other cables can be inserted in 3.3V, 5V or GND to keep stable voltage that you can see the change obviously. | |||
*[[:File:Arduino signal sphere 6cables.maxpat]] | |||
*[[:File:AnalogReadSerial.ino]] | |||
[[:File:Network-OSC.maxpat]] | Furthermore, I use a gyroscope (GY521) on arduino to detect the moving direction, particles in max will follow the direction in 3 axes. Virtual patterns interact with the physical world still have many possibilities. | ||
*[[:File:tut_02_particles.maxpat]] [https://www.youtube.com/watch?v=TRgX7rVgSAE] | |||
I build camera, window, and objects | <br>'''Task 3''' "OSC" | ||
Using SoundcollOSC app to connect with Max. Drag the slider/volume or turn on/off the button on the app, the serials receive by max and vice versa. OSC received from SoundCool app, and outputs to Arduino and Sound. | |||
*[[:File:Network-OSC.maxpat]] | |||
<br>'''Task 2''' "Jitter" | |||
I build a camera, a window, and three-dimensional objects in this patcher, control the position and rotate in X, Y and Z axis. Objects also can be controlled by using "object: join" to a certain place in a certain time. (Mega helped me to edit the patcher easy to read and understand). | |||
[[:File:Homework.maxpat]] | *[[:File:Jitter_Graphic_test3.maxpat]] (miga edit) | ||
*[[:File:0517 Jitter_Graphic_test2.maxpat]] | |||
'''Task1''' "dimmer" | |||
If you drag the slider in patcher, you will find the LED which inserts in PWM pin change brightness. | |||
*[[:File:dimmer LY.maxpat]] | |||
*[[:File:Homework.maxpat]] |
edits