Giter Site home page Giter Site logo

wellcompiled / blackmailjs Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 268 KB

BlackmailJS, the ransom script renderer

Home Page: https://wellcompiled.github.io/blackmailJS/

License: Other

CSS 7.10% JavaScript 52.40% HTML 40.50%
javascript typography font-rendering

blackmailjs's Introduction

BlackmailJS Logo

blackmailJS

BlackmailJS aka RansomScript is a typography class for Javascript (Vanilla). It aims to simulate character cut-outs from newspapers/magazines in the style of old-fashioned ransom notes. It concatenates a given string sequence by applying various HTML text elements like: <strong> <i> <em> <mark> <small> <del> .

->BlackmailJS<-

Usage

To use BlackmailJS, it's recommended to inject it before your logic code. This can be either inside the <head> element or right before the closing tag of the </body>.

<script type='text/javascript' charset='utf-8' src='blackmail.min.js'></script>

Hello, World

<!-- Create a '<div>' container with a proper 'id' -->
<div id="BLK_Example"></div>

<script>
  let my_string = "Hello, World.";
  let element_id = "#BLK_Example";
  // Initiate a new Blackmail instance with your favourite word(s) aka string of
  // characters e.g. "Hello, World." and inject your previously created 'id'.
  let my_blk_instance = new Blackmail(my_string, element_id);
  // Use the 'attach()' function on your newly created instance to render it to your screen.   
  my_blk_instance.attach();
</script>

B.I.Y.S. && TODOs

  • NPM, build process
  • code clean up and optimization
  • implement animation() function
  • render full page texts !!!

blackmailjs's People

Contributors

wellcompiled avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.