r/learnjavascript • u/gniziemazity • May 14 '22
Real-time talking avatar made using Vanilla JavaScript (video and code in the comments)
8
4
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
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
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/iiMoe May 14 '22
Repo ?
3
u/gniziemazity May 14 '22
Not on git, but you can test it here:
https://radufromfinland.com/projects/avatar
and get it from here:
https://radufromfinland.com/projects/avatar/code.zip
2
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
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