javascript - Ocanvas creation inquiry -
i'm still little fuzzy on ocanvas, i'm new it. know it's not best choice or documented, have potential job depends on me learning it.
i wondering ocanvas.create(); should placed. right have function called main(); in html head , html body runs every time body loops. seems ocanvas.create(); works if place in main(); function, creating canvas every time body loops?
can explain bit more 'every time body loops'? have settimeout/setinterval/requestanimationframe runs main many times? in case, run ocanvas.create outside of main , access inside main when needed.
Comments
Post a Comment