I have a web page that is build by google sites, and i want to show some p5js program graphic in it.
i have seen people discuss to use iframe to do so, but i only use google drive so is it possible some how to add the p5js graphic to the google sites page?
Thanks for the information! This opens my eyes to look at p5js in a next level,
but there is one problem, i had a 1200x200 frame, but i cant do step 7 right , it always shows the left corner of it. Can you also help me with that?
Wait, i have a real problem, is it possible that i scale the canvas size according with the size of the iframe, or dynamically with the size of the web page? there is a problem with the size different when i view it on the computer and the phone.
it was ok to have 800x200 on computer, and when i see it on phone, it only got a corner, i doesn’t make sense.