Experimental project

This is a sandbox project, which contains experimental code for developer use only.

About This Module

This module simply creates a block for displaying an effect similar to that found in the popular film series The Matrix. The block can also have an overlay containing basic text content.

All of the options for the block are configurable within the admin panel.

Why?

I created this module to display the same thing on a personal project and thought I wold release it to the Drupal community, as there is not another module like this. I also think this module is the perfect way to showcase what the canvas element can do and how it can be used within a Drupal module.

Requirements

This module depends on libraries API, which will be how we load our Javascript files. It also depends on the jQuery Colrpicker module, which is used within the admin configuration form.

The two jQuery files that this plugin relies on are jQuery Matrix Rain & jQuery Request Animation Frame, both of which are in my Bitbucket repository that is linked to in the installation instructions.

Installation Instruction

  1. Install http://drupal.org/project/libraries
  2. Install this module just as you would any other Drupal module
  3. Download Matrix Rain from my Bitbucket repository.
  4. Extract the the zip file content and copy the JS folder to [path to libraries folder]/matrix-rain/

Credits

Credits go to Corey Frang, Paul Irish and Tino Zijdel, for their work on the requestAnimationFrame features and polyfill to allow for the smooth rendering of the block. Neil Carpenter must receive credit for his work creating part of the Javascript to render the actual code rain that is wrapped in the jQuery plugin. The standalone jQuery plugin was created by myself, so credits go to myself for creating that plugin.

Project information

  • Created by djalxs on , updated