Загрузка...

Claude made this animation in 10 seconds 🤯

I gave Claude one prompt and it built this interactive particle animation. It follows your cursor and explodes when you tap. Try it yourself, the full prompt is below 👇
Prompt:

Build a premium fullscreen interactive particle animation in a single HTML file using canvas and vanilla JS (no libraries). Around 450 small glowing particles on a near black background with a purple to pink to cyan color gradient. Use globalCompositeOperation 'lighter' for the glow and simple filled circles, no shadowBlur. Make trails by drawing a semi transparent black rect over the canvas each frame. Cap devicePixelRatio at 1.5 for 60fps. Continuously track the mouse with mousemove and pointermove and every frame pull particles toward the cursor so they follow and swirl around it. Fast movement makes them trail like a comet. On hold they pull in, on release they burst outward in a shockwave. On click spawn a ripple that pushes particles out. Each particle has velocity, attraction to the mouse, light damping, and small repulsion at close range so they orbit instead of collapsing. Loop seamlessly. Output one complete HTML file.
should I post one of these every day? 👇
#coding #creativecoding #javascript #ai #satisfying #shorts

Видео Claude made this animation in 10 seconds 🤯 канала VibeCodex
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять