Position the p5.js canvas on different parts of the page

edited October 2014 in p5.js

Hello, I was searching around to find a way to specify the location the p5.js canvas will have on the page but i didn't find anything. I've called the sketch in this way:

< script language=" javascript " src="sketch.js" >< /script >

and the canvas gets automatically drawn after all the HTML elements in the body section. I would like to position it somewhere between my other html elements. Could anyone help me on how to do this?

Thanks in advance.

Answers

Sign In or Register to comment.