◀ VibeCruiser

firefly interactive

A free animation — play it in your browser, no install. 마우스를 피해 흩어지는 반딧불이 — 순수 JS + Canvas로 만든 인터랙티브 파티클 애니메이션

by @qgasdg · qgasdg/firefly-interactive on GitHubLANG JavaScriptHOSTED ON FIREFLY-INTERACTIVE.VERCEL.APPUPDATED 7 Oct 2026

Made this, @qgasdg? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

마우스를 움직이면 반딧불이들이 흩어지는 인터랙티브 캔버스입니다. 프레임워크 없이 순수 JavaScript와 Canvas 2D API만으로 만들었습니다.

방향 기반 떠돌기 — 각 반딧불이는 자기 진행 방향(각도)을 조금씩 무작위로 틀면서 움직여요. 원래 자리로 돌아가려 하지 않아서 자연스럽게 떠다닙니다. 마우스 반발 — 커서가 가까이 오면 반대 방향으로 방향을 바꾸고, 가까울수록 순간 속도가 커져요. 이후 속도는 서서히 원래대로 줄어들지만, 바뀐 방향은 그대로 유지됩니다. 빛 번짐 효과 — 매 프레임마다 반딧불이 하나하나에 방사형 그라데이션(중심에서 바깥으로 옅어지는 색)을 그려 은은한 빛을 표현해요. 깜빡임 — 투명도가 가끔씩 새 목표값으로 천천히 바뀌어 반짝이는 느낌을 줍니다. 화면 가장자리 순환 — 화면 밖으로 나가면 반대편에서 다시 나타나요. 탭 전환 대응 — 탭이 보일 땐 requestAnimationFrame, 숨겨지면 setInterval로 애니메이션을 이어갑니다.

다른 페이지에서도 엔진만 가져다 쓸 수 있어요.

engine.options를 직접 바꾸면 실행 중에도 바로 반영돼요.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →