0% found this document useful (0 votes)
11 views4 pages

Tiến? 6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Tiến? 6

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

{"activityRecognitionUpdateRate"

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chúc Mừng Năm Mới 2026</title>
<style>
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: radial-gradient(circle, #000, #020202); /* Bầu trời đêm */
font-family: Arial, sans-serif;
}

.message {
position: absolute;
top: 40%;
width: 100%;
text-align: center;
font-size: 4em;
font-weight: bold;
color: white;
text-shadow: 0 0 20px #ff9800, 0 0 40px #ff5722, 0 0 60px #f44336;
opacity: 0;
transition: opacity 1s ease-in-out;
}

canvas {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="message" id="newYearMessage">Chúc Mừng Năm Mới 2026!</div>
<canvas id="fireworksCanvas"></canvas>

<script>
const canvas = document.getElementById("fireworksCanvas");
const ctx = canvas.getContext("2d");
const message = document.getElementById("newYearMessage");

canvas.width = window.innerWidth;
canvas.height = window.innerHeight;

const gravity = 0.05; // Trọng lực


const fireworks = [];

// Class pháo hoa bắn lên


class Firework {
constructor(x, y, targetY, color) {
this.x = x;
this.y = y;
this.targetY = targetY;
this.color = color;
this.velocity = -8 + Math.random() * -3; // Tốc độ bắn pháo ngẫu nhiên
this.exploded = false;
this.particles = [];
}

update() {
if (!this.exploded) {
this.y += this.velocity;
this.velocity += gravity; // Trọng lực làm chậm pháo
if (this.y <= this.targetY) {
this.exploded = true;
this.createParticles();
showMessage();
}
} else {
this.particles.forEach(p => p.update());
this.particles = this.particles.filter(p => p.lifespan > 0);
}
}

createParticles() {
const particleCount = 150; // Số tia sáng
for (let i = 0; i < particleCount; i++) {
const angle = Math.random() * Math.PI * 2;
const speed = Math.random() * 4 + 2;
const color = this.color;
this.particles.push(
new Particle(
this.x,
this.y,
Math.cos(angle) * speed,
Math.sin(angle) * speed,
color
)
);
}
}

draw() {
if (!this.exploded) {
ctx.beginPath();
ctx.arc(this.x, this.y, 3, 0, Math.PI * 2);
ctx.fillStyle = this.color;
ctx.fill();
} else {
this.particles.forEach(p => p.draw());
}
}
}

// Class tia sáng khi nổ


class Particle {
constructor(x, y, velocityX, velocityY, color) {
this.x = x;
this.y = y;
this.velocityX = velocityX;
this.velocityY = velocityY;
this.color = color;
this.lifespan = 80 + Math.random() * 20; // Tuổi thọ ngẫu nhiên
}

update() {
this.x += this.velocityX;
this.y += this.velocityY;
this.velocityY += gravity; // Áp dụng trọng lực
this.lifespan--;
}

draw() {
ctx.beginPath();
ctx.arc(this.x, this.y, 2, 0, Math.PI * 2);
ctx.fillStyle = `rgba(${this.color.r}, ${this.color.g}, ${this.color.b}, ${
this.lifespan / 100
})`;
ctx.fill();
}
}

function createFirework() {
const x = Math.random() * canvas.width;
const y = canvas.height;
const targetY = Math.random() * canvas.height / 2;
const color = {
r: Math.floor(Math.random() * 255),
g: Math.floor(Math.random() * 255),
b: Math.floor(Math.random() * 255),
};
fireworks.push(new Firework(x, y, targetY, `rgb(${color.r},${color.g},$
{color.b})`));
}

function showMessage() {
message.style.opacity = 1;
setTimeout(() => {
message.style.opacity = 0;
}, 2000); // Hiển thị chữ trong 2 giây
}

function animate() {
ctx.fillStyle = "rgba(0, 0, 0, 0.2)";
ctx.fillRect(0, 0, canvas.width, canvas.height);

fireworks.forEach((firework, index) => {


firework.update();
firework.draw();
if (firework.exploded && firework.particles.length === 0) {
fireworks.splice(index, 1);
}
});

if (Math.random() < 0.04) {


createFirework();
}
requestAnimationFrame(animate);
}

animate();

window.addEventListener("resize", () => {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
});
</script>
</body>
</html>

REGEDIT FF IOS CX V. FREE_


regedit ‹injector> sensitivity/device.ios/vnclite/injector
sysaee. cnnecesensitave y-devivitos usen code is enabled in sapp. config/vncLite›
SELvatEn key: 5392.0433. 85557
copp.contag/ontrable code only when injector code is injected into
regedit ‹injector> sensitivity/freefire/freefiremax/vnclite/injector empace ing
terrarelate full sensitivity boost in sapp. contag/freefare> system < injector code
function> activation key: <2853.9533.8532>
regedit < injector>
sensitivity/freefire/freefiremax/weapons.config/vnclite/injector a conta terran ate
verge sent t be so an on ground fres
capp.config/vnclite>
system < injector code function› activation key: <5838.9233.9542>
only when the code is activated in app injector < config.system/weapons>
weapons smg:emulate increase in "smg" weapons when code is enabled in
sapp.config/vnclite>
weapons f/late increase in "s" weapons when code is enabled in
wapp.conLi/nclitesncrease In "ar" weapons When code ds enabled in
weap.contag/unte increase in "g" weapons when code is enabled in
config function:emulate increased sensitivity on all weapons from
<app.config/freefire> <app.config/freefiremax>
system <injector
code function>
activation key: <5838.9233.9542>
<config. system/weapons>
Ad
X
Ad
Read without ads.
Subscribe

You might also like