All About Angles

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

All About Angles

Post by zachwlewis »

I made a really, really simple introduction to trig cheat-sheet for a friend I'm teaching to LOVE. It is by no means perfect, but I think the information is solid and enough to get someone who knows very little about trig using the sin and cos functions.

I've attached it. Feel free to distribute.
Attachments
AllAboutAngles.pdf
All About Angles
(71.01 KiB) Downloaded 177 times
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: All About Angles

Post by Robin »

Neat. Love the header.

“Mostpeople” -> “Most people”
“yeild” -> “yield” (twice)
“θdeg” in the second tip looks weird.
Help us help you: attach a .love.
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

Re: All About Angles

Post by zachwlewis »

Yep.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: All About Angles

Post by nevon »

Sweet! This could be incredibly useful to me.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: All About Angles

Post by bartbes »

Cool, though math.deg and math.rad might be worth mentioning.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: All About Angles

Post by kikito »

I don't know whether this is a bit overkill, but the first trigonometric function that newies want to use is arcTangent ("How can I make my turret point to the player").

Another thing worth mentioning is angle normalization: angles less than 0 or bigger than 2*Pi have "equivalents" on the 0-2*Pi range.
When I write def I mean function.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: All About Angles

Post by Robin »

kikito wrote:I don't know whether this is a bit overkill, but the first trigonometric function that newies want to use is arcTangent ("How can I make my turret point to the player").
Not for me it wasn't -- my first actual use of trig was UFO's circling a planet. I borrowed the code from a clock display.
Help us help you: attach a .love.
snake
Citizen
Posts: 52
Joined: Tue Jul 14, 2009 6:59 pm

Re: All About Angles

Post by snake »

Awesome!
Thanks! :neko:
It is incredibly useful for people like me who never got a proper math education.
User avatar
zachwlewis
Citizen
Posts: 70
Joined: Fri Mar 19, 2010 7:58 am
Location: Huntsville, AL
Contact:

Re: All About Angles

Post by zachwlewis »

Well... I made this in a few minutes for a friend. Is this something that people would like to see a tutorial series on? If so, I'll make it happen. :)
snake
Citizen
Posts: 52
Joined: Tue Jul 14, 2009 6:59 pm

Re: All About Angles

Post by snake »

zachwlewis wrote:Is this something that people would like to see a tutorial series on? If so, I'll make it happen. :)
Yeah make some tutorials!
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests