Examples of DancingFlame


Examples of org.jwildfire.create.tina.dance.DancingFlame

          }
          time = System.currentTimeMillis();
        }
        nextFrame = (long) (time + 1000.0 / (double) thread.getFramesPerSecond() + 0.5);

        DancingFlame dancingFlame = flameStack.getFlame();

        Flame renderFlame;
        if (fftData != null) {
          long currTime = time - timeRenderStarted;
          short currFFT[] = fftData.getDataByTimeOffset(currTime);
          Flame transforedFlame = transformer.createTransformedFlame(dancingFlame, currFFT, currTime, thread.getFramesPerSecond());
          renderFlame = new FlamePreparer(prefs).createRenderFlame(transforedFlame);
        }
        else {
          renderFlame = new FlamePreparer(prefs).createRenderFlame(dancingFlame.getFlame());
        }

        flames.add(renderFlame);
        if (time >= timeRenderStarted + nextAction.getTime()) {
          if (nextAction instanceof StopAction) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.