User Tools

Site Tools


4rpl:commands:pingpong

This is an old revision of the document!


Index

:!: Available in version 2.5 and later.

CommandName

PingPong (<-t <-length)

Description

PingPong returns a value that increments and decrements between zero and the length. It follows the triangle wave formula where the bottom is set to zero and the peak is set to length.

PingPong requires the value t to be a self-incrementing value.

This is similar to SignalGenerator for a triangular wave form, but more performant.

Examples

# need worked example

Index

4rpl/commands/pingpong.1716424469.txt.gz · Last modified: 2024/05/22 20:34 by Karsten75