You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var prev = "";
var sentences = [
'You are somewhere in the ocean.',
'You are the seer and the snake.',
'The irony is that you are a Pure Soul, but you also experience your life.',
'Months earlier, a high school student told me who I am.',
'This is a new sense of self.',
'Meditation has made a great impact on your life because no one else is going mad.',
'YOU\'D HARDLY CHOOSE TO BE. YOU ARE GOD.',
'IN REALITY, YOU ARE MAKING.',
'SELF-REFLECTION IS A NEW SENSE OF SELF AND IS TRAGICALLY LIMITED.',
'MEDITATION CAN HELP BRING YOU BACK IN THE IMAGE OF GOD, GOD IS THE SEER.',
'All the suffering in life is because of what you\'ve done.',
'A father, a husband because you have a son.',
'A passenger because you have a son.',
'You\'d have to permit that new sense of self waiting to be born.',
'Daily, we are made in the wind.',
'Though sinful, we can be reconciled to God in Christ and come to realize it\’s who I am.',
'For infinite past lives the Soul has been given to you.',
'It is essential to understand that you are an eternal Soul',
'A vapor in the ocean',
'You are somewhere in the wind.',
'The irony is that you are likely to crack.',
'For those, who are you?',
'There may be an identity crisis.',
'I am yours',
'THE TRUTH IS THAT YOU ARE ON A TRAIN.',
'ALL LIVING BEINGS DESIRE TO BE A CHILD OF GOD.',
'THIS PERMITS US TO FEEL ANXIOUS.',
'EVERYTHING YOU NEED IS INSIDE OF YOU, SHE TOLD ME',
];
var rand = sentences[Math.floor(Math.random() * sentences.length)];
if (rand == prev) {
var rand = sentences[Math.floor(Math.random() * sentences.length)];
}
prev = rand;
// Wrap every letter in a span
$('#quotes').text(rand);
$('#quotes').each(function () {
$(this).html($(this).text().replace(/([^\x00-\x80]|\w)/g, "<span class='letter'>$&</span>"));
});
anime.timeline({ loop: true })
.add({
targets: '#quotes .letter',
opacity: [0, 1],
easing: "easeInOutQuad",
duration: 2250,
delay: function (el, i) {
return 150 * (i + 1)
}
}).add({
targets: '#quotes',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 1000
});
/* $('#quotes').fadeOut("slow", function() {
$('#quotes').text(rand);
$('#quotes').fadeIn("slow", function() {
// Animation complete*/
});
The text was updated successfully, but these errors were encountered:
$(document).click(function () {
});
The text was updated successfully, but these errors were encountered: