p5.js Problem, please help!

Hi all, Please help me with the following problem: I have watched the video from Daniel Shiffman on youtube - and as he is explaining in the video I have downloaded ''Brackets'' and tried to write the code that he is showing which is: function setup() { createCanvas(400, 400); }

function draw() { background(0); ellipse(200, 200, 50, 50); } I did absolutely the same code as Daniel did in the video, however when he runs the code it is opening in Chrome and it is black background with white circle in the middle, when I run it, it's blank white screen with no background or shapes. I would really appreciate your help, as I have just started learning. Thanks

Tagged:

Answers

Sign In or Register to comment.