quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #100 Particle Systems

Particle Systems - NSScreencast

火の玉みたいなアニメーション

  • CAEmitterLayer
    • emitterShape = kCAEmitterLayerPoint;
      • Point/Line/Rectangle/Cuboid/Circle/Sphere
    • emitterPosition
    • renderMode
      • kCAEmitterLayer
        • Unordered, OldestFirst, OldestLast, BackToFront, Additive
    • emitter.emitterCells = @[stars, fire];
  • CAEmitterCell
    • fire.contents = (id)[[UIImage imageNamed:@"particle.png"] CGImage];
    • contentsRect
    • birthRate
    • lifetime
    • velocity / velocityRange
    • scale / scaleRange / scaleSpeed
    • alphaRange / alphaSpeed
    • emissionLongitude
    • emissionRange
      • M_PI / M_PI_2 / M_PI_4
      • M_PI /16
    • fire.color = [[UIColor colorWithRed:0.95 green:0.6 blue:0.2 alpha:0.9] CGColor];
      • redRange
      • greenSpeed
      • blueSpeed
    • yAcceleration
    • gravity
  • star effect, bubble effect
  • Core Animation - Animatable
  • UIEffectDesigner UIEffectDesigner Touch Code Magazine | Touch Code Magazine
  • 有料アプリ Particle Playground | VigorousCoding