r/learnjavascript • • May 14 '22

Real-time talking avatar made using Vanilla JavaScript (video and code in the comments)

427 Upvotes

30 comments sorted by

27

u/gniziemazity May 14 '22

Full 12h video on my channel: https://www.youtube.com/RaduMariescuIstodor

Demo / code on my website: https://radufromfinland.com

13

u/Curious_homosepian May 14 '22

Man you always do some crazy stuff with javascript which I don't even know were possible

15

u/gniziemazity May 14 '22

Someone has to do it, right? :-))

8

u/WebDev_ManMan May 14 '22

Very cool!

2

u/gniziemazity May 14 '22

Thanks!

1

u/exclaim_bot May 14 '22

Thanks!

You're welcome!

4

u/iamthesexdragon May 14 '22

That is insane my dude, really great

3

u/Wrong-Strategy-1415 May 14 '22

That is pretty cool. I will surely try to build this with the link. Hopefully I'll learn some new cool stuff.

4

u/gniziemazity May 14 '22

It's not really a tutorial... It's the entire thought process and includes mistakes and refactoring... But I do plan to make a proper tutorial from this in the future.

2

u/Wrong-Strategy-1415 May 14 '22

That will also be a good watch. I'll subscribe for the future videos 😁

3

u/afnomageiras May 14 '22

That's great! I'm currently checking out your self driving series and it's really fun, also digging your casual style. Keep it up!

3

u/gniziemazity May 14 '22

Wow! Cool. Glad you like it :-)

3

u/GamerDeepesh May 14 '22

JavaScript is not easy to program and this shows how powerful JavaScript is comparing with Python and C++

3

u/gniziemazity May 14 '22

They're all just languages to teach the computer what to do... C++ would have the advantage if you're looking for speed because it talks to the processor more 'closely'. JavaScript just tells the browser what to do (limited speed). But it's harder to code this in C++... need to worry about so many things that it takes the focus away from the main tasks.

1

u/CallStack_BatMan May 19 '22

C++ would be more traditionally "well-suited" for this kind of operation, but way more difficult to write. However you're correct vs Python, it could totally be done but with a big speed/performance disadvantage

3

u/20_chickenNuggets May 14 '22

Wow this is crazy, how long did it take you to make that 12 h course? I’m also planning to make a course

3

u/gniziemazity May 14 '22

It's not really a course... It's me coding for two days (about 6 hours each day), so I guess that answers your question :-)

2

u/20_chickenNuggets May 14 '22

Great work! Thank you for your reply

1

u/gniziemazity May 14 '22

No problem. What will your course be about?

3

u/Longjumping_Zone_781 May 15 '22

Thank you for sharing!! I'm on my way to becoming a professional web developer (3 months left in school!) This kind of raw content is what I really wanted to find when I set out on my journey.... I bet it will help a lot of people.

3

u/gniziemazity May 15 '22

Possibly, but most web development is not so much about the methods here: animation, math, camera input, image processing... It's more about reusing software components to keep websites up to date.

2

u/FunGuyCode May 14 '22

This is beautiful!!

2

u/isaacfink May 14 '22

Dude I found your channel least week through free code camp, this is some sick stuff, luckiest thing that happened to me all month, one suggestion though cam you make a video pointing us to some resources for the math part?

1

u/gniziemazity May 15 '22

Glad you like it :-) I am planning some math related videos, but it will take a while until I get to them.

1

u/SevenSharp May 14 '22

Next time could we have assembly language !

2

u/gniziemazity May 14 '22

Sure, why not...