I am pretty begginer to coding.
I translate to center of the canvas and the point that I want to draw is further down instead to be in the center of the canvas. What am I missing?
<script language="javascript" type="text/javascript" src="libraries/p5.min.js"></script>
<script language="javascript" type="text/javascript" src="p5.js"></script>
<script language="javascript" type="text/javascript" src="fibonacci.js"></script>
function setup() {
createCanvas(590,304);
background(0);
}
function draw() {
stroke(255);
noFill();
translate(width/2, height/2);
strokeWeight(8);
point(0,0);
}