Class HeartEffect

java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.HeartEffect
All Implemented Interfaces:
Runnable

public class HeartEffect extends Effect
Creates a 2D Heart in 3D space. Thanks to the author for sharing it!
Author:
Qukie
  • Field Details

    • particles

      public int particles
      Heart-particles per interation (100)
    • xRotation

      public double xRotation
      Rotation of the heart.
    • yRotation

      public double yRotation
      Rotation of the heart.
    • zRotation

      public double zRotation
      Rotation of the heart.
    • yFactor

      public double yFactor
      Stretch/Compress factor along the x or y axis (1, 1)
    • xFactor

      public double xFactor
      Stretch/Compress factor along the x or y axis (1, 1)
    • factorInnerSpike

      public double factorInnerSpike
      Defines the size of the that inner sting (0.8) \/
    • compressYFactorTotal

      public double compressYFactorTotal
      Compresses the heart along the y axis. (2)
    • compilation

      public float compilation
      Compilation of the heart. (2)
  • Constructor Details

  • Method Details

    • onRun

      public void onRun()
      Specified by:
      onRun in class Effect