Тёмный
No video :(

JavaScript Triangulation Web App 

Radu Mariescu-Istodor
Подписаться 35 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@Radu
@Radu 2 года назад
Try the app and get the code from my website: radufromfinland.com
@unknown-bx8my
@unknown-bx8my 2 года назад
i dont know why your website is using tps protocol. my browser is telling me that it's unsafe. and your app is not working. I think the deviceorientation events is not triggering.
@Radu
@Radu 2 года назад
@@unknown-bx8my Really? That shouldn't be the case... Can you somehow show me the error you are getting?
@unknown-bx8my
@unknown-bx8my 2 года назад
@@Radu sorry, it was my fault my device does not support this event.
@Radu
@Radu 2 года назад
@@unknown-bx8my Oh, how did you figure it out? Did you try it on some other device?
@unknown-bx8my
@unknown-bx8my 2 года назад
@@Radu yes i tried it on my brother phone and it worked correctly. I also copied the source code and console log the deviceOrientationEvent. I got one message only when the page load with alpha, betta and gamma equals to null. I was more sure when i remembered that some apps like compass doesn't work on my phone because this sensor isn't available on it.
@___d3p1
@___d3p1 Год назад
I had the feeling that this video would open the doors to another great world of incredible tutorials! I love these apps that interact with reality using math!
@___d3p1
@___d3p1 Год назад
I leave a query of something that I cannot understand: Is the height of the object that is being measured relative to the height of the person that is doing the measurement? For example: If I am 2 meters tall and I am 1 meter away from a tree that is 2 meters tall, when using the cell phone at the height of my head and not having to tilt it to carry out the measurement, the result of the triangulation should give me 0. Now, if a very intelligent ant at the same distance uses my cell phone to make the measurement, it will have to tilt the cell phone, obtaining a different result. Would my reasoning be correct?
@Radu
@Radu Год назад
Yes, for a better measurement you should give the device to the ant :-) I planned to do the measurement on my stomach, but I had a broken leg at the time and decided to skip 'advanced' moves like that :-D
@Radu
@Radu Год назад
Glad you like it. There are 2 more like this on the channel.
@pizdaxyu
@pizdaxyu 9 месяцев назад
such a nice short tut!
@Radu
@Radu 9 месяцев назад
Glad you liked it!
@EnglishRain
@EnglishRain 2 года назад
This is amazing! Triangulation vs trilateration... Really cool.
@Radu
@Radu 2 года назад
You think so? :-) Cool!
@Zzkkb98
@Zzkkb98 Год назад
I've been searching my whole life for someone who make things without libraires just like I'm so lucky I've find that channel thanks radu you're such an inspiration to me
@Radu
@Radu Год назад
Glad to hear you found me :-)
@Eternam
@Eternam 2 года назад
Great as always. Thank you Radu.
@Radu
@Radu 2 года назад
No problem :-)
@MK-bs3dq
@MK-bs3dq 2 года назад
Why you're so great
@Radu
@Radu 2 года назад
Thanks for the comment :)
@shaiknoorulhuda5779
@shaiknoorulhuda5779 2 года назад
Excellent bro...
@Radu
@Radu 2 года назад
Glad you think so!
@user-bd9uw8jh7g
@user-bd9uw8jh7g 8 месяцев назад
hey . i am indian . you are good sir . thank you so much sir for good code😇
@Radu
@Radu 8 месяцев назад
You're welcome!
@unknown-bx8my
@unknown-bx8my 2 года назад
very cool🔥🔥 this 4:00 is a very interesting topic this will help to turn any 3d project to vr project
@Radu
@Radu 2 года назад
Sure. I think there's a lot of untapped potential here.
@LokhandeJay
@LokhandeJay 2 года назад
Great great great !!!! Keep growing ❤️👍🏼
@Radu
@Radu 2 года назад
Hi Jay, glad you like it :)
@usama_khalid
@usama_khalid Год назад
wow
@Radu
@Radu Год назад
Cool, isn't it? :-)
@usama_khalid
@usama_khalid Год назад
Yes, I found your channel through freecodecamp video. Your creativity and effort really shine through.@@Radu
@Radu
@Radu Год назад
Thanks :-)
@CodingJourney
@CodingJourney 2 года назад
Excellent!! 💙
@Radu
@Radu 2 года назад
Thank you!
@brianparker1421
@brianparker1421 2 года назад
Great app thank you! I've been troubleshooting how to get this to work on iOS. Anyone have any ideas? I can get my camera to stream video to safari or chrome but just not with the code written here.
@Radu
@Radu 2 года назад
Is your issue that the video starts, but only shows the first frame?
@brianparker1421
@brianparker1421 2 года назад
@@Radu Hi sorry I forgot to write my solution. I basically wrote an if statement that checked if the mediaDevices was going to return true. Then it started working. if ('mediaDevices' in navigator && 'getUserMedia' in navigator.mediaDevices) { alert("Hello, it's me your camera") }
@Radu
@Radu 2 года назад
@@brianparker1421 Interesting that it didn't work without that. It's just a check...
@brianparker1421
@brianparker1421 2 года назад
@@Radu not sure! I've been reading a lot about how iOS has lots of checks in place to stop automatic use of mic and camera. Maybe it helped that? Anyway, thank you so much for the help. Looking forward to doing more of your projects soon!
@Radu
@Radu 2 года назад
@@brianparker1421 Ok. Maybe you're right... Thanks for providing a solution! I'm happy you find my content useful :-)
@gimmickdoangini
@gimmickdoangini 2 года назад
Give me source code sir please 🙏
@Radu
@Radu 2 года назад
It's on my website. Check the first comment.
Далее
Using Triangulation In JavaScript
16:18
Просмотров 3,6 тыс.
Whoa
01:00
Просмотров 45 млн
Learn Neural Networks through coding
24:31
Просмотров 31 тыс.
Triangulation and Trilateration
41:27
Просмотров 21 тыс.
7 ways to deal with CSS
6:23
Просмотров 1,1 млн
Learn Trigonometry with JavaScript
54:40
Просмотров 13 тыс.
JavaScript voice activated camera effect
1:22:07
Просмотров 4,6 тыс.
Learn Creative Coding: Fractals
54:57
Просмотров 53 тыс.
Whoa
01:00
Просмотров 45 млн