The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

Show your WorkFrom the old forum

Waveform v3.8

No replies yet

  1. I have made some improvements to my waveform node. It now runs faster, can place waves along any baseline, fixes a subtle bug with sawtooth waves, and facilitates two forms of animation.

    Waveform now takes 7 parameters:

    • Baseline. A line segment at any position and angle that defines where the waves will be drawn
    • Min. Minimim Y value
    • Max. Maximum Y value. Together, min and max define the initial amplitude of the wave,
    • Period. The period of the wave
    • Type. Wave type: Sine, Square, Triangle, or Sawtooth
    • Amplitude %. Modify the amplitude. !00% leaves existing amplitude in place. A value greater than 100% magnifies it, a value less than 100% reduces it, 0% produces a flat line, and less than 0% reverses the polarity. In animations you can create a standing wave by fluctuating this value between 100% and -100%
    • Travel. Amount to shift the wave in pixels to the left or right. Steadily increasing this value in an animation creates a traveling wave. For seamless loops set maximum travel rate to an even multiple of the wave's period.

    The attached demo shows the four wave types slightly askew. If you export it as a movie, the waves will both travel and fluctuate, looping every 100 frames.

    Movie attached. Set it to loop to see continuous motion.

    moving_waves.mp4322 KB Download
    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply