EnterTheVoid.js by OKFocus

EnterTheVoid.js is a JQuery plugin that produces a super sweet text effect by cycling through various CSS properties - sorta reminiscent of the opening of the awesome movie Enter The Void. Simply hover over type elements with the EnterTheVoid.js enabled and see awesome things happen.

Usage

The following examples show the several options packaged with OKType. The script on the following examples is as follows :

  $(document).ready(function(){
      $('p.default').oktype();
      $('p.random').oktype({ randomColor: true });
      $('p.weight').oktype({ weight: true });
      $('p.randomDecoration').oktype({ randomDecoration: true });
      $('p.interval').oktype({ interval: 500 });
      $('p.toggleCase').oktype({ toggleCase : true });
      $('p.minSpace').oktype({ minSpace : 2 });
      $('p.maxSpace').oktype({ maxSpace : 10 });
      $('p.restore').oktype({ restore : false });
  });

EnterTheVoid.js Default

Random Color

Weight Variable

randomDecoration

slower interval, 500

toggleCase

minSpace 2

maxSpace 10

restore

Usage

option description default
weight alternates the font weight by toggling or selecting at random (a string – ‘toggle’ or ‘random’) null
minSize the minimum desired size for the type (an int) null
maxSize the maximum desired size for the type (an int) null
randomColor randomizes type color (a boolean) false
randomDecoration Random from array of text-decoration rules (a boolean) false
interval the speed of our animation in milliseconds (an int) 100
toggleCase randomizes capitalization and lowercase of type (a boolean) false
minSpace maximum letter-spacing for type (an int) null
maxSpace minimum letter-spacing for type (an int) null
restore restore style off hover (a boolean) true
hover animation on hover, otherwise always animate (a boolean) true

Download EnterTheVoid.js or Contribute on Github

License

Copyright © 2011 OKFocus, http://okfoc.us

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
“Software”), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.