Quartz Composer: Reducing Random Number 'Frequency'

Discussion in 'Mac Programming' started by FelixMC, Apr 30, 2008.

  1. FelixMC macrumors member

    Joined:
    Jan 4, 2008
    #1
    So, I have this screen saver displaying a particle system, whose x and y coordinates are derived from 'Random' type patches. The "Variability" setting is set to .5, so the patch is already outputting numbers that are closer to each-other, making the particle system move slower, then if the "variability" was set to 0 or 1. However, it still seems like it moves too fast.. Any other way of slowing it down, turn down the frequency maybe through some external patches? :rolleyes:
    Any ideas would be greatly appreciated. I'm running Tiger, so I'm obviously using QC v 2.1.1.
    I've also tried to replicate the results of the "Random" patch by using the javascript patch, but without much luck:eek:..
     
  2. m4tti macrumors newbie

    Joined:
    May 29, 2008
    #2
    Hi there! had the same problem, just try to set the Variability to about 0.1. try playing around that number ;)
     
  3. FelixMC thread starter macrumors member

    Joined:
    Jan 4, 2008
    #3
    Thanks for the reply :p
    I've actually figured a way to replicate the random patch within the javascript patch, and I've managed to make the 'frequency' controllable by using a interpolation patch, and having the user specify the Duration of that patch.
    I needed help with this because users demanded a speed controller for my Screen Saver, Explosive Reflected, and since the particle system coordinates were derived from a random patch, I needed a way to slow it down :)
    You can check out the screen saver or just the qc file, by going to the link above :p
     

Share This Page