1.3: Basics of drawing - p5.js Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

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

  • @adamCoder
    @adamCoder 8 ปีที่แล้ว +134

    Man, just found your channel. Top notch, mate! Thank you!

    • @TheCodingTrain
      @TheCodingTrain  8 ปีที่แล้ว +30

      Thank you for watching!

    • @nvr5073
      @nvr5073 7 ปีที่แล้ว +3

      love your videos keep up the good work!

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

    studies have shown that using the word "we" helps increase engagement. because it does not put people on guard like like word "you" does, so i wouldn't be so hard on yourself, it probably indirectly (among many many other things) helped increase engagement in your video courses. anyways, great teaching style, found your videos when looking up answers to help a student get a better grasp on p5.js

  • @sadiqsomjee
    @sadiqsomjee 8 ปีที่แล้ว +17

    I bought "The nature of code" book and its great to have these videos to go along with the book. Visual art is now my focus and its been a long time since I coded, so these bite sized sessions are awesome, thanks for publishing the lessons.

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

    Absolute gold of a teacher! Thanks so much, I am so blessed to have found a teacher like you. Please accept my regards.

  • @anthonytonev1357
    @anthonytonev1357 6 ปีที่แล้ว +3

    Your videos are addicting. I watch the basics videos (like this one) for no reason whatsoever than just to see how you explain what is already known to me.

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

    I'm in my Summer Vacation...and I wanted to go-through JavaScript and I found your videos! I am very impressed by the way you teach Sir! Thanks a lot....instead of going-through I will surely learn everything!!!!! Love from INDIA❤❤

  • @arungrg
    @arungrg 7 ปีที่แล้ว +22

    maan wish you were my teacher back in school!

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

    As a professional programmer and coding tutor for kids, I started with Swift in Xcode to let kids have fun on iPad and iPhone. Then I found the Python's turtle which kids love so much. Now it seems to me p5js it also great for kids coding because it has the cool online editor and p5js can do animation and 3D stuff easily.

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

    I feel so blessed to have the internet and access to all this Wonderfull and useful information. The coding train thank you that you have gone out of your way to provide us all with these easy to follow tutorials!

  • @franciscoicarocs
    @franciscoicarocs 7 ปีที่แล้ว +3

    I love the way you assertively express your knowledge. You've inspired and now I'm eager to learn, thanks.

  • @spaceboy1337
    @spaceboy1337 7 ปีที่แล้ว +10

    Hi, Im a fan of your channel. Your videos blows my mind away and you did it for free. Thank you very much. Im an vfx artist and Im on the way learning code to utilize my career. And thank you again

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

    Mike Boyd brought me here, and man am I glad for that!!! So deeply thankful and appreciative of what you do!!

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

      Welcome! There are actually more recent versions of this video here: th-cam.com/play/PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA.html

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

      @@TheCodingTrain Thanks! Will see em all!

  • @academicconnorshorten6171
    @academicconnorshorten6171 7 ปีที่แล้ว +1

    Just found this channel while searching for a better explanation of gradient descent, incredible channel, thank you!

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

    Even though I'm a JS expert, I am watching this. And really good, the way you teach teach the fundamentals to beginners.
    Nice work

  • @Renomartisan
    @Renomartisan 9 ปีที่แล้ว +8

    You convinced me, Daniel. As always, thank you very much.

    • @diegomastro5681
      @diegomastro5681 7 ปีที่แล้ว

      Dan is short for Daniel? Holy cow how didn't I notice that ever

  • @maheenmashrur2574
    @maheenmashrur2574 3 ปีที่แล้ว +1

    2021, and I'm here learning for my project.
    These tutorials are a blessing.

  • @dazeb
    @dazeb 3 ปีที่แล้ว +1

    This is absolute gold as far as learning to code in any language and you are teaching style is really good, thank you for helping me learn somethings that i found difficult.

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

    U have the best personality! Love your Lessons, as a new student in Coding ur videos help so much :)

  • @_Looft
    @_Looft 7 ปีที่แล้ว +20

    Yo idk if you are or not, but you should become a professor in this stuff! Seriously! You have amazing teaching skills

    • @joel230182
      @joel230182 7 ปีที่แล้ว +10

      He is a professor.

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

      that was akward...

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

    From 2015 To 2017 You Still Haven't Learned That Green Clothes And Green Screen Don't Go Together Lol. You Make The Most Interesting Programming Videos Though :D

  • @femifire
    @femifire 6 ปีที่แล้ว +2

    your teaching style is perfect for me!!!

  • @tttreyflip17
    @tttreyflip17 7 ปีที่แล้ว +3

    I am enjoying your tutorials! Your energy is ideal for teaching this. Great work sir. Thank you!

  • @aydogang
    @aydogang 7 ปีที่แล้ว +63

    Here is the house I drew with p5.js :)
    function setup() {
    createCanvas (150,150);
    }
    function draw() {
    rect(50,50,75,50);
    rect(108,20,10,20);
    triangle(50,50,125,50,90,5);
    rect(50,65,15,15);
    rect(110,65,15,15);
    rect(78,80,20,20);
    }

    • @kopuz.co.uk.
      @kopuz.co.uk. 7 ปีที่แล้ว +46

      Oh no the house is under attack.
      var meteors = [];
      function setup() {
      createCanvas (150,101);
      for (i = 0; i < 8; i++){
      meteors[i] = new Meteor();
      }
      }
      function draw() {
      background(255);
      rect(50,50,75,50);
      rect(108,20,10,20);
      triangle(50,50,125,50,90,5);
      rect(50,65,15,15);
      rect(110,65,15,15);
      rect(78,80,20,20);
      for (i = 0; i < 8; i++){
      meteors[i].update();
      meteors[i].show();
      }
      }
      function Meteor(){
      this.x = random(width);
      this.y = -8;
      this.xspeed = 1;
      this.yspeed = random(1,3);
      this.update = function(){
      if (this.x > width){this.x = random(width);}
      if (this.y > height){this.y = -8;}
      this.x = this.x + this.xspeed;
      this.y = this.y + this.yspeed;
      }
      this.show = function(){
      push();
      fill(255, 153, 0);
      ellipse(this.x,this.y,8,8);
      pop();
      }
      }

    • @juubes5557
      @juubes5557 7 ปีที่แล้ว +16

      Kopuz I modified your code!
      Click the balls and they will stop.
      var balls = [];
      function setup() {
      createCanvas(window.innerWidth, window.innerHeight);
      for (var i = 0; i < 5; i++) {
      balls[i] = new Meteor();
      }
      }
      function draw() {
      background(255);
      for (i = 0; i < 5; i++) {
      balls[i].update();
      balls[i].show();
      }
      }
      function Meteor() {
      this.x = random(width);
      this.y = random(height);
      this.xspeed = 3;
      this.yspeed = 3;
      this.update = function () {
      if (this.x > width || this.x < 0) { this.xspeed *= -1; }
      if (this.y > height || this.y < 0) { this.yspeed *= -1; }
      this.x = this.x + this.xspeed;
      this.y = this.y + this.yspeed;
      }
      this.show = function () {
      push();
      fill(255, 153, 0);
      ellipse(this.x, this.y, 8, 8);
      pop();
      }
      }
      function mousePressed() {
      for (i = 0; i < balls.length; i++) {
      if (Math.sqrt((Math.pow(mouseX - balls[i].x, 2)) + (Math.pow(mouseY - balls[i].y, 2))) < 10) {
      balls[i].xspeed = 0;
      balls[i].yspeed = 0;
      }
      }
      }

    • @bruh-ml8fk
      @bruh-ml8fk 6 ปีที่แล้ว +11

      Lol best replies ever.

    • @ViratKohli-jj3wj
      @ViratKohli-jj3wj 5 ปีที่แล้ว +4

      I love these replies

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

      You know its lit when they drop more code.

  • @tarekmustafa2525
    @tarekmustafa2525 7 ปีที่แล้ว +1

    You are a great teacher, I recently started learning JS and eager to use p5 going forward.

  • @xkrist0s
    @xkrist0s 7 ปีที่แล้ว +2

    Great channel man, I've never seen coding challenges made so interestingly :) Keep up the good work :)

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

    Best Coding teacher Hats off

  • @isaakwit
    @isaakwit 7 ปีที่แล้ว +1

    I have to admit that I was high most of the time when I watched your videos. And I watched almost all of them.

  • @AVANCEIT
    @AVANCEIT 7 ปีที่แล้ว

    i love the passion you show when teaching. It seems you are having fun!

  • @AMANSINGH-wo7gs
    @AMANSINGH-wo7gs 4 ปีที่แล้ว

    I AM YOUR BIGGEST FAN . I HAVE WATCHED YOUR ALL VIDEOS , ALL LIVE STREAMS , I LIKE YOUR WORK VERY MUCH , YOU ARE WORKING VERY WELL . I AM WATCHING YOUR VIDEOS SINCE YOUR 100 K SUBS . I HOPE GOD WILL GIVE YOU BLESSINGS .

  • @nunosantos6274
    @nunosantos6274 6 ปีที่แล้ว +3

    Im in 2018. And i love saw this old videos..

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

    My students really like your videos and so do I!

  • @tauga1835
    @tauga1835 7 ปีที่แล้ว +1

    You're an amazing teacher!.I think you should make more videos which more challenging but easy to understand it, like creating native apps (IOS and Android), etc.Thumbs up

  • @Joshua-kn6dq
    @Joshua-kn6dq 5 ปีที่แล้ว +1

    Quick tip - turn the green screen sensitivity down also... dont wear green (obviously)

  • @paras1kori
    @paras1kori 7 ปีที่แล้ว

    You are the best Tutor I have ever got for teaching this stuff a way better than any other boring Professor :)

  • @trommelbiel
    @trommelbiel 6 ปีที่แล้ว +1

    I really enjoyed your lecture. My first day.

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

    you remind me of ross from the friends series its so fun to learn with you

  • @nathandouglas5454
    @nathandouglas5454 8 ปีที่แล้ว +11

    You crack me up. Amazing!!

    • @TheCodingTrain
      @TheCodingTrain  8 ปีที่แล้ว +1

      Thanks for watching!

    • @nathandouglas5454
      @nathandouglas5454 8 ปีที่แล้ว

      I'm looking to buy a computer or laptop for coding only but am on a budget you got any ideas

    • @nathandouglas5454
      @nathandouglas5454 8 ปีที่แล้ว

      I'm looking to buy a computer or laptop for coding only but am on a budget you got any ideas

    • @nathandouglas5454
      @nathandouglas5454 8 ปีที่แล้ว

      I'm looking to buy a computer or laptop for coding only but am on a budget you got any ideas

    • @nathandouglas5454
      @nathandouglas5454 8 ปีที่แล้ว

      I'm looking to buy a computer or laptop for coding only but am on a budget you got any ideas

  • @kayisaac7621
    @kayisaac7621 6 ปีที่แล้ว +1

    I love watching your videos. You are a wonderful teacher. I'd like to know how you would code the animation at 11:05. Thank you

  • @devasishkumarbadaik4697
    @devasishkumarbadaik4697 7 ปีที่แล้ว

    Your teaching is very easy to understand the concept

  • @nebrokred5541
    @nebrokred5541 7 ปีที่แล้ว

    Your Channel helps heaps! I especially like the coding challenges. Also try watching on 2X speed!

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

    Thank you for making these stuff. It does helps.

  • @nioxic77
    @nioxic77 7 ปีที่แล้ว

    finally... proper coding tutorial. everything else i've found is "write exactly this"... problem is that you learn nothing by doing that!
    thanks for all the details...
    that reference page is quite cool. though i don't really understand the arc... i've made a pizza slice but i have no clue how i did it
    (in a 400, 400 canvas)
    arc(200, 200, 360, 360, 1, 8)
    If i change 1 to a number 2, it changes quite dramatically...

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

    Simply awesome.... I got addicted to your videos. Much love and respect for you 💞

  • @kevinn2292
    @kevinn2292 7 ปีที่แล้ว

    Ay ty man you explain it way better than my "teacher".

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

    This man deserves a teleprompter.

  • @stephenamell6607
    @stephenamell6607 6 ปีที่แล้ว +1

    Great video! I love all your videos :D

  • @kclark544
    @kclark544 7 ปีที่แล้ว

    @9:22 - I believe that value would change the height of the rectangle not the position

  • @jasonb3370
    @jasonb3370 6 ปีที่แล้ว +1

    Awesome video I really learned something thanks man

  • @AbrahamSabeh
    @AbrahamSabeh 6 ปีที่แล้ว +1

    When I try to launch a live server from Atom it just keeps showing me a blank white screen. And when I launch the javascript console the error message says Cannot GET /favicon.ico, what is the issue?

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

    Thanks man I'm learning easy coding for fun and this made it really easy

  • @angelcaban2387
    @angelcaban2387 7 ปีที่แล้ว

    Love it, Thats so awesome. Thanks so much for sharing it with us. Cant wait to see more.

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

    I just started :) thx for this wonderful tutorial !

  • @intrarab
    @intrarab 7 ปีที่แล้ว

    Coding is fun on this channel.I like it

  • @soccer69ism
    @soccer69ism 6 ปีที่แล้ว +3

    You're the best teacher I never had!

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

    i love you dan , i wish ur my math teacher

  • @WEBSTART-LIVE
    @WEBSTART-LIVE 4 ปีที่แล้ว +2

    Спасибо за контент! Отдельное спасибо за русский язык!

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

    :D just downloaded p5...and it's really cooooool

  • @1166miki
    @1166miki 7 ปีที่แล้ว

    You are a fucking genius, just started js! thanks mate

  • @aehphea1411
    @aehphea1411 7 ปีที่แล้ว

    Thank you, thank you and thank you again Dan :)

  • @programmingkitten1326
    @programmingkitten1326 7 ปีที่แล้ว

    THANK you . ! This video is so cool. And its so easy to learn THANK YOU !

  • @eyewarsx
    @eyewarsx 7 ปีที่แล้ว +2

    Can I use that program for windows? Because I can't find any program that I can use to write javascript (without html and that stuff). I don't want a website just a game. I don't want to use unity either because I just want to write pure code.

    • @JurajPecháč
      @JurajPecháč 7 ปีที่แล้ว

      eyewars You can use it for Windows.

    • @ЂорђеМилановић
      @ЂорђеМилановић 7 ปีที่แล้ว

      No, you can't have pure Javascript program.
      You must use HTML, but you don't need to be expert in HTML for that, you just need to set "head" and "body" and connect javascript, and there you go :)

    • @raoulsmits9748
      @raoulsmits9748 6 ปีที่แล้ว

      install node.js. webbrowser's work with html css and JavaScript. and html is unavoidable

  • @Squarll
    @Squarll 8 ปีที่แล้ว

    awesome videos! cant wait to study more coding :)

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

    Nice explanation sir . I have one doubt, I am not getting how to move the single triangle in protractor shape movement ? Outer angle associated with the triangle should change not the inner angle of triangle.

  • @xxh7595
    @xxh7595 6 ปีที่แล้ว

    oh boy, you are not using the bracket which you showed last video.
    what is this? It looks so clean and neat.
    Can I have it on Windows?

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

    omg i am glad i found thsi vid

  • @positivemind8428
    @positivemind8428 8 ปีที่แล้ว

    Nice video man i just found your channel. And i start to learning programming i mean i want to be a programmer. Cool channel subscribed! :D

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

    Thankyou you ,you explain very good

  • @dagrioht
    @dagrioht 9 หลายเดือนก่อน

    I am taking coding classes now,. How do I draw around an object in a picture in a JavaScript?

  • @zyzo99
    @zyzo99 6 ปีที่แล้ว

    Gee, I can follow diz )))...and Yaaaay-working !! maaan, diz iz unbelievable...; I become you believer from now on.

  • @NexuswOw
    @NexuswOw 7 ปีที่แล้ว

    Thank you so much for this!

  • @soniarodriguez3810
    @soniarodriguez3810 8 ปีที่แล้ว

    +danielshiffman I wonder how do you film yourself with the computer screen background? Like in 8:40?

    • @TheCodingTrain
      @TheCodingTrain  8 ปีที่แล้ว +3

      green screen and wirecast!

    • @soniarodriguez3810
      @soniarodriguez3810 8 ปีที่แล้ว

      Thanks!! you make it look so easy.. I just hear the switch! :)

  • @chanchoi5076
    @chanchoi5076 6 ปีที่แล้ว

    Thank you! So fun

  • @muahmmadzeeshanjamil8510
    @muahmmadzeeshanjamil8510 8 ปีที่แล้ว

    Amazing tutorial.you are great

  • @worldofstrings
    @worldofstrings 8 ปีที่แล้ว

    hi daniel !!! i wanted to know are is there a such thing is a built in variables in java or java script such as gravity ,speed, ect... which i notice is often used???? thanks again

    • @TheCodingTrain
      @TheCodingTrain  8 ปีที่แล้ว

      There are not! (But sometimes if you use a library that includes this stuff then yes.)

  • @fahmir7429
    @fahmir7429 7 ปีที่แล้ว

    Hi! If I'm done with some designs using p5.js, can I actually put the design as a background for my website?

  • @dominator_8638
    @dominator_8638 7 ปีที่แล้ว

    Thank you!! Helped me a lot....

  • @ashikmahmud2343
    @ashikmahmud2343 8 ปีที่แล้ว

    Sir,will it possible possible to make any web app by p5 js or it just for hobby or fun for programming ......???

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

    Did I just experience a glitch in the matrix? like 15 minutes ago, I thought its already 2017 and now back to 2015 :/ HAHAHAHAHA Like the way you explain the functions. Thanks

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

    the code train, i really confuse about "ellipseMode( )". do you help to understand that ...

  • @adiscodecamp6606
    @adiscodecamp6606 7 ปีที่แล้ว

    this video teach so much good stuff. thank you man

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

    Thanks🤝

  • @TheAustin11
    @TheAustin11 6 ปีที่แล้ว

    When I double p5 nothing shows up. I have to create a project and code everything through Atom like shown in the last video, how do I get to the program he's running?

  • @256k_
    @256k_ 7 ปีที่แล้ว

    ive been doing processing for a while last year and i love it... but the past year i really focused on web development and i recently decided to go back.. but figured this time id give p5js a try instead.....
    oddly enough it feels like processing has way more userbase and online community than p5js.. i'm curious why....
    also i dont know if it's caused by the minor change in syntax but i feel more at home with processing over p5js... only problem is that it's kindof a pain to show people your processing work....

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

    thank thank thank you bro

  • @jamesfranco3704
    @jamesfranco3704 7 ปีที่แล้ว +3

    makes me laugh every time he ends his videos

  • @jakmerejim575
    @jakmerejim575 6 ปีที่แล้ว

    How does the draw() know to draw the rectangle in the canvas created by the setup()? Did i miss something?

    • @Astr0B
      @Astr0B 6 ปีที่แล้ว

      The rectangle is actually being drawn in the setup function. The setup up function can ‘draw’ images to the screen but it is only called once at the start of the app, the draw function is called every frame. So if you wanted to have a moving or constantly changing graphic you’d place it in draw, otherwise setup works fine to do it once.

  • @jacobpowell5648
    @jacobpowell5648 6 ปีที่แล้ว

    I am using processing to code p5.js but how do I make the text change colour because I have he same syntax for create canvas yet it is not working or changing colours

  • @Ramdhon97
    @Ramdhon97 7 ปีที่แล้ว

    what better...jquery or p5.js?and what's different of both

  • @nicotinlol
    @nicotinlol 7 ปีที่แล้ว +1

    Hey as you mentioned in a newer video im using brackets to learn js. But when I launch the live preview I get a different url named 127.0.0.1:51504/index.html and not something with localhost. This leads to me not seing anything I programed, just a blank space

    • @TheCodingTrain
      @TheCodingTrain  7 ปีที่แล้ว +1

      127.0.0.1 is the "IP Address" for localhost so both are the same. If you aren't seeing your code it's most likely you have a typo. Check to see if there are any errors in the JavaScript console. Also, consider posting your code to forum.processing.org in the p5.js category for additional help.

    • @raoulsmits9748
      @raoulsmits9748 6 ปีที่แล้ว

      it's your ip you should not post information like that to the internet it's the address of your pc. it's like telling anyone where you live by giving your home address

    • @raoulsmits9748
      @raoulsmits9748 6 ปีที่แล้ว

      localhost is basically the same. it picks your ip specifically. it's a shortcut

  • @cyrusbfbulan6573
    @cyrusbfbulan6573 7 ปีที่แล้ว

    Sir i become interested with your follow tutorial some need your answer regarding this..Why at at my brackets (i follow all your instructions) the ellipse is fill of color black instead of white or transparent as the arc and points shape is not working only RECT, ELLIPSE & LINE is working..pls sir i need to follow video thank you sir for the coming reply from yours

  • @bharathsrisivasritharan5958
    @bharathsrisivasritharan5958 7 ปีที่แล้ว

    I'm gonna sound really nooby here - I use Brackets to open sketch.js and when I write code it says that I'm missing the 'use strict' statement... What does that umm mean...?

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

    One question if i have 2 difrent rect and if i wana name my rect's is that in the funktion ore can i simply do like this insted kub(200,200,400,400);

  • @yugaank100
    @yugaank100 7 ปีที่แล้ว

    Missing 'use strict' statement.
    'createCanvas' was used before it was defined.
    How to solve this problem?

    • @cannabishappy5003
      @cannabishappy5003 7 ปีที่แล้ว +1

      go into the extensions manager and go onto the installed tab. Scroll down and disable JSlint and ESlint

  • @4hmza
    @4hmza 7 ปีที่แล้ว

    awsome channel

  • @trevorreznik7438
    @trevorreznik7438 6 ปีที่แล้ว

    thanks for living!

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

    Hello, do you know how to creat a graph interactively with p5.js?

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

    anyone know why i can listen to other videos but the audio for his videos dont work for me

  • @sanedrak4839
    @sanedrak4839 7 ปีที่แล้ว

    What is p5.js used for? is it a programming language to learn just for fun?

    • @penbert1014
      @penbert1014 7 ปีที่แล้ว

      p5.js is a way to code with javascript as far as i know.

  • @calebbradley7151
    @calebbradley7151 6 ปีที่แล้ว

    please help, i have the js file in the same folder as the index.html folder and when i open it in firefox it just displays as text.......

    • @TheCodingTrain
      @TheCodingTrain  6 ปีที่แล้ว

      This workflow video might help?
      th-cam.com/video/HZ4D3wDRaec/w-d-xo.html
      Also:
      sublime text: th-cam.com/video/UCHzlUiDD10/w-d-xo.html
      atom editor: th-cam.com/video/d3OcFexe9Ik/w-d-xo.html
      brackets: th-cam.com/video/nmZbhManVcY/w-d-xo.html
      codepen: th-cam.com/video/5gfUgNpS6kY/w-d-xo.html

    • @calebbradley7151
      @calebbradley7151 6 ปีที่แล้ว

      The Coding Train I figured it out awhile ago thanks for the reply tho made my day

  • @timothyortiz8076
    @timothyortiz8076 6 ปีที่แล้ว

    So, I don't understand how you opened the sketch.js. It isn't in atom or sublime. Can anyone help me out?