Menu

#4 Points jump to new positions

v0.5
open
nobody
5
2011-01-19
2011-01-19
marc wren
No

If a move event occurs before all points have moved from a previous move event, points will suddenly jump to a new point location. This can be replicated with the following preIterate block:

_pointMoveEventTracker.setStandalone( true );
_pointMoveEventTracker.setFramesPerBeat( 37 );
_rotationEventTracker.setStandalone( false );
_rotationEventTracker.setFramesPerBeat( 150 );

_honorRotationEvents = false;
_rotationY += 1.0;

if( ofGetFrameNum() % 17 == 0 && ofGetFrameNum() > 1 )
{
_numberOfPoints = ofRandom( 3, 40 );
}

and these initial values:

_pointAnimationDuration = 40.0f;
_pointStaggerDuration = 1.0f;

Discussion


Log in to post a comment.

MongoDB Logo MongoDB