--- title: For the browser ---
Download the browser-based version of Maker.js, then upload it to your website:
http://maker.js.org/target/js/browser.maker.js
Or you can link to it:
{% highlight html %} {% endhighlight %} To work with Bezier Curves, you will also need a copy of Bezier.js by Pomax: {% highlight html %} {% endhighlight %} To work with fonts, you will need both Bezier.js (above) and a copy of Opentype.js by Frederik De Bleser {% highlight html %} {% endhighlight %}Then, in your JavaScript, use the require function to get a reference:
{% highlight javascript %} var makerjs = require('makerjs'); {% endhighlight %}Then, in your JavaScript, use the require function to get a reference:
{% highlight javascript %} var makerjs = require('makerjs'); {% endhighlight %}