Closed chanof closed 4 years ago
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.
By using the p5 web editor it was out fixed.
Most appropriate sub-area of p5.js?
Details about the bug:
P5 version: p5.js v0.10.2 October 14, 2019
Tested on Safari and Chrome with same result.
Im trying to insert a P5.js sketch inside a bootstrap div
as you can see in the code below, with an empty sketch canvas it works properly,
but with the sketch that I want to add I'm unable to get it into div, centered between header and footer like the empty canvas is located, to reproduce my issue, just comment the empty canvas script (that seems to works properly) and uncomment the original one, I can't understand what is the difference between them and why I get different results with different canvas.
In the code below there is a bootstrap template to learn hot to integrate p5.js canvas inside it.