Con este script se puede obtener algo similar si lo que se busca es la 'animación' en la web.
este es un ejemplo con fade in, hace un rand así que no va a seguir un patrón al ir mostrando el texto.
<blockquote contenteditable="true"><q>Texto fade in slowly.</q>
<cite>tinc0h</cite>
</blockquote>
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
background: #000;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
blockquote {
font-size: 3rem;
}
cite {
display: block;
text-align: right;
font-family: Verdana, Arial, sans-serif;
margin-top: 1rem;
font-size: .9rem;
color: #aaa;
font-style: normal;
}
blockquote q {
font-family: Georgia, serif;
font-style: italic;
letter-spacing: .1rem;
}
blockquote q span {
will-change: opacity, filter;
opacity: 0;
filter: blur(0px);
}
q {
quotes: """ """ "'" "'";
}
q:before {
content: open-quote;
margin-right: .8rem;
}
q:after {
content: close-quote;
}
q:before, q:after {
color: #ccc;
font-size: 4rem;
}
function splitWords() {
let quote = document.querySelector("blockquote q");
quote.innerText.replace(/(<([^>]+)>)/ig,"");
quotewords = quote.innerText.split(" "),
wordCount = quotewords.length;
quote.innerHTML = "";
for (let i=0; i < wordCount; i++) {
quote.innerHTML += "<span>"+quotewords[i]+"</span>";
if (i < quotewords.length - 1) {
quote.innerHTML += " ";
}
}
quotewords = document.querySelectorAll("blockquote q span");
fadeWords(quotewords);
}
function getRandom(min, max) {
return Math.random() * (max - min) + min;
}
function fadeWords(quotewords) {
Array.prototype.forEach.call(quotewords, function(word) {
let animate = word.animate([{
opacity: 0,
filter: "blur("+getRandom(2,5)+"px)"
}, {
opacity: 1,
filter: "blur(0px)"
}],
{
duration: 1000,
delay: getRandom(500,3300),
fill: 'forwards'
}
)
})
}
splitWords();
Acá dejo otro script que si escribe hacia un lado, se tiene que modificar bastante pero, funciona. También a diferencia del anterio, utiliza Jquery.
<div class="container--main">
<div class="container--inner">
<div class="intro">
<p class="sub animate">ejemplo de</p>
<p class="title animate">Texto</p>
<p class="sub animate">escribiendose</p>
<p class="sub animate">Hacia un lado</p>
</div>
<div class="name">
<p id="typewriter"></p>
</div>
</div>
</div>
@import url('https://fonts.googleapis.com/css?family=Anton|Oswald:300');
$title : 'Anton', sans-serif;
$sub : 'Oswald', sans-serif;
.container {
&--main {
height: 100vh;
width: 100wh;
padding: 50px 100px;
margin: 0 auto;
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color: #111;
}
&--inner {
display: flex;
align-items: center;
justify-content: center;
transition: all 1s linear;
}
}
p {
color: #eee;
font-size: 1.6rem;
text-transform: uppercase;
margin: 0;
}
.intro {
opacity: 0;
&.visible {
opacity: 1;
}
p {
display: block;
text-align: right;
}
.title {
font-family: $title;
font-size: 50px;
}
.sub {
font-family: $sub;
}
}
.name {
font-family: $title;
margin-left: 20px;
line-height: 1;
p {
font-size: 15rem;
line-height: 1;
}
}
.typed-cursor{
opacity: 1;
-webkit-animation: blink 0.7s infinite;
-moz-animation: blink 0.7s infinite;
animation: blink 0.7s infinite;
}
@keyframes blink{
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
function textAnimation() {
$('.animate').each(function() {
var $allMsg = $(this);
var $wordList = $(this).html().split("");
$(this).html("");
$.each($wordList, function(idx, elem) {
var newEL = $("<span/>").text(elem).css({ opacity: 0 });
newEL.appendTo($allMsg);
newEL.delay(idx * 70);
newEL.animate({ opacity: 1 }, 1100);
});
});
setTimeout(function() {
$("#typewriter").typed({
strings: ["olakace", "el tincoh pa"],
typeSpeed: 100,
startDelay: 0,
backSpeed: 60,
backDelay: 1000,
loop: true,
cursorChar: "",
contentType: 'html'
});
}, 2000)
}
$(window).on("load", function() {
$('.intro').addClass('visible');
textAnimation();
});
Saludos!