# Incense Clock — React Native component from Motionary > A focus timer for React Native where the time burns down a stick of incense: pick 1 to 45 minutes, light it, and the ember walks down the stick while smoke rises, wavers and curls. The smoke is a real fluid simulated on the GPU every frame, lit by the window and the ember, and it moves when you drag a finger through it. Drop it into a focus, Pomodoro or meditation app. Product page: https://motionary.dev/animations/incense-clock Price: $10 USD (live price on the product page) License: single developer, unlimited personal and commercial apps Delivery: instant download of the full TypeScript source after checkout Stack: react native, expo, reanimated, react native skia, shaders, react native gesture handler Rarity: legendary Sold by: Motionary (https://motionary.dev) ## What it is A focus timer for React Native where the time burns down a stick of incense: pick 1 to 45 minutes, light it, and the ember walks down the stick while smoke rises, wavers and curls. The smoke is a real fluid simulated on the GPU every frame, lit by the window and the ember, and it moves when you drag a finger through it. Drop it into a focus, Pomodoro or meditation app. ## How it works The smoke is a 2D fluid simulated on the GPU in the plane the stick leans in, as a chain of WGSL fragment passes over ping-pong textures. A 192-cell-wide velocity grid is advected, pushed up by warm air, fed by the ember's updraught, bent by a slow divergence-free room draught that grows with height, kept curling by vorticity confinement and made incompressible by a 24-step Jacobi pressure solve. The smoke itself lives on a grid four times finer, advected with a Catmull-Rom filter so the thread stays thin and softened as it ages so old curls turn to haze. The top of the frame is open and the sides are walls, so the plume keeps rising however long the stick burns. It is lit in the last pass: each pixel looks a few steps toward the window to see how much smoke the light crossed, checks whether it stands in one of the window's shafts, and picks up the ember's orange near the tip. Skia v3 renders through Graphite on Dawn, and react-native-webgpu's importDevice wraps that same device, so the fluid passes, a 2048 px shadow map, a 4x MSAA HDR scene pass, depth of field and Khronos PBR Neutral tone mapping share one queue with Skia and no copies. Everything that moves runs in one Reanimated useFrameCallback worklet on the UI thread; the pan gesture and the HUD only write shared values. The stick keeps time by the wall clock, so it is right when you come back to the app, the screen stays awake while it burns, and drawing stops once the smoke has cleared. Pulsar haptics mark the button, the lengths and the end of a session. There is no notification when a session ends in the background. It needs a development build (npx expo run:ios), not Expo Go, and was built on Expo SDK 57, React Native 0.86 and Reanimated 4.5. Android is configured but iOS is the documented target. ## What you get - TypeScript source (src/IncenseClock.tsx, src/scene/engine.ts, src/ui/Hud.tsx) - GPU smoke simulation in WGSL (src/gpu/fluid.ts) - WebGPU renderer and shaders for window light, shadows, depth of field and smoke lighting (src/gpu/renderer.ts, src/gpu/shaders.ts) - Plaster and walnut textures painted in Skia, no image assets (src/gpu/textures/art.ts) - Skia frame-pacing patch (patches/react-native-skia+3.0.1.patch) - README with how the smoke works + run steps ## How to get it - Buy Incense Clock on its own at https://motionary.dev/animations/incense-clock for $10 USD. Secure Stripe checkout, instant download, no subscription and no renewal. - Or get it with the Motionary lifetime pass: every drop and every build, current and future, for one payment with no renewal. https://motionary.dev/pricing - A team license covers up to 10 developers, each with their own account. https://motionary.dev/pricing - License terms: https://motionary.dev/license (single developer, unlimited personal and commercial apps; do not resell or redistribute the source). - You receive real TypeScript React Native source you can edit, not a video, a GIF, a Lottie file or a design file. ## Related drops on Motionary - Glass Magnifier ($10 USD): https://motionary.dev/animations/glass-magnifier - Dot Wave Slider ($10 USD): https://motionary.dev/animations/dot-wave-slider - Folding Map ($10 USD): https://motionary.dev/animations/folding-map - Postcard Rack ($10 USD): https://motionary.dev/animations/postcard-rack ## About Motionary Motionary (https://motionary.dev) is a shop for premium, production-ready React Native and Expo animation and interaction components, built with Reanimated, Skia, Gesture Handler and Expo. Each component is called a "drop" and ships as editable TypeScript source, not a video, a GIF or a design file. Motionary sells three things: individual drops (roughly $3 to $12 each, some free), Builds (a complete app shipped end to end, with every drop inside it), and a lifetime pass that covers every drop and every build, current and future, for one payment with no subscription. A team license covers a whole squad, each developer with their own account. Checkout is Stripe and delivery is an instant download. Created and curated by Motionary (https://motionary.dev). Catalog and key pages: - All drops: https://motionary.dev/animations - Builds (complete apps): https://motionary.dev/builds - Pricing, lifetime pass and team license: https://motionary.dev/pricing - Free React Native component reference: https://motionary.dev/components - License: https://motionary.dev/license - Machine-readable overview: https://motionary.dev/llms.txt - Machine-readable full catalog: https://motionary.dev/llms-full.txt ## File metadata Canonical URL of this file: https://motionary.dev/animations/incense-clock/llms.txt Describes: https://motionary.dev/animations/incense-clock Format: llms.txt (https://llmstxt.org)