CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:50:48 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=4041ccfbae8ecb93ef7d5e44c478e47d00398e74dc6e97ca76f9a0154b1ffed7a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22equD83g3wqgcMRi53PessWoVdIRrhI7N%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d24308bdc8ad8b-BLR
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta nam - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Circles</title>
- <style>
- canvas {
- background: black;
- }
- </style>
- </head>
- <body>
- <canvas id="myCanvas" width="800" height="800"></canvas>
- <script>
- const canvas = document.querySelector('canvas');
- const ctx = canvas.getContext("2d");
- ctx.lineWidth = 2;
- ctx.strokeStyle = 'white';
- canvas.addEventListener('mousemove', (e) => {
- ctx.clearRect(0, 0, canvas.width, canvas.height);
- let mouseX = e.offsetX;
- let mouseY = e.offsetY;
- let distanceToCenterX = Math.abs(mouseX - canvas.width / 2);
- let distanceToCenterY = Math.abs(mouseY - canvas.height / 2);
- let growingValue = (distanceToCenterX + distanceToCenterY) / 4;
- for(let i = 0; i < 5; i++){
- let x = 0;
- if(e.offsetX > canvas.width/2){
- x = i*40 ;
- } else if( e.offsetX < canvas.width/2){
- x = -i*40;
- } else {
- x = 0;
- }
- let y = 0;
- if(e.offsetY > canvas.height/2){
- y = i*40;
- } else if(e.offsetY < canvas.height/2){
- y = -i*40;
- } else {
- y = 0
- }
- console.log(20 + i*growingValue);
- ctx.beginPath();
- ctx.arc(canvas.width/2 + x, canvas.height/2 + y, 20 + i*growingValue, 0, Math.PI*2);
- ctx.closePath();
- ctx.stroke();
- }
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 1 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ J
JavaScript | 6 sec ago | 0.25 KB
-
⭐ Free Crypto Method ⭐
JavaScript | 10 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $1000 INSTANTLY⭐⭐
Java | 13 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ Q
JavaScript | 15 sec ago | 0.25 KB
-
📝 Crypto Swap Glitch ✅ Working
JavaScript | 19 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 3
JavaScript | 23 sec ago | 0.25 KB
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 27 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand