Fading Particle Gridshapes

    Jan 09 2013 | 7:07 pm
    Hi All,
    New to using particles in Jitter. I have a simple patch which emits particle spheres using gridshape. I'd like to play with having them fade over their life, as opposed to just disappearing suddenly at end of life.
    I'd also like to maybe have them start with a specific color , then change color to an ending color over their life.
    Would be cool to have them scale down over life as well.
    Any ideas or examples of these specific functions would be awesome. I'm new to this area of jitter so the examples and recipes are a bit hard to parse for individual attribute controls as I'm looking to do. i.e. Just modifying my patch here to fade the particles over time.

    • Jan 09 2013 | 7:28 pm
      something like this works:
    • Jan 09 2013 | 9:00 pm
      valentin, there's a bug in your patch. you forgot the @ symbol for the blend_enable attribute. with blend_enable on, you can simply map the life-time inversely to alpha, for a fade out effect.
    • Jan 09 2013 | 11:45 pm
      Hi Robert.
      That idea makes sense =) Not sure how the life-time value is obtained for each particle. Still getting my head around how this works.
      Also wondering how to control the velocity of the particles being emitted at any point in time - i.e. how do I make them emit and move slowly, then have bursts of activity with more particles, moving faster based on changing one of the attributes.
    • Jan 10 2013 | 7:58 pm
      you are already retrieving the current life value in the patch you posted. it's the second plane of the output particle matrix (first being particle id, and next 3 being position).
      to change the emission velocity, you have to tweak parameters like speed, emit, force, and their corresponding _var parameters.
      beyond that, you can bypass p.vishnu, and instead create your own force system.
    • Jan 21 2017 | 4:30 am
      I'm actually trying to bypass p.vishnu to create my own force system with jit.phys.world and I really don't know where to start... Could you help me with this one ?
    • Jan 23 2017 | 6:50 pm
      i guess the first place to start is to describe what you want. how would you like to use the jit.phys with jit.p?
      next step is to show us what you've tried.
      i would start by studying the jit.p.* help files, and asking here if there's things you don't understand. here's a simplified example of using jit.p.* in case that's helpful: