• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Embed Matrix Code Rain Animation Effect in WordPress Post

By Abhishek Ghosh September 29, 2015 9:59 am Updated on September 29, 2015

Embed Matrix Code Rain Animation Effect in WordPress Post

Advertisement

One Can Create The Matrix Code Rain Animation Effect With Javascript on HTML5 Webpage and Customize According to Need. Here is resources. We talked about basics about HTML5 canvas. We can use Javascript library like jQuery for this purpose. At the time of publication of this article, such animated example can be seen on author’s personal website – abhishekghosh.pro. Allow some time to automatically get the width adjusted.

Embed Matrix Code Rain Animation Effect in WordPress Post

Blue Pill – Red Pill test described here, which is a serious test; indeed.

 

The Matrix Code Rain Animation Effect With Javascript

 

Basic can be done with HTML5 Canvas API and Java Script with this code, first we need to load jquery :

Advertisement

---

Vim
1
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>

then we add a canvas :

Vim
1
<canvas id="q" width="500" height="500">Sorry Your Browser Does Not Support</canvas>

Then this code will be injected :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<canvas id=canvas>
<script>
// http://jsfiddle.net/muV99/16/
var ctx = canvas.getContext('2d');
var columns = [];
var chars = [];
canvas.height = window.screen.height;
canvas.width = window.screen.width;
ctx.translate(canvas.width, 0);
ctx.scale(-1, 1);
for (i = 0; i < 256; columns[i] = 1, chars[i++] = '゠');
ctx.shadowBlur = 2;
function step() {
    ctx.fillStyle = 'rgba(0,0,0,0.05)';
    ctx.shadowColor = '#000';
    ctx.fillRect(0, 0, canvas.width, canvas.height);
    columns.map(function (value, index) {
        ctx.fillStyle = ctx.shadowColor = '#000';
        ctx.fillRect(index * 10, value - 10, 10, 10);
        ctx.fillStyle = ctx.shadowColor = '#0F0';
        ctx.fillText(chars[index], index * 10, value - 10);
        columns[index] = value > 758 + Math.random() * 1e4 ? 0 : value + 10;
        chars[index] = String.fromCharCode(12448 + Math.random() * 96);
        ctx.fillStyle = ctx.shadowColor = '#AFA';
        ctx.fillText(chars[index], index * 10, value);
    });
}
setInterval(step, 33);
</script>

It can be done here :


 

Embedding The Matrix Code Rain Animation Effect In WordPress Post

 

If you want something like our above embedded thing, simply adjust these two lines :

Vim
1
2
canvas.height = window.screen.height;
canvas.width = window.screen.width;

to :

Vim
1
2
canvas.height = 300;
canvas.width = 400;

Practically, you are copy pasting this on your WordPress post editor in Text mode :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<canvas id=canvas>
<script>
var ctx = canvas.getContext('2d');
var columns = [];
var chars = [];
canvas.height = 300;
canvas.width = 400;
ctx.translate(canvas.width, 0);
ctx.scale(-1, 1);
for (i = 0; i < 256; columns[i] = 1, chars[i++] = '゠');
ctx.shadowBlur = 2;
function step() {
    ctx.fillStyle = 'rgba(0,0,0,0.05)';
    ctx.shadowColor = '#000';
    ctx.fillRect(0, 0, canvas.width, canvas.height);
    columns.map(function (value, index) {
        ctx.fillStyle = ctx.shadowColor = '#000';
        ctx.fillRect(index * 10, value - 10, 10, 10);
        ctx.fillStyle = ctx.shadowColor = '#0F0';
        ctx.fillText(chars[index], index * 10, value - 10);
        columns[index] = value > 758 + Math.random() * 1e4 ? 0 : value + 10;
        chars[index] = String.fromCharCode(12448 + Math.random() * 96);
        ctx.fillStyle = ctx.shadowColor = '#AFA';
        ctx.fillText(chars[index], index * 10, value);
    });
}
setInterval(step, 33);
</script>

Possibly you’ll not need to load jquery as your theme already loaded in front end.

Tagged With matrix code , matrix rain , matrix rain embed , matrix rain html5 , matrix rain wordpress , The Matrix Code Rain Red

This Article Has Been Shared 515 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Embed Matrix Code Rain Animation Effect in WordPress Post

  • Cloud Computing Risk Analysis

    Cloud Computing Risk Analysis is an important administrative and marketing task. ENISA itself has a pdf guide. However, we will cover a generalized idea.

  • Installing OpenPanel on Rackspace Cloud Server

    Installing OpenPanel on Rackspace Cloud Server is easy even to a starter if our detailed guide is followed. OpenPanel is a free cPanel like Control Panel.

  • YouTube Video : YouTube Tips and Tricks for Publishers

    YouTube Tips and Tricks for Publishers will help you to create, optimize YouTube videos, get direct backlinks, Traffic to your blog as well as earn money.

  • What is Constrained Application Protocol (CoAP)?

    Constrained Application Protocol (CoAP) is RESTful, low overhead protocol, specified in RFC 7252 and is designed for Internet of Things.

  • How To Distribute Your Software Via Deb Repository

    How have developed a stable software and distributing the source code via GitHub. Learn how to distribute your software via Deb Repository.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022
  • A Beginner Guide to Cloud Computing for Development June 22, 2022
  • 5 Benefits of Using a Virtual Data Room Today June 19, 2022
  • Top System Administration Courses 2022 June 18, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Embed Matrix Code Rain Animation Effect in WordPress Post," in The Customize Windows, September 29, 2015, June 29, 2022, https://thecustomizewindows.com/2015/09/embed-matrix-code-rain-animation-effect-in-wordpress-post/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy