Javascript Floating Text

Here I was thinking of new ideas for my website theme and I stumbled across this awesome floating text bit of javascript.

I am not sure if this is a part of something bigger... but it's awesome none-the-less.

Just create a Canvas element in your HTML

<canvas id="mast_canvas"></canvas>

Define some styles for it

canvas#mast_canvas {
    height: 600px;
    width: 100%;
    background:#000000;
}

Add the Javascript magic to your head:

<script src="floatingtext.js" type="text/javascript" charset="UTF-8"></script>

Download: floatingtext.js

And you're done.

See the code running at CodePen.