код вставляем в блокнот и потом расширение ".txt" меняем на ".html":
--animation-duration: 15s;
animation: yu-animation var(--animation-duration) linear forwards;
transform-origin: 63% 50%;
--start-scale: 0.8; /* Отдельный масштаб для надписи */
@keyframes yu-animation {
transform: scale(var(--start-scale)) rotate(var(--rotate-start));
transform: scale(30) rotate(var(--rotate-end));
let nextPahuAt = 10 + Math.floor(Math.random() * 6) + 5; // 10 + (5-10)
const pahu = document.createElement('div');
pahu.textContent = 'ПАХУЮ';
const startAngle = Math.random() * 360;
const endAngle = startAngle + 360 * 3;
pahu.style.setProperty('--rotate-start', `${startAngle}deg`);
pahu.style.setProperty('--rotate-end', `${endAngle}deg`);
pahu.addEventListener('animationend', () => pahu.remove());
document.body.appendChild(pahu);
// Создаем ПАХУЮ каждые 10-15 букв Ю
if(counter >= nextPahuAt) {
nextPahuAt = 10 + Math.floor(Math.random() * 6) + 5; // Новый интервал
const yu = document.createElement('div');
const startAngle = Math.random() * 360;
const endAngle = startAngle + 360 * (Math.random() * 2 + 1);
yu.style.setProperty('--rotate-start', `${startAngle}deg`);
yu.style.setProperty('--rotate-end', `${endAngle}deg`);
yu.addEventListener('animationend', () => yu.remove());
document.body.appendChild(yu);
setTimeout(createYu, parseFloat(getComputedStyle(document.documentElement)
.getPropertyValue('--spawn-delay')) * 1000);
// made by Махурчеватор just for fun ^^
обновил, убрал спойлер, хз через задницу вставляется, в каментах еще раз продублировал, в посте форматирование кода хз как настроить