Whoops! Errors in the p5.js Web Editor (1.5)

  Рет қаралды 164,785

The Coding Train

The Coding Train

Күн бұрын

Пікірлер
@biscuitmanz5297
@biscuitmanz5297 6 жыл бұрын
these are the best tutorials on youtube man defo for beginners like me who finding it hard to understand programming, thanks
@f.jideament
@f.jideament 6 жыл бұрын
3:40 "i watched the video of Daniel Shiffman" part is the best meme i've ever seen in my life.
@jordanfry2899
@jordanfry2899 6 жыл бұрын
Funny how you'd post this, because yesterday I made my first simple game with JavaScript and had a go at p5. So. many. error. messeges. I've got a lot to learn.
@goldthumb
@goldthumb 2 жыл бұрын
I would encourage young parents to watch this series in case their kids want to learn coding but still need some help to follow Daniel's videos directly for whatever reasons (e.g. kids live in non-English speaking countries and their English is not good enough yet).
@saurabhgupta8466
@saurabhgupta8466 4 жыл бұрын
you are the best teacher for coding
@neetisuggula1111
@neetisuggula1111 4 жыл бұрын
Hats off The best teacher on youtube!
@Prince-ti4jh
@Prince-ti4jh 4 жыл бұрын
best playlist on youtube ever
@Otakutaru
@Otakutaru 6 жыл бұрын
Mmmmm... MMMORE videos!!! I want more! >:D
@jritzeku
@jritzeku 6 жыл бұрын
:( u forgot to hit the bell at end...
@abuolys5027
@abuolys5027 5 жыл бұрын
But he did... 5:58.
@musicalocean117
@musicalocean117 4 жыл бұрын
thank you so much for teaching about p5 js web editor a good teacher for that once again thank you
@musicalocean117
@musicalocean117 4 жыл бұрын
a good teacher for p5 js web editor
@felixf.2865
@felixf.2865 6 жыл бұрын
These are great! Fun to watch and perfect to get into ps5. Thanks a ton :-)
@wilhelm.reeves
@wilhelm.reeves 6 жыл бұрын
unicornMagic() am definitely gonna use it on my projects ahead
@sweethomes674
@sweethomes674 Жыл бұрын
Wonderful 😊
@vegitoscollection
@vegitoscollection 5 жыл бұрын
really like this series lmao ;
@shubhammuniyal4381
@shubhammuniyal4381 4 жыл бұрын
Amazing tutorial
@zeke_poe
@zeke_poe 5 жыл бұрын
function setup() { createCanvas(400, 400); } function draw() { background(0); fill(250, 180, 160); rectMode(CENTER); rect(200, 200, 200, 50); rect(300, 200, 100, 100, 0, 50, 50, 0); stroke(255); strokeWeight(20); line(355, 200, 365, 195); line(365, 195, 375, 205); line(375, 205, 385, 195); line(385, 195, 395, 205); line(395, 205, 400, 200); stroke(0); strokeWeight(1); circle(100, 150, 120); circle(100, 250, 120); }
@deadphim
@deadphim 2 жыл бұрын
amazing, simply amazing
@waynesstory133
@waynesstory133 2 жыл бұрын
@@deadphim ong
@ajitsharma7247
@ajitsharma7247 Жыл бұрын
So elegant, so beautiful, just looking like a wow
@Danicker
@Danicker 6 жыл бұрын
Hi Daniel, I know this is unrelated to the content of this video, but I had a question about the p5js web editor: Is there a way to add sheets to your project folder so that you can spread your code across multiple sheets?
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
You can have multiple JavaScript files, yes, I will have to remember to make a video to show how to do this!
@Danicker
@Danicker 6 жыл бұрын
Thanks, that would be really helpful as I am working on a large (large by my standards at least) project, and having all my code in one file is getting unwieldy
@GerardoBecerra597
@GerardoBecerra597 6 жыл бұрын
Hi, Dan, I love your videos. I started using p5 in Brackets, it has some troubles with JSLint and ESLint but anyways Brackets let the program run in the browser, my problem is that it doesn't highlight functions or any command like createCanvas, rect, background and their parameters, it just type all letters in gray, do you know what could be the problem?
@swiftpotato6746
@swiftpotato6746 5 жыл бұрын
print("It's good practice to use semicolons for when you use a language that needs them");
@michelangelo3330
@michelangelo3330 6 жыл бұрын
Hello from italy 🇮🇹
@agentNirmites
@agentNirmites 5 жыл бұрын
How can I connect p5js with micro controller?
@Light77900
@Light77900 6 жыл бұрын
when I type in print(), my computer literally thinks I want to print out the page on a paper, while I actually just wanted to see it in the console, what went wrong??
@harrymack3565
@harrymack3565 6 жыл бұрын
You must have put it in the draw function, it should be in the setup func i think
@scoreandspore.5606
@scoreandspore.5606 Ай бұрын
You need to actually put something in the print function
@geo5990
@geo5990 4 жыл бұрын
OH MY GOD LEGEND!
@SumayyahMohd-lp7xe
@SumayyahMohd-lp7xe 10 ай бұрын
how can we make the line in center i tried different ways but couldn't do it please help.
@gayatrigongada6254
@gayatrigongada6254 4 жыл бұрын
even if I remove semicolon in draw function at the end of ellipse why am i not getting syntax error? and can pls tell me where can check line wise code execution for p5
@CarelessMiss
@CarelessMiss 6 жыл бұрын
mfw a youtuber is better than my teacher
@clementlebeau484
@clementlebeau484 6 жыл бұрын
I kinda have a problem, in the p5.js web editor, I see my console, but when i have an error or I use something like println(), I don't get anything down in the console, is there a way to fix this ?
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
Would you mind asking at discourse.processing.org/! It's a better platform for Processing and p5.js related code questions. You can share code there easily! Feel free to link from here to your post.
@65FM1Edits
@65FM1Edits 6 жыл бұрын
5:45, y did that happen?
@dimplequeen8991
@dimplequeen8991 4 жыл бұрын
What if i put mouseY in place of mouseX?
@kerhabplays
@kerhabplays 4 жыл бұрын
I type "print()" while it was updating in realtime...the print tab didnt closee
@yogeshjadhav694
@yogeshjadhav694 4 жыл бұрын
I made a line and ellipse,but when i write strokeweight(4),the whole ellipse got dissappear.error is showing strokeweight is not defined...
@slowedsoundnetwork8288
@slowedsoundnetwork8288 4 жыл бұрын
you have to type strokeWeight. For some reason, most of the time you have to type the second word in the function with a capital letter.
@jackzbazuka
@jackzbazuka 4 жыл бұрын
i really would like a vscode/atom edition of this
@Asoham
@Asoham 3 жыл бұрын
iam facing Event {isTrusted: true, constructor: Object}
@thelavagod
@thelavagod 4 жыл бұрын
4:12 unicornMagic xD
@nioniostopmo
@nioniostopmo Жыл бұрын
one thing would nice to have is a canvas export to png!
@DiamantineRakib
@DiamantineRakib 4 жыл бұрын
Uncaught NotSupportedError: Failed to execute 'createBuffer' on 'BaseAudioContext': The number of frames provided (0) is less than or equal to the minimum bound (0). (sketch: line 36) I'm getting this error, someone help please
@DiamantineRakib
@DiamantineRakib 4 жыл бұрын
@@garrybogdanho let mic, recorder, soundFile; let state = 0; function setup() { noCanvas(); recording(); setTimeout(stopRecording,3000); } function recording() { mic = new p5.AudioIn(); mic.start(); recorder = new p5.SoundRecorder(); recorder.setInput(mic); soundFile = new p5.SoundFile(); userStartAudio(); console.log("recording started"); recorder.record(soundFile); console.log("soundfile"); } function stopRecording() { setTimeout(recorder.stop(),1000); console.log("recording stopped"); mic.stop(); console.log("mic stopped"); soundFile.play(); // play the result! console.log("recording play"); save(soundFile, 'mySound.wav'); console.log("recording saved"); }
@DiamantineRakib
@DiamantineRakib 4 жыл бұрын
when i want to run this code in any browser getting the above error, but it works perfectly in p5.js's online code editor
@DiamantineRakib
@DiamantineRakib 4 жыл бұрын
I guess you aren't not the problem solver I'm looking for. I found alternative solution for my problem. Anyway thanks for your interest.
@pinkiguleriya9450
@pinkiguleriya9450 2 жыл бұрын
I am getting an error that createCanvas is not defined
@wilhelm.reeves
@wilhelm.reeves 6 жыл бұрын
i typed print under second function, now am getting chrome's print popup continuously as its on auto-refresh LOL!
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
doh!
@lavisworld5142
@lavisworld5142 5 жыл бұрын
Sir can we create games with p5.js library
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Indeed! Check my coding challenges playlist.
@lavisworld5142
@lavisworld5142 5 жыл бұрын
@@TheCodingTrain Sir make a series of tutorials of learning unity and how to develop games with it for Windows , mac and Android
@roseywolf7867
@roseywolf7867 4 жыл бұрын
I'm new to P5 and I'm just really mad about the errors I don't understand anything and I just can't understand anything I'm completely new to coding and I just want to learn it so bad rn
@financedburrito4510
@financedburrito4510 5 жыл бұрын
I'm having issues with print(). whenever I type print() in setup or draw is opens the print screen tab. I'mm on a windows 10 64 bit machtine) if anyone can help let me know. (It is also just the p5 web site that I have any issues.)
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Would you mind asking at discourse.processing.org/! It's a better platform for Processing and p5.js related code questions. You can share code there easily! Feel free to link from here to your post.
@MixYTsCool
@MixYTsCool 3 жыл бұрын
i have an error where it says There's an error due to the word "hello" not being defined in the current scope (i wrote hello and it said this messages i hope you see this because i am watching in 2021 And this vid was uploaded in 2018/ 10 /sep
@snimerjotsingh5561
@snimerjotsingh5561 4 жыл бұрын
watching in 2020 :) if i use print it opens a pop up to print the page
@mithileshsingh8688
@mithileshsingh8688 6 жыл бұрын
U r best
@shresthagarwal5103
@shresthagarwal5103 3 жыл бұрын
How you are zooming so much
@henry8388
@henry8388 4 жыл бұрын
Went a little bit ahead with some awesome moving shapes! editor.p5js.org/HenryHell0/full/LeyRLAa_W
@nbueno00
@nbueno00 Жыл бұрын
O erro que sempre acontece comigo é "UP_ARROW" e "DOWN_ARROW"
@JakubWojciechowski933
@JakubWojciechowski933 6 жыл бұрын
Can't listen to him because of his T-shirt. The heck is going on with this inscription?
@beaverjoe9171
@beaverjoe9171 6 жыл бұрын
When I was coding I was murder also I was one detective. because I made errors and I have to console.log/Debug.Log
@DjgubbvHknbgf-x7b
@DjgubbvHknbgf-x7b 2 ай бұрын
طلاع واجه يا جميل يا صوص
@oguzakankan518
@oguzakankan518 6 жыл бұрын
I can't understand vanilla js please help me :(
@denemedeneme6403
@denemedeneme6403 6 жыл бұрын
dostum anlamadığın şeyleri bana sorabilirsin istersen
@jelamkhan9881
@jelamkhan9881 6 жыл бұрын
Teach in hindi pls
@znza32123
@znza32123 4 жыл бұрын
Stop speaking faster, this doesn't make you smarter or interesting. It's a tutorial.
How to Comment Your Code in p5.js (1.6)
6:14
The Coding Train
Рет қаралды 137 М.
RGB Color in p5.js for Beginners (1.4)
17:26
The Coding Train
Рет қаралды 271 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Alpine.js makes client side interactivity stupidly simple
30:02
Dreams of Code
Рет қаралды 50 М.
Drawing Shapes in p5.js for Beginners (1.3)
25:47
The Coding Train
Рет қаралды 467 М.
Collisions Without a Physics Library! (Coding Challenge 184)
31:05
The Coding Train
Рет қаралды 141 М.
Your Remote Desktop SUCKS!! Try this instead (FREE + Open Source)
22:30
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 57 МЛН
The Most Important Skill You Never Learned
34:56
Web Dev Simplified
Рет қаралды 229 М.
Terence Tao on how we measure the cosmos | Part 1
28:33
3Blue1Brown
Рет қаралды 638 М.
NEW: Elon Musk On The Future Of Warfare
30:42
Farzad
Рет қаралды 505 М.
Deep Dive into LLMs like ChatGPT
3:31:24
Andrej Karpathy
Рет қаралды 507 М.
6.2: Classes in JavaScript with ES6 - p5.js Tutorial
20:09
The Coding Train
Рет қаралды 409 М.