Watercolour Mixer3. Javascript |
|
Join the DiscussionMore of this FeatureWith the Stylesheet and HTML codes for the watercolour mixer added to your web page, all that remains to be done is to obtain the Javascript. As you can see from the HTML that you just added there are two external Javascripts that are linked into your page. The first of these two scripts is my mathArray class which the watercolour mixer uses to perform all of the colour calculations. You simply need to save a copy of that script as matha.js (you don't need to know how it works unless you want to use it with other scripts). The final step is to copy the following code (which is the actual watercolour mixer javascript) and save it as paint.js. You now have all of the pieces in place and should be able to see a working watercolour mixer script on your web page. |

