javascript - chroma.js is undefined, trying to create a website -
i trying create simple webpage fun , have found interesting background theme on codepen called "the floor lava" , trying work ( using atom). have applied code website , added html code:
<html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> <meta charset="utf-8"> <title></title> </head> <body> <canvas id="canvas"></canvas> <script src="app.js"></script> <h1>name</h1> </body> </html> however getting error when inspect element saying this:
uncaught referenceerror: chroma not defined @ init (app.js:89) @ app.js:106 @ app.js:108 app.js:163 uncaught referenceerror: dat not defined @ datgui (app.js:163) @ app.js:186 i have idea of is, sort of colour library.
note new @ , trying learn. hope sufficient information. here website should wish @ full code (https://codepen.io/supah/pen/mmmdxg).
many in advance
Comments
Post a Comment