Sine Cosine Wave

Show off your games, demos and other (playable) creations.
Post Reply
AhmedDawoud
Prole
Posts: 3
Joined: Mon Jun 07, 2021 8:39 pm
Contact:

Sine Cosine Wave

Post by AhmedDawoud »

Hey Everyone.
I made this project.
It's called "Sine Cosine Wave".
It Shows the sine and cosine waves and their relation to the unit circle.
SineCos.love
(623.24 KiB) Downloaded 291 times
What do you think of it?
This is the source code: https://github.com/AhmedDawoud3/Sine-Cosine-Wave
User avatar
darkfrei
Party member
Posts: 1204
Joined: Sat Feb 08, 2020 11:09 pm

Re: Sine Cosine Wave

Post by darkfrei »

Always add screenshot. ;)
The axis crossing must be always +/-45 degrees.
Maybe choosing the phase with the mouse click.
Make it as projection to the axis (now both curves are from the point on circle, it's wrong):
Attachments
2021-08-20T10_32_20-Sine-Cosine Wave2.png
2021-08-20T10_32_20-Sine-Cosine Wave2.png (85.52 KiB) Viewed 6823 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
AhmedDawoud
Prole
Posts: 3
Joined: Mon Jun 07, 2021 8:39 pm
Contact:

Re: Sine Cosine Wave

Post by AhmedDawoud »

darkfrei wrote: Fri Aug 20, 2021 8:37 am Always add screenshot. ;)
The axis crossing must be always +/-45 degrees.
Maybe choosing the phase with the mouse click.
Make it as projection to the axis (now both curves are from the point on circle, it's wrong):
If you choose "with axis" it's projected to the axis
I already made it to see the doted line but forgot to push it to GitHub
Screenshot_2021-08-21-12-49-39-14.jpg
Screenshot_2021-08-21-12-49-39-14.jpg (58.3 KiB) Viewed 6749 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests