Video není dostupné.
Omlouváme se.
3.4 Polar Coordinates - The Nature of Code
Vložit
- čas přidán 5. 08. 2024
- It’s finally time to dive into the trigonometric functions-sine, cosine, tangent-and take a close look at thinking in polar coordinates with p5.js! Code: thecodingtrain.com/tracks/the...
p5.js Web Editor Sketches:
🕹️ Basic Polar Coordinates: editor.p5js.org/codingtrain/s...
🕹️ Spiral: editor.p5js.org/codingtrain/s...
🕹️ Random Trail: editor.p5js.org/codingtrain/s...
🕹️ Circular Shape: editor.p5js.org/codingtrain/s...
🎥 Previous video: • 3.3: Angles and Vector...
🎥 Next video: • 3.5 Simple Harmonic Mo...
🎥 All videos: • The Nature of Code
References:
🔗 sin(): p5js.org/reference/#/p5/sin
🔗 cos(): p5js.org/reference/#/p5/cos
🔗 tan(): p5js.org/reference/#/p5/tan
Videos:
🎥 3.1 Angles and Rotation: • 3.1 Angles and Rotatio...
🎥 Asteroids with p5.js: • Coding Challenge #46.1...
🎥 Polar Perlin Noise Loops: • Coding Challenge #136....
Timestamps:
0:00 I'm so excited!
0:11 Sine, cosine, and tangent
2:24 Sin, cos, and tan again differently
5:49 Polar coordinates
9:03 Demonstrate polar coordinates
11:26 Spiral and Randomness
12:17 Draw your own circular shape
15:19 What kinds of shapes can you make?
16:02 See you in the next video!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
✪ Nebula: go.nebula.tv/codingtrain
💖 Membership: czcams.com/users/thecodingtrainjoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#forbeginners #javascript #p5js
You didn't make the concepts easier to understand; you made them obvious. I'm always impressed by your classes, it's wonderful.
Thank you so much Dan for this video. Lovely presentation of the material. Really appreciate your tireless, creative and original approach to this stuff.
Thank you for the nice feedback!
I should add your name in the credits of my mini game!
You have become younger than you were 4 years before
You can tell he loves what he does!
He must have eaten something that gives him beans of energy. I wonder what he has been fed on.
The sounds you make when you draw those dotted lines, even when sped up, is very soothing. - - - - - - - - - - 😌
You are such a great teacher. I’ve learned so much from watching your videos and tutorials / lectures.
Thanks for all your hard work, and your mission to make these concepts digestible for a large audience!!
Agree 100%
i second this. He's amazing.
i've learned more math in a couple of your videos than i could've ever hoped to learn.
This video gave me a light bulb moment where it all suddenly makes sense . Awesome video thank you.
Your enthusiasm is infectious 🙏👌
oh man you were better at explaining sin, cos and tan then any of my high school math teachers ever did lol
I had great teachers at school, but this way of refreshing those concepts are greeeeeeaaaaaaat * 10000; really appreciate it
what a wonderful tutor. dude, you have such a natural knack for making these (somewhat) obtuse topics accessible. keep it up!
Loving this series dan! excellent work you're doing!
He rules!
@@DannySullivanMusic are you a bot?
The best teacher!
Been watching you on and off for years. Very much appreciate your content. You are always so upbeat and informative in an easy to understand manner. Have learned a ton! Thanks
I am just in love with your content, everytime when some of your video pops on my timeline, I get super excited 🎉🙏
If only my school/college teachers had been like you... I will say it again: your students at the university, what lucky folks they are. I even wonder if they are aware of that.
I’m speechless, Thank you
Dan, you are such a great teacher. Thank you so much for these videos.
I can't stop watching your videos thank you so much Dan, Cheers.
Love this portion of your series!
Thanks for the nice explanations!
That was a fantastic explanation! It really helped solidify those formulas and how to use them. Thank you!
This is great! Really timely for me as I'm rewriting some game physics I coded a year ago and doing a much better job after this reminder of what it all does, so thank you!
I LOVE this series, thank you very much.
Wow I’m impressed with your efforts to teach those materials. I wanted to understand how Mathy stuff work and am logically but not mathy programmer. Thank you for putting them up!
This channel is a brilliant! Thank you for your work!
Thank you, very useful.
Vanakkam nanbare..
This was fascinating. Thanks a ton!
I never understood topic but you teach me thanks Amazing video
I love your enthusiasm man 💖
Superb content ! As always.
I was about to take a break between my study sessions ,but this video is more attractive 💜
Thank you 🌺
The DaVinci Code, Trigonometry, Programming Code, Mathematical Axioms in Chaos Theory, & Mandelbrot plot all make sense now lol
These videos are really approachable, even by younger audience, I can see top programmers in the future asked about the secret behind their success responding "Coding train"
Definitely a natural teacher type, by the way.
this is so close to teaching quantum computing...can't wait for those videos
Was looking into this. Than randomly while taking a break i did see that coding train uploaded a video with the exsact think i was trying to learn :D xD
Going to watch this video until i understend it and remembers it. Probly going to have to watch it 69 times :/
Ps.
Keep up the good work :D
I learned to code thanks to Mr. Shiffman, and his wonderfully-explained Learning Processing series. I recall watching and re-watching some, if not most of the videos, several times while I grasped the concept. It's not unlike practicing a challenging song on your favorite instrument. We stumble over and over again, until one day, as if by who-knows-what force, you break through and "get it". It all clicks at that moment, and Mr. Shiffman is a true master at making it all click.
Muito bom, parabéns pelo vídeo
Bravo !
In French we have an other way to remember, we say "cah soh toa" because it sounds like "casse toi" which mean "get out" so it make the student laugh and we remember it
We love you ! man ... you make me to code ! ahhaa
Nice thanks
Tbh i didn't understand most of the video, until i knew the goal of it
Cool!
Charged Circle ⚡
I know that you might not be able to but I was trying to figure out how to make a socket server but I have windows and I can't figure it out because there aren't any videos about windows, node and p5
Dan is officially comparable to the legendary Eddie Woo
He may be even better...
Even though i know polar coordinates, i just clicked the video to get some enthusiasm and energy .
^^^^
If I draw 2000 rectangles of random values transformation in p5.js using a for loop, it freezed for something 8 sec is that something wrong on my system?
Thanks for this video. I would like to know how to use this fundamentals to draw diagonals of any polygon.
What if i want to find the intersection points of two circles in polar and cartesian coordinates?
Does the lovely creature on the left side of the sin/cos/tan chart that pops up during your explanations represent the infamous this dot? >_
Indeed!!
That pen sound is driving me crazy.
i haven't seen a magician like you..
Hi ... i´m working on the pde format... the final increase doesn´t seem to work with fractions.. only with 1 or bigger values but the point rotates too fast.. what is the problem?
---
int angle=0;
void setup(){
size(900,900);
}
void draw(){
background(40);
noFill();
strokeWeight(5);
stroke(100,100,100);
var r=200;
translate(450,450);
circle(0,0,r*2);
strokeWeight(15);
stroke(250,238,33);
var x=r* cos(angle) ;
var y=r* sin(angle);
point(x,y);
angle += 0.2;
}
Try making angle a float!
Ily
This is weird, I went back on processing for the first time in a month or so to do some polar coordinate thing just two days ago.
i actually still remember sohcahtoa dang
12th!
How do you make such great videos teach me?
Something I find useful which you didn't mention, is that the tangent of an angle will give you the cartesian slope of the line at that angle; this can also be useful going in reverse to use the arctangent (aka inverse tangent) to find the angle to align something with a given slope
atan2 to compensate for the sign, to be more exact
SOHCAHTOA
Some Old Horses Can Always Hear Their Owners Approach
Sin=Opp/Hyp
Cos=Adj/Hyp
Tan=Opp/Adj
Second too from india😂
Third
I am in 12th and
My mind:- I know everything😎😎😎😎😎😎😎
Who knows the Gaga Hühnerhof mnemonic?
First?
Indeed i am haha no other comments shown even after refresh
Second
14th
second
Fourth
Brb
Whosds
4th comment
Hi
Please get me out of here