monks.co / blog

miNType

miNType is Kevin Zweerink’s ntype (try it out at ntype.blue), but with most of the features removed.

It makes it real easy to put some cool 4d type on your website. You can see an example at the top of this very page.

# major limitations

# how to

see index.html for an example.

here’s the important bit:

var ntypediv = document.getElementById("sayhello")
var ntype = new NType(ntypediv);
var options = {
  // this bit says which axes to rotate
  matrix: ["xz", "xy"],
};
ntype.begin("hi", options);

# dev

run npm install to install the uglifier

then run grunt to concatenate the files in js/ into one file lib/mintype.js and then minify it to lib/mintype.min.js