# Drawing a sine wave?

Get help using Construct 2

### » Thu Jan 17, 2013 10:26 pm

Hi.
This one is for the "math" magicians.
@ROJOhound @Yann

As shown above, i need to "automaticly" have a sinewave drawn, using the sprites as distance points.

If i would, then i had implemented a capx
I welcome any tips!

Kind Regards
Savvy001
B
59
S
21
G
14
Posts: 779
Reputation: 13,947

### » Thu Jan 17, 2013 10:30 pm

The wave you drew isn't a sine wave, it's an arrangement of semicircles. Do you want that or an actual sine wave? The formula will change either way.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,739

### » Thu Jan 17, 2013 10:50 pm

@sqiddster

A real sinewave is what im after.
This was just to give a visual understanding.
But it is important that the sine's go from sprite to sprite.
B
59
S
21
G
14
Posts: 779
Reputation: 13,947

### » Thu Jan 17, 2013 10:53 pm

B
92
S
31
G
24
Posts: 3,191
Reputation: 32,739

### » Thu Jan 17, 2013 11:14 pm

@sqiddster

Thanx for the effort
B
59
S
21
G
14
Posts: 779
Reputation: 13,947

### » Fri Jan 18, 2013 8:38 pm

That's not a sinewave, but here's an example that behaves like your diagram:
http://dl.dropbox.com/u/5426011/examples16/wave_thru_points.capx
B
95
S
34
G
128
Posts: 5,494
Reputation: 81,676

### » Fri Jan 18, 2013 9:24 pm

@ROJOhound

Thank u so much!
Now i can study what u did and learn from it
Then i can build it into my app.

Kind Regards.
Savvy001
B
59
S
21
G
14
Posts: 779
Reputation: 13,947