Plasma Beam Cursor - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Plasma Beam Cursor</title> <style> body { margin: 0; overflow: hidden; background: #000; } .beam { position: absolute; width: 5px; height: 50px; background: rgba(0, 255, 255, 0.8); pointer-events: none; box-shadow: 0 0 20px rgba(0, 255, 255, 0.8); animation: beam 1s linear infinite; } @keyframes beam { from { opacity: 1; } to { opacity: 0; } } </style> </head> <body> <script> document.addEventListener('mousemove', function(e) { const beam = document.createElement('div'); beam.className = 'beam'; beam.style.left = `${e.pageX}px`; beam.style.top = `${e.pageY}px`; document.body.appendChild(beam); setTimeout(() => beam.remove(), 1000); }); </script> </body> </html>