• 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 750 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 (24.3K 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

  • Online Dating: How to Find Your Match March 20, 2023
  • Web Design Cookbook: Logo March 19, 2023
  • How Starlink Internet Works March 17, 2023
  • The Importance of a Camera Tracking System in Virtual Production March 15, 2023
  • Understanding the Key Differences between Docker and OpenVZ March 14, 2023

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, March 20, 2023, https://thecustomizewindows.com/2015/09/embed-matrix-code-rain-animation-effect-in-wordpress-post/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT