Sine Waves Visualized
Learn how to use sin and cos waves. I use unity here but, but the math is agnostic
Sine and Cosine are fundamental to game development. Once you understand how Mathf.Sin and Mathf.Cos work, you'll find yourself reaching for them all the time. You can create circles and waves, make things hover, create orbits, add enemy behavior, etc.
REUPLOADED: My original voiceover was horrible quality and quite cringe. I also wanted to fix the low bitrate.
I used 'Shapes' to make a few of these effects, you can check it out here: assetstore.unity.com/packages...
❤️ Become a Tarobro on Patreon: / tarodev
=========
🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: / discord
✅ MORE TUTORIALS: / tarodev
Пікірлер: 155
I would love to see a "how I made my visualisations" video. Also, Quaternions
@beng2620
2 жыл бұрын
Yess those would be great
@devhive420
Жыл бұрын
Big agree
@justcore
Жыл бұрын
definitely
@gregridd
Жыл бұрын
I was about to write Quaternions, not sure if I'm missing a trick with them or not.
@Uebermensch03
Жыл бұрын
Please!!
Great work! I'd love to see an extended demonstration on different waveforms. Such as square, sawtooth, triangle, and manipulating them further to get very specific patterns. Introducing noise to randomize Y. Anyway, great video! Love your content. Beautifully designed :)
@SubjektDelta
2 жыл бұрын
let's make an open source digital synthesizer in unity!
@ewwitsantonio
2 жыл бұрын
@@SubjektDelta I want that so badly! There are a number of unity synths out there but each have their drawbacks - the best in my opinion being Audio Helm. Audio Helm is an amazing asset, but it is no longer being supported from what I can tell. I'd love to make an open source project loosely based on Audio Helm. Helm (the synth itself, not the unity plugin) is already open source, although I don't know what the legality would be in terms of building an open source native audio plugin in unity for the open source Helm -- that in effect replaces Audio Helm... I would gladly help an open source project for this, BUT my DSP skills are... non-existent at this point. I can learn. :) I would even love to find a way to fund the project and pay some developers to help get the ball rolling. (I'm not rich, don't @ me, lol)
Amazing short video! I just love your animations. Seriously, one of the most beautiful ones on youtube. :)
What a great visualisation! Always a fan of your videos, very unique and creative ways to explain these topics to devs. Thank you!
Very useful functions. Thanks for the visual presentation.
You’re so cool. This was amazing. Short, snappy and beautiful
This is top level production quality. Great work!
Such a great and beautiful example of how math can be so fun to play around with! 👏 Understanding the unit circle helped tremendously with school trigonometry, because our teacher only mentioned it like one time for some dumb reason haha.
you're really great my man, every video you make is just amazing
It would be awesome if you can make a guide on how you created these visualizations. Great content and I love these series! Thank you.
Excellent visualisation of how they map to circles!
Thank you ! I was just searching about sine wave yesterday 😸
Wow lot of quality, you definitely deserve more subs.
Great teaching material!
This visualization is epic, thank you so much!!! Finally, 15 years after high school, the sin function makes sense to me! (teacher back then didn't do a particularly good job at explaining things...)
What a cool and informative animation, that makes it clear to me. Math always fascinates me, but unfortunately I am not very talented in understanding everything intuitively. Thanks!
Amazing job as always
That makes so much sense with the visuals. However, I would love to see a practical demonstration on like a coin or jewel for us to follow. Keep up the great work 👍
Very very helpful video, and background music too...🎉
short and sweet. great work.
waveforms can be so simple but so useful, it's really amazing.
Wow wow wow, super nice and high quality content! Wow!
Nice one dude. Thanks.
Very cool visualization! Gives me Freya Holmer vibes.
I've done the rippling array of objects before with wave functions for sure. I also like to apply a wave function to Quaternion.AngleAxis and have the objects pitch as if riding the surface of the waves.
@Tarodev
2 жыл бұрын
That's cool!
The animation is really smooth and nice, how did u learn to edit like that? Would you recommend a course?
beautifull, keep going
Amazing video.
Are you kidding me i wasted like 1 hour to calculate bobbing and stuff and this gets recommended after all that work
@Tarodev
11 ай бұрын
Lol
Fantastic Visualization
Great video. Looks like a sine movie trailer :P
Why is this so satisfying yet exciting at the same time???? What magic is this????? What music is thisssss??????????
*The most inspirational music I've ever heard Taro: "Ight, see ya"
@Tarodev
3 ай бұрын
I'm not known for my elegance
BEAUTIFUL
Nice one
I'm i the only one who respect cos more?
@Volt-Eye.
6 ай бұрын
You are not alone
@thegiganerd395
3 ай бұрын
You are not alone
@jestersb-
Ай бұрын
not lone
You're my favorite unity content creator bro ❤️
@Tarodev
2 жыл бұрын
High praise brother 🙏
I wish someone show me this when I was in school learning this, it would have made a big difference!
@hontema
11 ай бұрын
bro you had a bad math teacher? they don't teach you this?
@MysticRiverGames
11 ай бұрын
@@hontema They teach me the basics but visualizing math the way is presented here is quite different from using a simple whiteboard drawing, finding a use for it besides a text book problem is quite different story, you just solve it because is homework, if I had seen this when I was in school, I would have used it for game development at that time, though computers were not as fast as today's computers, I am talking more than 40 years ago.
@n1ppe
7 ай бұрын
At least where I'm from they use quite a lot of computer visualisations and programs when teaching math in high school nowadays. Barely any math is done on paper.
Yooo, beautiful!
Awesome vid! Wish you'd shown more practical applications though :(
yes please create tutorials
thanks man
Damn that's incredible 🥶
My best use of sine/cosine is certainly for text. Using both their circle and wave attributes, I give the text a fake 3d effect, by rendering many layers of the same text above each other, slightly offset as well as a grow/shrink pulse. For a final effect I render the very front and very back layers in a different color, with the layers in between transitioning between the two. The final result gives a very believable 3d effect. Imagine it like some microsoft word headline word art, but it's animated and not afraid to show you all its sides over a certain timespan.
@Tarodev
10 ай бұрын
I'm picturing that now. Cool technique
Look like a mistery knowledgeable video that can change your whole perspective.. humh... Just simply like it
You are awesome as math!
how do you create such a eye satisfying visuals in Unity man just how....
Thank you very much I learned a lot from this video but, possible make camera bobble effect?
Let's forget about development for a sec, and ask you to make a video showing how you make those beautiful explanation video parts.
@Tarodev
2 жыл бұрын
Good idea. I'll add it to the list
YEESSSS AWESOME!
Lubb you mann!!
This is great.
Great work! Tarodev would you please make a video on multiplayer using photon Fusion. I really love your videos.
@Tarodev
2 жыл бұрын
I'm making one now about Unity netcode (it's better in my opinion!)
Thank you! I came across these functions in the panda3d turtorial and I wanted to know how they are being applied.
super ❤️
we would like to know how to create this kind of videos. did you use manim? or you created it only in unity? or other softwares? appreciated
Cool video. Watched twice.
Cool !
Taro, I've been following your videos for some time now and, well, they are amazing. Considering you are a human being as well, and you need money to live, and feed them kids (help) hehe, have you considered creating a course? I know you already have a patreon, but those should not be mutually exclusive, you know. Just an idea, cause I'd probably buy everything you would think interesting to teach =)
@Tarodev
2 жыл бұрын
Thank you Helel
Be my maths teacher please
Quality video.
Make more of these videos plz
I wonder how it's implemented internally and if there's any point optimizing it.
Aprendi em um video de 2min o que não aprendi em 14 anos de escola. Obrigado!
@Tarodev
8 ай бұрын
You're welcome! :D
Is there any chance of you doing a 80s style scrolling text..ie like in the C64 and Amiga demos? And do you know how to do a 2D pseudo pole position style road?
🎵We don’t talk about Tangent nonono. We don’t talk about tangent~🎵
juicy mafs
This is totaly awesome and every thing but.... Dude, where's the quaternion video😢
Can you please explain quaternions using visualizations please?
@Tarodev
Жыл бұрын
You son of a biscuit 🍪
Mr.Taro, it would be great if you teach us how to visualize these awesome patterns using Unity or other applications. thanks a lot.
@mohammadebrahim4038
2 жыл бұрын
yeah we would like to know how to create this kind of videos
@n1ppe
7 ай бұрын
He is using splines which is an Unity asset. It costs a 100$ but is currently on sale
"meet the unity circle" ... and the tragedy that would last for years, from school to highschool and the not college... has begun.
When is the code profiling video coming?
Which Software do you use to make this animations ?
I have a question, did u make the video using unity :O? (Animations)
@Tarodev
2 жыл бұрын
Yup, unity using the Shapes library (link in desc)
I've commented off what id like see next but there was no reply ?! Id like the next step in sin waves creating wavy text messages
For the robot example near the end, did you use inverse kinematics?
@Tarodev
Жыл бұрын
I do indeed!
@Tarodev
Жыл бұрын
kzread.info/dash/bejne/omWtsZage7SvXaw.html
I dont know if your old enough to remember C64 & Amiga DEMO'S? but they all had wavy scrolling text ..can you do a video on how to do that with text mesh Pro ? Thnx
Neat
So, interestingly, i also wanted to visually represent sin waves like this. And so i had to deduce all this myself. How i figured out all these properties? I literally putted up the desmos graphong calc website, wrote the sin function, and started playing with it 😂
Cross and Dot product , btw is it "Shapes" asset made by ferya holmer?
@Tarodev
2 жыл бұрын
Yup that's the one. I have a visualization on cross product, go check it out :)
@zeeshansattar4531
2 жыл бұрын
@@Tarodev oh I didn't know that you already made this, thanks will check it out now :)
I'm sorry, but I've already seen a video about sines and waves on your channel. I was looking for a way to make text wave animation. Found this on another channel, but I always start my search in yours.
@JW-uu9je
2 жыл бұрын
nothing wrong with reviewing information again but with different perspectives and animations...I actually appreciated the remake. Like how many times will they remake Batman?? FOREVER, and you will be ok. Tarodev can do no wrong!
@anna_silver_moon
2 жыл бұрын
@@JW-uu9je Animations same. Totally same video )))
Just curious, I had a look at Shapes because what you created looks so great, but it doesn't look to do curves (like Sine) am I missing something?
@Tarodev
2 жыл бұрын
What you're seeing is about 1000 points jointed together to make a smooth line ;)
@JohnKNMurphy-nz
2 жыл бұрын
@@Tarodev Thanks, I'd love to see how you approach that as I'm interested in finding effective ways to apply Unity to create interactable Math/Physics demos graphs/ overlay content. e.g. so people could walk around an experiment in VR and see plots in HUD. Shapes drawing looks so good and it would be great to get pointers on clean ways to extend it into doing things like graphs but I'm not sure where to start. e.g. do you base it on Shapes polyline?
I would love to see the visula of the object contact how object determine if player hit a brick in button edge just like super Mario brother when hit break I want to understand that concept fo long time.
Add some thyme to that sine
It was good.
AAAAwesome
Procrastinating on that Quaternion video ha? 😃
@Tarodev
2 жыл бұрын
You kill me 😭
@iiropeltonen
2 жыл бұрын
Just started learning C# and Unity so need all the help I can get 😃
I would like to visualize the 28th dimension uwu
What does this have to do with game development?
Quaternionnnnnnn 😩
@mice2188
2 жыл бұрын
When
Awesome! Hello from Ukraine)
@Tarodev
2 жыл бұрын
Hello :) Stay safe buddy
cool
@Tarodev
Жыл бұрын
is it though?
@yalong7914
Жыл бұрын
@@Tarodev Yeah, these animations make it a little bit more intuitive to understand trig functions.
Listening on headphones. Sexy voice. Great content
@Tarodev
2 жыл бұрын
:D
Only taking Radians and rotating counter-clockwise is scummy as it is
Cross and Dot product
@Tarodev
2 жыл бұрын
I have a cross product video :)
@jitendrachauhan9837
2 жыл бұрын
@@Tarodev Please share the tool name of the video editor and in which you create animation. You are awesome in the presentation. Hats off
@Tarodev
2 жыл бұрын
@@jitendrachauhan9837 I use shapes. Link in the description 😊
I’m starting to believe that no one knows what quaternions are
@Tarodev
2 жыл бұрын
lol... soon >
quaternions 100%
So... sine makes you a better game developer, because it improves idle animations?
"tarobro" is a terrible name imo. Love your content though. xD
nerd
@Tarodev
2 жыл бұрын
You're right :(