Pure Data: Randomly Changing Color (Extra Credit)

Hey, I figured out how to get the cube to randomly change color every second. Maybe there's another way too? I "packed" the RGB so that I could get three inputs to hook up to "random" objects. But the random object generates numbers 1-99 instead of numbers from 0 to 1, so I multiplied each by .01.

The metronome ("metro") asks for milliseconds, so I inputted 1000 to equal one second, and metro is also connected to "pack" so that it sends the data to "color." Lastly, I inserted the "bang" to start it.



Comments

Popular posts from this blog

Presentation Discussion

Expectations