Runic Fire Circles
One hand raised to the webcam is wrapped in fire filaments; raise the other and a rune circle opens on each palm. No gesture to learn, and a cursor demo without a camera.
Updated
This effect is part of Effect.Labs — 846 vanilla effects, some free, some premium. Gestures & Webcam has 11 effects, all premium. Explore the category →
3 usage examples



How it works
Here, the number of hands picks the visual. With a single hand, glowing nodes are born along the bones of the hand, rise in a wavy path for 0.6 to 1.4 s and link to their neighbours with strokes: yellow near the skin, orange higher up, red before they die out. Up to 240 nodes and 90 embers build a web of flames that hugs the hand and follows it.
As soon as a second hand shows up, the fire fades out and a circle opens on each palm: it grows from 40 to 100% of its size in 0.7 s, then spins. Each circle stacks a graduated ring of 72 ticks with four spikes, a band of 18 glyphs, a nine-pointed star, three satellites, a dashed ring, a cog wheel and a glowing core. Seven rotation speeds, in both directions, make it look like a mechanism. The radius is 2.1 times the length of the palm: moving the hand closer makes the circle bigger.
Everything is drawn in Canvas 2D with additive light: no WebGL, no image, no font. The glyphs are an alphabet of 24 invented signs, built by the code from a fixed seed, so they are the same on every load.
Without a camera, two drawn hands play the scene: one follows the cursor, the other faces it and fades out now and then (6.5 s with two hands, then 4.5 s with one) to show the circles and the fire in turn. Clicking does nothing. The captures on this page come from this mode, with the code you buy. The button opens the webcam and loads the MediaPipe hand detector; the analysis stays in the browser and no image or video goes to a server. Google's library, however, sends, on its own initiative, a small usage log to odml.pa.googleapis.com, with no image (version number, processing times): first a minute after it starts, then for every minute of camera use. It is worth stating in your site's privacy policy.
Accessibility
- Keyboard: the camera button is the only element to reach (Tab, then Enter or Space). The effect has no click and no gesture to confirm: a keyboard user misses no feature.
- Reduced motion: the demo stays on the two circles, motionless, with no opening, no embers and no alternation: nothing moves until the pointer does. On camera, a single hand gets a fixed web of flames, 63 nodes placed on its bones, that follows it without waving.
- Screen readers: the drawing is decorative (
aria-hidden); the scene carries anaria-labelto rewrite for your page, and camera messages go through arole="status"pill. - Touch: swiping left to right moves the hand, up and down scrolls the page; a tap has no action. Swipes checked in Chromium touch emulation.
- Light: no sudden burst. The switch from fire to circles is a fade, each ring varies by 10% at most, at less than one beat per second, and the filaments each flicker at their own pace.
.frc-solidon the scene removes 45% of the intensity.
Browser compatibility
Canvas 2D only, 44 KB of unminified JavaScript, no dependency as long as the camera is off. Chromium 149, Firefox 151 and WebKit 26.5 run two independent scenes on one page without a single request, and cut the loop as soon as the scene leaves the screen. Simulated webcam in Chromium and Firefox: four downloads, 10.7 MB transferred, then a POST of 39 to 105 bytes to odml.pa.googleapis.com per minute of camera use (the MediaPipe log), recorded on 4 December over six minutes. Going from one hand to two and back to one was verified in Chromium with hand positions fed into the shipped code, and the detection of a real hand with a test video. Nothing was checked in camera mode in Safari.
There is no backup rendering to plan for: the drawing only uses Canvas 2D. If the camera is refused or missing, or if the detector cannot be downloaded, the pill says so and the drawn hands carry on. Without JavaScript, what remains is the dark frame, the button and the privacy line.
The code
HTML structure to paste into your page (the CSS + JS come with your purchase):
<div class="fx-0849-root">
<div class="frc-scene" data-frc-lang="en" role="region" aria-label="Fire and Rune Circles — one hand: fire filaments; two hands: a rune circle on each palm. Cursor demo, camera on request (processed on your device only)">
<video class="frc-video" playsinline muted autoplay aria-hidden="true" tabindex="-1"></video>
<canvas class="frc-canvas" aria-hidden="true"></canvas>
<div class="frc-bar">
<button class="frc-btn frc-cam-btn" type="button" aria-pressed="false">
<span class="frc-btn-ico" aria-hidden="true"></span><span class="frc-btn-txt">Turn camera on</span>
</button>
<p class="frc-privacy">No image ever leaves your device.</p>
</div>
<p class="frc-status" role="status" aria-live="polite"></p>
<div class="frc-label" aria-hidden="true">
<span>Fire and Rune Circles</span>
<span class="frc-hint">move the cursor · or turn the camera on</span>
</div>
</div>
</div>
One-time payment, no subscription — the code is yours forever
Customize
Options passed to the API or data-* attributes:
| Option / property | Default | Effect |
|---|---|---|
Circle size (JS — palm * 2.1 and 0.38 in _circle) |
2.1 × the palm, 38% of the short side at most | The first number ties the radius to the hand, the second keeps it inside the scene. The radius never goes below 40 px. |
Alternation in demo (JS — (this.cycle % 11) < 6.5) |
6.5 s of circles, 4.5 s of fire | Replace the condition with true to keep both circles at all times without a camera, with false to show only the fire. |
Fire density (JS — 170 * a * dt, cap 240) |
170 nodes per second, 240 at most | Fewer nodes give an airier fire and lighten the computation, which compares nodes in pairs. |
Fire colours (JS — COLS) |
pale yellow, orange, red | Three colours as R, G, B values, from the base of the flames to their tip. The circles have their own, written in each glowStroke call. |
Ring speeds (JS — rA to rK) |
0.15 to 1.2 radians per second | One coefficient per ring; the sign gives the direction. Halve them all for a more solemn circle. |
Glyph alphabet (JS — seeded(20260924)) |
24 signs, always the same | Change the number to get another alphabet, just as stable from one load to the next. |
Circle opening (JS — / 0.7 in _circle) |
0.7 s | How long the circle grows and spins faster when it appears. |
Hero variant (HTML — .frc-kiosk, data-frc-start) |
to add to the HTML | Provided in the CSS: headline, text and button over a dark veil on the left; the button starts the camera. |
FAQ
render, the wantC variable is 1 when two hands are present and 0 otherwise: write 1 for circles from the first hand, 0 for fire on both. In demo, also pin the alternation ("Alternation in demo" setting), otherwise the second hand keeps fading out.scene.frcBase.effect.cEnv: 0 for fire, 1 for circles, in-between values during the fade. effect.lastCircles gives the centre and radius of each circle drawn on the last frame, handy to anchor an element of your page to it. The effect fires no event: read these values again every 100 ms or so, like the first example.