How cool (... or nerd - ish) could it be to render all your BJS scene in Ascii ART?
If you would like it, this tutorial is made for you.
Ascii Art Post Process Scripts can be found here:
Please, first reference this script in your page:
<script src="babylon.asciiArtPostProcess.js"></script>
Then, you only need to instantiate the post process attach to your main camera to bring it to life.
// Creates the post process
var postProcess = new BABYLON.AsciiArtPostProcess("AsciiArt", camera);
The first you can do is changing the font used in the post process.
// Creates the post process
var postProcess = new BABYLON.AsciiArtPostProcess("AsciiArt", camera, "10px Monospace");
But you could also play with more parameters:
// Creates the post process
var postProcess = new BABYLON.AsciiArtPostProcess("AsciiArt", camera,
{
font: "20px Monospace",
characterSet: " -+@",
mixToNormal: 0.5,
mixToTile: 0.5
});
The availables parameters are:
Two of them mixToNormal and mixToTile are also available at run time to allow smoothly fading from matrix to your normal scene.
// Creates the post process
var postProcess = new BABYLON.AsciiArtPostProcess("AsciiArt", camera);
// Displays the scene.
var alpha = 0;
scene.registerBeforeRender(function() {
alpha += 0.01;
postProcess.mixToNormal = Math.cos(alpha) * 0.5 + 0.5; // between 0 and 1.
});