Scrawl-canvas v8 - DOM test 014

Scrawl-canvas initialization: canvas interference check

PixiJS - creates a canvas element in code and adds it to the web page

ThreeJS - creates a canvas element in code and adds it to the web page

P5.js - creates a canvas element in code and adds it to the web page

Chart.js - uses an existing <canvas> element

Scrawl-canvas <canvas> element and code

Other canvas libraries

Test purpose

On page load, Scrawl-canvas should only pick up and modify canvas elements which have been explicitly assigned to it:

Touch test: not required

Annotated code - all code for this test is in the HTML file; no Javascript file gets loaded by the page. Inspect the HTML page source to see the JS code.