Press "Enter" to skip to content

JavaScript API for Drawing Unconventional Text Effects | Blotter.js

Blotter.js is a JavaScript API for drawing funky text effects using canvas, Three.js, and Underscore.js on the web.

When applying effects to text on the web, designers have traditionally been limited to those provided by CSS. In most cases, this fits perfectly – text is text, isn’t it? However, there are still many examples of designers combining CSS properties or gifs and images to create effects that evoke something more fun. Exactly here, blotting is there to provide an alternative.

javascript text animation, text animation js library, simple javascript text animation, text animation examples, anime js text animation

How to make use of it:

1. Insert Blotter.js and ChannelSplitMaterial.js into the document.

<script src="/path/to/build/blotter.min.js"></script>
<script src="/path/to/build/ChannelSplitMaterial.js"></script>

2. Select the text to apply the funky effect.

var myText = new Blotter.Text("Text Here", {
    // more options here
});

3. Apply texture to text effect.

var material = new Blotter.ChannelSplitMaterial();
var blotter = new Blotter(material, { texts : text });

4. Display the text effect on the screen.

var scope = blotter.forText(text);
scope.appendTo(document.body);

5. Default options.

{
  family       : 'sans-serif',
  size         : 12,
  leading      : 1.5,
  fill         : '#000',
  style        : 'normal',
  weight       : 400,
  padding      : 0,
  paddingTop   : 0,
  paddingRight : 0,
  paddingBottom: 0,
  paddingLeft  : 0
};

unconventional text effects, blotter js Plugin/Github


See Demo And Download

Official Website(bradley): Click Here

This superior jQuery/javascript plugin is developed by bradley. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.