Getting Started With Three.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • In this video we will look at the Three JS animation library using the WebGL renderer.
    Sponsor: DevMountain Bootcamp
    goo.gl/6q0dEa
    💖 Become a Patron: Show support & get perks!
    / traversymedia
    Code:
    codepen.io/bradtraversy/pen/V...
    Textures:
    github.com/mrdoob/three.js/tr...
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 236

  • @jabezsamson
    @jabezsamson 4 ปีที่แล้ว +4

    You are the Kobe Bryant of TH-cam when it comes to Technology related channels! Great as always!

  • @williamiiifarquhar4345
    @williamiiifarquhar4345 2 ปีที่แล้ว +8

    Brad you are the man!
    This tutorial is far superior to all others.
    I was getting errors like "import declarations may only appear at top level..." and all the other websites and video tutorials were saying to use node and install all these packages and bundlers... and THIS tutorial shows that you can basically just include the three.js file in the same html document, and without even importing it, have full functionality using the namespace THREE.
    I am really surprised that more people aren't doing it this way!

  • @EmilFihlman
    @EmilFihlman 4 ปีที่แล้ว

    Hey just wanted to thank you for making this video! It's super clean, does not dwell annoyingly on things too long and is straight to the point. Thank you!

  • @RAZR_Channel
    @RAZR_Channel 5 ปีที่แล้ว

    BRo... you have THE BEST Tutorials. Direct .. to the point.... I've NEVER seen a bad tutorial from you. Your intro length is acceptable and your not begging for likes and sub/patrion etc. (I mean if you do mention it it's not begging or irritating). Great work on everything... I've been in IT 20 years but mostly core stuff. now having fun with front end stuff. Thanks for everything you do!

  • @sanamkapoor1269
    @sanamkapoor1269 5 ปีที่แล้ว +6

    You are like a magician Brad
    I really appreciate your work for us and you inspire me a lot towards the web development
    Thanks a lot man 😊😊😊

  • @samueldudley3181
    @samueldudley3181 2 ปีที่แล้ว

    Literally everything I google as a new Software Engineer, you have made a video for. Thank you!

  • @AkisLaoutaris
    @AkisLaoutaris 5 ปีที่แล้ว

    I am dying to wait for the advanced Three.js tuts from you, boy. Thank you very much!

  • @aibrainlet8041
    @aibrainlet8041 4 ปีที่แล้ว +4

    The first thing I ever made with code was a spinning cube in CSS to display my art. I feel like I have graduated lol. I can't wait to use this library and Blender, I swear this is my newest obsession

  • @aminzarei1557
    @aminzarei1557 5 ปีที่แล้ว +1

    short and simple but perfect for start as always, thank you.

  • @mhdyousuf3392
    @mhdyousuf3392 5 ปีที่แล้ว

    Thank you for introducing me to Three.js , i have seen a video “thanos snap effect using js” meanwhile i don’t know what he was done.
    now seeing your tutorial, i think i am ready for three.js
    Thanks Brad.

  • @jewellscott
    @jewellscott 5 ปีที่แล้ว +7

    Omg, I’ve been waiting for this. Thank you!

  • @maxd7228
    @maxd7228 5 ปีที่แล้ว +2

    Channel's like this, keep TH-cam relevant. Great work.

  • @giliev6325
    @giliev6325 5 ปีที่แล้ว +4

    I already know I'll love this series. Please do an episode on loaders. Thank you biiiiiiig time!!!!!!

  • @lolcatwill
    @lolcatwill 4 ปีที่แล้ว +1

    Finally a concise tutorial about three.js. Thank you.

  • @rebelmachine88
    @rebelmachine88 5 ปีที่แล้ว

    Great introduction, I'm gonna try it out. Thanks, Brad!

  • @InsaneGamingsz
    @InsaneGamingsz 3 ปีที่แล้ว

    Just how cool are you bro. I used to watch few videos few years back and literally used to think there are so many tutorials created by you and wonder do anyone even use those technologies. And today i am here after thinking that well could there be anyone who would even talk about this library. Amazing bro thanks

  • @woltahmighty8162
    @woltahmighty8162 ปีที่แล้ว

    This is excellent. I was able to understand everything you were saying and I was able to successfully create my first html doc with three.js

  • @danielluna7648
    @danielluna7648 3 ปีที่แล้ว

    Brad is the hero we need. What a BAMF. I wouldn't be where I'm at or going where I'm going if it wasn't for the almighty Traversy.

  • @0the0ambient0
    @0the0ambient0 4 ปีที่แล้ว

    Great tutorial on a topic that can be a little tricky. Thank you!

  • @jenniferscheinhorn6741
    @jenniferscheinhorn6741 5 ปีที่แล้ว

    This is an amazing intro, thank you!

  • @ruhailahmad9418
    @ruhailahmad9418 5 ปีที่แล้ว +231

    Man do you learn new technologies on daily basis?

    • @TraversyMedia
      @TraversyMedia  5 ปีที่แล้ว +214

      Yes, pretty much, but it is because I teach for a living now. So I am fortunate enough to be able to dive into different technologies that interest me and then share what I learn :)

    • @Ne0nkiller
      @Ne0nkiller 5 ปีที่แล้ว +4

      @@TraversyMedia Could you dive into React Joyride? I am going to work with that at my internship after summer :)

    • @moshe22cohen
      @moshe22cohen 5 ปีที่แล้ว +3

      @@TraversyMedia Hello, I just finished your PHP course on udemy, I am overwhelmed of how good you explain :) keep up the good work man very much appreciated!

    • @ruhailahmad9418
      @ruhailahmad9418 5 ปีที่แล้ว +6

      @@TraversyMedia you helped in shaping my career, I've learnt pretty much every Web development technologies from you.
      So Thank you

    • @bobobo1673
      @bobobo1673 5 ปีที่แล้ว

      @@TraversyMedia If it is not too much to ask, do you now dedicate yourself to teaching for your own reasons or why were there no other opportunities elsewhere? I ask you why, I started in the sector a short time ago.

  • @ketibansapi4091
    @ketibansapi4091 5 ปีที่แล้ว +7

    I love it when "just mute that".

  • @kushagraacharya6279
    @kushagraacharya6279 5 ปีที่แล้ว +3

    Thank you so much for this, you are a hero.

  • @radishanim
    @radishanim 3 ปีที่แล้ว

    Thanks for also displaying documentation for the code you write. Helps me understand why you are writing code the way you are writing it.

  • @aljazjustin5564
    @aljazjustin5564 3 ปีที่แล้ว

    Thanks, man i really like your video. You helped me make a presentation in my computer class. I hope the teacher likes it. And greate job on the vid.

  • @MMANJUNATH18
    @MMANJUNATH18 5 ปีที่แล้ว +1

    Liked it. Created same just now. Thank you Brad

  • @user-hv7kc5zy6f
    @user-hv7kc5zy6f 2 ปีที่แล้ว

    It's a very good tutorial. I'm easy to follow and it's not difficult to understand. Thank you very much.

  • @paranitharan3336
    @paranitharan3336 3 ปีที่แล้ว

    Damn. How blessed I'm to find this video. Great explanation. Thank you so much ❤️.

  • @VeeWebCode
    @VeeWebCode 5 ปีที่แล้ว +1

    I don't know how to thanks you.... You are my dream hero..

  • @f1vlad
    @f1vlad 4 ปีที่แล้ว

    Thanks for this intro Brad!

  • @savvysoars
    @savvysoars 2 ปีที่แล้ว

    Thanks for helping me get me started!!

  • @smithscarborough
    @smithscarborough 3 ปีที่แล้ว

    This is SO cool! Thanks, Brad!

  • @MotM200
    @MotM200 3 ปีที่แล้ว

    This was just... awesome. No more words...

  • @srikantprasad6711
    @srikantprasad6711 5 ปีที่แล้ว

    Thanks sir, one of the best video on TH-cam for three. Js. Sir create more videos on three. Js.

  • @FargoLargo
    @FargoLargo 5 ปีที่แล้ว +1

    Man u are amazing! Hope, i can someday will be like u.

  • @Algebrodadio
    @Algebrodadio 5 ปีที่แล้ว

    So looking forward to this one Brad.

  • @shovondas26
    @shovondas26 5 ปีที่แล้ว

    Hello Brad,
    I'm your Fan, Only Your Fan, a Big Fan.
    I am a JavaScript Lover.
    I was waiting for a long time for THREE.JS.
    There are many videos out there but I was waiting for you.
    👍👍👍👍 Thank you man 👍👍👍👍👍

  • @soajack
    @soajack 5 ปีที่แล้ว

    Again, another excellent video ! Thanks !

  • @randyh3761
    @randyh3761 ปีที่แล้ว

    Excellent intro. Coming from unity dev, this was well laid out.

  • @duuhhveeed
    @duuhhveeed 5 ปีที่แล้ว

    Holy mackeral nice find! Im getting a paper.js vibe that acquired a couple of infinity stones!

  • @georgiiliev8533
    @georgiiliev8533 5 ปีที่แล้ว +54

    please go deeper into ThreeJS. Loading models etc. loading 3d files save in a database, onclick loading, pop up scenes etc. PLEEEEEEEEAAAAAAAAAAAAAAAAAASE !!!!!!!!

  • @abhijithchandran5744
    @abhijithchandran5744 5 ปีที่แล้ว +4

    I was waiting for this. Thanks brad

    • @FunIsGoingOn
      @FunIsGoingOn 5 ปีที่แล้ว

      Why did you waited? It's straight the most simple example from the documentation.

    • @abhijithchandran5744
      @abhijithchandran5744 5 ปีที่แล้ว

      @@FunIsGoingOn I was waiting for Brad to start teaching Threejs, so we can expect more fun tutorial from him on this subject, like the examples we see in Threejs home page. And I know this is the most simple example from the documentation, because the video tittle is "getting started".

  • @mandarinnu
    @mandarinnu 3 ปีที่แล้ว

    This is what I need. Thanks!

  • @MrMadMonk7
    @MrMadMonk7 4 ปีที่แล้ว +3

    Trying this on your local machine and textures are missing? - If you open the file from your desktop you might find when you add a custom texture that the rendered cube might disappear. In Three.js some underlying code (polymer I think) won't work unless you are running on a local web server. If you have Xampp or another tool such as 'Live Server', load your file on there and things will work again. Hope this helps someone.

    • @neerajanand8567
      @neerajanand8567 2 ปีที่แล้ว +1

      Really wanna say Thanks. I was facing the same issue and now I followed as u said it got resolved, thanks :)

  • @ryz177
    @ryz177 2 ปีที่แล้ว

    This is great! Watching in 2022. I hope more of these in 2022.

  • @MohamedHassan-yk5xn
    @MohamedHassan-yk5xn 5 ปีที่แล้ว

    Amazing my friend, keep it up 😍

  • @citizengoose1342
    @citizengoose1342 4 ปีที่แล้ว

    This library is sick. Love it

  • @911madza
    @911madza 5 ปีที่แล้ว +7

    Initial thoughts during first minute in video: 3D rendering must be relatively narrow topic with just a few tools.
    Couple minutes later in Google: ejecta, claygl, glslify, x3dom, whitestorm.js, cannon.js, oimo.js, twgl.js, xeogl, scenejs, lightgl.js, photon, sylvester, curtainjs, grimoire.js, hilo3d, glow, glsl.js, phologl, regl, aframe, filament.... *Yeah, I guess I forgot it's 2019 xddd*

    • @jornejongsma
      @jornejongsma 5 ปีที่แล้ว

      Can I add to this: Babylon.js (most common alternative to Three.js); Unity3D Webassembly (the step up alternative); Shadertoy.com (digital witchcraft!)

  • @nambui152
    @nambui152 5 ปีที่แล้ว

    Please continue this series !!

  • @taospencer1403
    @taospencer1403 4 ปีที่แล้ว

    That third textures very cool, would look awesome on a tank or armoured car.
    Or on a riffle/mp5.

  • @oop_web7707
    @oop_web7707 5 ปีที่แล้ว

    So cool! I luv it!! Thank you!

  • @purplev2791
    @purplev2791 5 ปีที่แล้ว

    I was looking for a Three.js video about a month ago and in your case it's refreshing to see it a little bit later. Because usually whenever I decide to study something new for web development, the next day you're uploading a video about it...which is a little bit creepy :)

  • @vicmitchell9962
    @vicmitchell9962 5 ปีที่แล้ว

    Brad I hope you feel better soon :-)

  • @giorgixyz1909
    @giorgixyz1909 2 ปีที่แล้ว

    thank you so much this is such a nice intro

  • @gauravpoudel7288
    @gauravpoudel7288 4 ปีที่แล้ว

    It's traversy media. I click like even before the actual video starts :D

  • @tomek.z
    @tomek.z 5 ปีที่แล้ว +8

    Thanks for another great tutorial :) I think it would be better if you used local files inside your projects instead getting them from CDN. That would show proper intellisense in VSCode and give better overview of the library.

    • @FairyFromTheMoon
      @FairyFromTheMoon 2 ปีที่แล้ว

      Thanks for this one 🙏... now I understand why I don't get any help from intellisense.

  • @ozzyfromspace
    @ozzyfromspace 3 ปีที่แล้ว

    This lecture carried me 🧡🙌🏽

  • @georgeaggelou3749
    @georgeaggelou3749 5 ปีที่แล้ว

    I love your videos Brad ,they have helped me a lot. Appreciate the effort and the time to make them, can you do a video about pixi.js ??

  • @dhanmoninath834
    @dhanmoninath834 5 ปีที่แล้ว

    Thank you for your awesome videos

  • @DrummerSi
    @DrummerSi 3 ปีที่แล้ว

    Very well explained, thanks

  • @KarteekRakshit
    @KarteekRakshit 5 ปีที่แล้ว

    Please create a bigger series for threejs.
    Great tutorial

  • @wasiquehaider4727
    @wasiquehaider4727 5 ปีที่แล้ว

    You are a mind reader brad ♥

  • @ArtVandelayInc
    @ArtVandelayInc 4 ปีที่แล้ว

    great video as always!

  • @an4s3crwt
    @an4s3crwt ปีที่แล้ว

    loved the explanation Thank youu

  • @everestgjonaj
    @everestgjonaj 5 ปีที่แล้ว

    Just what i was looking for.I am interested on an entire series and why not a project in the end.There are not any good videos up there except for Gary’s from design course.Also you i wish you could cover GSAP in the future too.

  • @IlemonaJamesAtuluku
    @IlemonaJamesAtuluku 5 ปีที่แล้ว

    First-time seeing three js video

  • @pfkellogg
    @pfkellogg 7 หลายเดือนก่อน

    Very useful. Thanks again.

  • @theshowman8478
    @theshowman8478 5 ปีที่แล้ว

    That was very interesting. Thanks.

  • @RITESHKUMAR-md8fg
    @RITESHKUMAR-md8fg 5 ปีที่แล้ว

    Hii Brad you are awesome man your videos really help us to grab more knowledge. Can you make video on flutter from scratch like for beginners because your way of teaching something is flawless. I hope you'll make some note.

  • @ChihebBouzid
    @ChihebBouzid 5 ปีที่แล้ว +1

    please more three.js videos! thank you.

  • @67Keldar
    @67Keldar 5 ปีที่แล้ว

    This is frickin awesome 😮😮😮

  • @dalebotha9162
    @dalebotha9162 5 ปีที่แล้ว

    Nice one! Thanks! can you do more demo videos for cool and interesting JS libraries?

  • @tajinderjsingh826
    @tajinderjsingh826 3 ปีที่แล้ว

    Thanks // So effective for starters

  • @robsonsaito59
    @robsonsaito59 3 ปีที่แล้ว

    Really awesome!!!

  • @casmartensnl
    @casmartensnl 5 ปีที่แล้ว

    Hi there,
    I've been following your tutorials since a week now. And I totally love them. However I do some things for my self so I don't copy paste everything that I don't like.
    I wanted to implement 3D render views on my website, but I don't know if that's too much for space on the host. Do you know if it takes up to much space or can I just add it?
    Thanks in advance.
    Keep up the good work! You absolutely nail them :).

  • @raennearr
    @raennearr 2 ปีที่แล้ว

    Thank you so much for this video

  • @PatrickRams
    @PatrickRams 5 ปีที่แล้ว

    Welcome back....and get better soon 😥😥😥😥

  • @blzz42
    @blzz42 3 ปีที่แล้ว

    Great intro man 👍🏻

  • @hassankafio1262
    @hassankafio1262 5 ปีที่แล้ว

    Thanks my teacher. Longlive

  • @DucaTech
    @DucaTech 5 ปีที่แล้ว

    Love the video. Can you do a video on Svelte? The new compiler sounds interesting.

  • @n_fan329
    @n_fan329 5 ปีที่แล้ว

    Still I’m fasting its Ramadan and can’t stand myself not watching brad stuff ❤️❤️

  • @gomo8651
    @gomo8651 5 ปีที่แล้ว

    yeah man :) Love you big time

  • @CollinParan
    @CollinParan 5 ปีที่แล้ว

    Brad,
    Would you go over keyboard controls for three.js? I saw some examples on their page, would like a breakdown.

  • @obedasante1082
    @obedasante1082 5 ปีที่แล้ว

    Thanks Brad

  • @MegaOsama99
    @MegaOsama99 5 ปีที่แล้ว

    wow soo great tutorial thanx :-)

  • @subvice2593
    @subvice2593 5 ปีที่แล้ว

    this is so dope

  • @manju271989
    @manju271989 5 ปีที่แล้ว

    Much awaited

  • @agustdik3696
    @agustdik3696 4 ปีที่แล้ว

    Awesome stuff

  • @haroldmcbroom7807
    @haroldmcbroom7807 3 ปีที่แล้ว +2

    Everything worked fine for me up until 16:54. I download a .jpg converted it to a .gif using Windows 7 Paint program, and now I get black screen, any clues? Does the size have to be specific? It was a "stone" texture.

  • @dragancarkic7402
    @dragancarkic7402 4 ปีที่แล้ว

    How does resize event affect performance? Also what would be best way to handle that "responsive" part in real situation, how many people would actually resize the browser? Thanks Brad, love your content!

  • @prakashale1627
    @prakashale1627 5 ปีที่แล้ว

    Brad! your are great man

  • @MegaCO100
    @MegaCO100 5 ปีที่แล้ว

    Aj aj, what a treat!

  • @kantyDarius
    @kantyDarius 5 ปีที่แล้ว

    Hi Brad, awesome job as always, could you make a threejs tutorial using height maps to create terrains

    • @kameronbriggs235
      @kameronbriggs235 4 ปีที่แล้ว

      just make a mesh where you map the pixel coords and value to the y value of your corresponding vertices. If they arent pixel per vertex, then interpolate.

  • @nanayaw7159
    @nanayaw7159 5 ปีที่แล้ว

    Keep it up Bradley

  • @alexxenaosas2416
    @alexxenaosas2416 4 ปีที่แล้ว

    thank you !

  • @MrLaxr-op4be
    @MrLaxr-op4be 4 ปีที่แล้ว

    My first Three JS project Started here

  • @manzourabdalla2279
    @manzourabdalla2279 5 ปีที่แล้ว

    awesome brad , i hope to be healthy

  • @maxkinli
    @maxkinli 5 ปีที่แล้ว

    1:04 music that we deserves haha xD

  • @smithscarborough
    @smithscarborough 3 ปีที่แล้ว

    Anyone know how we could include this cube in a react project? I know there is react-three-fiber specifically for react, but is it possible to insert vanilla three.js into a react component?

  • @dougiehawes916
    @dougiehawes916 5 ปีที่แล้ว

    is it possible to make the 6 sides different? Basically, would it be possible to animate a dice?