Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Adjusting width of sine wave?

$
0
0

@Awareness wrote:

I want to create a sine wave which moves horizontally from the screen's most left to most right position , how can I do this? I draw an "X" character on the screen which moves horizontally on the screen in a sine wave movement style(I did it by the help of online OfBook's Experimental Game Development section) but I couldn't understand how I can adjust it so that it moves horizontally from the screen's most left position to most right position,then from most right position to most left position in a sine wave pattern(and in a repeating pattern), how can I do that?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles