+ 4
How do you learn math for programming
ive seen projects on the code playground and like 3d object simulations that includes math but i dont understand it it is so complex where can you learn that kind of math.
4 ответов
+ 12
I'll reinforce @Tim: for graphics, especially 3D, you'll want to get some linear algebra under your belt.
Understanding how the transformations are arrived at, and building some intuition through experience will be a huge help. I took a computer graphics course as part of my CS minor, and my grounding in linear algebra was a major help.
+ 5
Try making a simple cube
in 3D i recommend using
processing language
a 3D cube requires just simple trigonometry
matrix if you wish
else
see what field you want
to dive in then understand the math part
it uses
+ 4
math is about thinking so if you do more that kind of programs you're automatically getting better with it. Pretty and simple :D
+ 1
https://www.khanacademy.org/ offers many free math classes.
Here's some more information on what branches of math to study:
https://stackoverflow.com/a/14868704/7922320
I haven't personally gone too deep into math myself since you don't necessarily need to know a ton of math to code, but for things such as 3D objects you're probably looking for linear algebra which will cover vectors.