Comment

Comment by bbitmaster

I remember just learning to code at a young age, but not knowing trig or seeing how it applied because I only knew it as being about triangles.

I had learned to use some game graphics library (specifically DJGPP with Allegro, coding in C) and I was trying to make a 2d spaceship game, think like asteroids, where you can turn the ship and apply thrust. I couldn't figure out how to take the angle the ship was facing and get a direction to move. Basically I needed to understand the unit circle. I eventually found what I needed probably on some old internet forums. From that point on, trigonometry really started making sense to me.

parent bbitmaster 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton